Skip to main content
POST
Create checkout session

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the basket to retrieve

Body

application/json
successUrl
string<uri>
required

The URL to redirect to after a successful payment. A ?purchase= query parameter will be appended to this URL containing the ID of the resulting purchase.

Response

The response containing the checkout URL

url
string<uri>
required

The URL to redirect the user to for checkout