The ID of the account for this checkout session.
CheckoutSession
Total of all items, in currency minor units.
CheckoutSession
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.
CheckoutSession
Time at which the object was created.
CheckoutSession
Optional
customer_The customer details.
CheckoutSession
Optional
customer_The ID of the customer for this checkout session.
CheckoutSession
Optional
expires_The due date for the checkout session. After this date the customer will no longer be able to complete the checkout session.
CheckoutSession
Unique identifier for the object.
CheckoutSession
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.
CheckoutSession
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
."
CheckoutSession
The ID of the payment intent for checkout session.
CheckoutSession
A list of the types of payment methods (e.g. card) this checkout session is allowed to accept.
CheckoutSession
The status of the checkout session, one of open
, complete
or expired
. open
The checkout session is still in progress. Payment processing has not started. complete
The checkout session is complete. Payment processing may still be in progress. expired
The checkout session has expired. No further processing will occur.
CheckoutSession
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.
CheckoutSession
Time at which the object was last updated.
CheckoutSession
The URL to the checkout session. Redirect customers to this URL to take them to checkout.
CheckoutSession
Generated using TypeDoc
Export
CheckoutSession