Optional
cancel_If set, checkout will display a back button and customers will be directed to this URL if they decide to cancel payment and return to your website.
CheckoutSessionCreateParams
Optional
customer_If provided, this value will be used when the Customer object is created. If not provided, customers will be asked to enter their email address. Use this parameter to prefill customer data if you already have an email on file. To access information about the customer once a session is complete, use the customer_id field to fetch the customer.
CheckoutSessionCreateParams
Optional
customer_The ID of the customer for this checkout session.
CheckoutSessionCreateParams
Optional
expires_The due date for the checkout session. After this date the customer will no longer be able to complete the checkout session.
CheckoutSessionCreateParams
A list of items the customer is purchasing. The maximum is 100 line items, however it is recommended to consolidate line items if there are more than a few dozen.
CheckoutSessionCreateParams
Optional
metadataSet of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value (i.e. \'\'
or null
) to them. All keys can be unset by posting an empty value (i.e. {}
or null
) to metadata
.
CheckoutSessionCreateParams
A subset of parameters to be passed to the payment intent creation.
CheckoutSessionCreateParams
Optional
success_The URL to which we should send customers when payment is complete. It is recommended that you supply this value, but if none is provided, a generic success landing page will be used.
CheckoutSessionCreateParams
Generated using TypeDoc
Export
CheckoutSessionCreateParams