Create a checkout
Creates a checkout link that generates a URL for a customer to complete a purchase
Authentication
AuthorizationBearer
API Key authentication using Bearer token
Request
Body
products
successUrl
customerId
externalCustomerId
External customer identifier. Creates the customer on first use, resolves to the existing customer on subsequent uses.
cancelUrl
expiresAt
metadata
collectAddress
collectPhone
singleUse
currency
Lock checkout to a specific currency. Omit to allow all currencies supported by the selected plans. If the checkout is for a customer with an active subscription, the currency must match that subscription’s currency — subscriptions cannot change currency.
customCards
Additional informational pricing cards rendered alongside the plans.
Response
201
id
url
status
products
customerId
externalCustomerId
successUrl
cancelUrl
expiresAt
metadata
collectAddress
collectPhone
singleUse
allowedCurrencies
createdAt
updatedAt
customCards
Additional informational pricing cards rendered alongside the plans.
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error