Checkouts
Create Checkout
Creates a new checkout. Returns a payment URL to redirect your customer to. Each checkout is single-use.
POST
Create Checkout
Authorizations
A JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Generate Bearer Token section of our Authentication docs for information on how to generate your Bearer Token.
Headers
An optional UUID v4 request header for making requests safely retryable.
Required string length:
36Pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$Body
application/json
Request to create a checkout.
Response
Checkout created successfully.
The status of the payment.
ACTIVEThe payable endpoint is active and can accept payments.PROCESSINGThe payment is being processed.DEACTIVATEDThe payable endpoint has been manually deactivated.EXPIREDThe payable endpoint has expired based on the expiresAt timestamp.COMPLETEDThe payable endpoint has been successfully paid.FAILEDThe payment has failed due to a payment error.REFUNDEDThe payment has been fully refunded.PARTIALLY_REFUNDEDThe payment has been partially refunded.
Available options:
ACTIVE, PROCESSING, DEACTIVATED, EXPIRED, COMPLETED, FAILED, REFUNDED, PARTIALLY_REFUNDED Example:
"ACTIVE"