Checkout
A Customer token generated using an API Key in the format 'Customer TOKEN_HERE'.
The IP address (IPv4 or IPv6) of the customer. Required if the request is not being made from the customer's browser.
The customer's country code in ISO 3166-1 alpha-2 format. Optional, but recommended if you have this available.
^[A-Z]{2}$Request to create a new checkout session
Whether this checkout creates a subscription. DEPRECATED: Use 'subscription' field in 'lines' array objects instead.
411486491630370816Optional affiliate code to track referrals
Optional URL to redirect to after successful checkout
Optional URL to redirect to if checkout is canceled
Whether to automatically redirect the customer (return_url must be set)
OK
Response after creating a checkout session
411486491630370816The token for the checkout session
The URL to redirect the customer to complete checkout
Error response
Last updated
Was this helpful?
