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
}sessions
Create Checkout Session
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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Allowed value:
"v1"Last modified on June 23, 2026
Was this page helpful?
⌘I
