Create a checkout
Creates a checkout: the configured payment page that checkout sessions are taken on. Its type and currency are fixed once created. A SHOPPING checkout pays into a settlement account; a TOP_UP checkout pays into the payee each session names. Returns 400 if the account has no APPROVED settlement account, or the settlement account is not APPROVED or is in another currency, and 404 if the settlement account is not on the account. Event notifications are configured as CIS webhooks, not on the checkout.
Authorizations
Query Parameters
The ID of the account to work with.
"F50091"
Body
Body
- Option 1
- Option 2
SHOPPING The merchant's name for the checkout. Never shown to payers.
1 - 64"Online shop"
The currency the checkout takes payments in. Cannot be changed later.
GBP, EUR "GBP"
Where the payer is sent once a checkout session ends, unless the session sets its own.
2048^https:\/\/"https://shop.example.com/checkout/complete"
Default locale for payer-facing screens. Omit to let the payer's browser decide.
^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|\d{3}))?$"en-GB"
The APPROVED settlement account, in the checkout's currency, that sessions pay into. Omit to use the default settlement account.
36"5c8e2a1f-9d4b-4f7a-8e3c-1b6d0f2a9e64"
Omit to collect no shipping address.
Response
Created
The ID of a checkout: the configured payment page a checkout session is taken on.
36"6f1c2d0e-7a4b-4e2f-9c1d-3b5a7e9f0a12"
The type of checkout session the checkout takes. Fixed at creation.
SHOPPING, TOP_UP "SHOPPING"
The merchant's name for the checkout. Never shown to payers. null when none was stored.
1"Online shop"
Only an ACTIVE checkout can take new checkout sessions; sessions already created can still complete. The merchant switches between them.
ACTIVE, DEACTIVATED "ACTIVE"
The currency the checkout takes payments in. Fixed at creation.
GBP, EUR "GBP"
The settlement account SHOPPING sessions pay into. null uses the default settlement account; always null for TOP_UP, whose sessions pay into a payee.
36"5c8e2a1f-9d4b-4f7a-8e3c-1b6d0f2a9e64"
Shipping collection for SHOPPING checkouts. Always null for TOP_UP.
Where the payer is sent once a checkout session ends, unless the session sets its own.
2048^https:\/\/"https://shop.example.com/checkout/complete"
Default locale for payer-facing screens. A session's own locale overrides it. null lets the payer's browser decide, with en-GB as the final fallback.
^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|\d{3}))?$"en-GB"
The date the Resource was initially created. ISO 8601 format without milliseconds.
The date the Resource was last modified. ISO 8601 format without milliseconds.