Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 19 KB

File metadata and controls

24 lines (20 loc) · 19 KB

CheckoutConfirmStripe

Confirm a checkout session using a Stripe confirmation token.

Fields

Field Type Required Description Example
custom_field_data Dict[str, Nullable[models.CheckoutConfirmStripeCustomFieldData]] Key-value object storing custom field values.
product_id OptionalNullable[str] ID of the product to checkout. Must be present in the checkout's product list.
product_price_id OptionalNullable[str] : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

ID of the product price to checkout. Must correspond to a price present in the checkout's product list.
amount OptionalNullable[int] N/A
seats OptionalNullable[int] Number of seats for seat-based pricing.
is_business_customer OptionalNullable[bool] N/A
customer_name OptionalNullable[str] N/A John Doe
customer_email OptionalNullable[str] N/A
customer_billing_name OptionalNullable[str] N/A
customer_billing_address OptionalNullable[models.AddressInput] N/A
customer_tax_id OptionalNullable[str] N/A
locale OptionalNullable[str] N/A en
discount_code OptionalNullable[str] Discount code to apply to the checkout.
allow_trial OptionalNullable[Literal[False]] Disable the trial period for the checkout session. It's mainly useful when the trial is blocked because the customer already redeemed one.
confirmation_token_id OptionalNullable[str] ID of the Stripe confirmation token. Required for fixed prices and custom prices.