Update a checkout
Updates a checkout. Omitted fields are left unchanged, and checkout sessions already created keep the settings they were created with. Returns 400 if settlementAccountId or shippingOptions is sent for a TOP_UP checkout, or the settlement account is not APPROVED or is in another currency, and 404 if the checkout or settlement account is not on the account.
Authorizations
Path Parameters
The ID of a checkout: the configured payment page a checkout session is taken on.
36"6f1c2d0e-7a4b-4e2f-9c1d-3b5a7e9f0a12"
Query Parameters
The ID of the account to work with.
"F50091"
Body
Body
The merchant's name for the checkout. Never shown to payers.
1 - 64"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"
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. null clears it.
^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|\d{3}))?$"en-GB"
SHOPPING only. The APPROVED settlement account, in the checkout's currency, that sessions pay into. null switches to the default settlement account.
36"5c8e2a1f-9d4b-4f7a-8e3c-1b6d0f2a9e64"
SHOPPING only. Replaces the shipping options as a whole.
Response
OK
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.