Skip to main content
POST
/
{version}
/
sessions
/
checkout
Create Checkout Session
curl --request POST \
  --url https://api.example.com/{version}/sessions/checkout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "source_id": 123,
  "source_type": "<string>"
}
'
{
  "id": 123,
  "source_id": 123,
  "source_type": "<string>",
  "status": "<string>",
  "expires_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "payment_account_id": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

version
string
required
Allowed value: "v1"

Body

application/json

CreateCheckoutSessionPayload

source_id
integer
required
source_type
string
required

Response

Successful Response

CheckoutSessionResponse

id
integer
required
source_id
integer
required
source_type
string
required
status
string
required
expires_at
string<date-time>
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
payment_account_id
Last modified on June 23, 2026