Skip to main content
POST

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Headers

x-cms-token
string
required

Buyer session token: the token query parameter of the checkout URL that /checkout/init redirects to.

Body

application/json
checkoutSessionId
string
required
paymentInstrumentId
string
returnUrl
string
metadata
object
draft
boolean
default:false
initiatedBy
enum<string>
default:customer
Available options:
customer,
merchant
source
enum<string>
default:checkout
Available options:
upsell,
checkout,
offer,
missing_club,
forced
paymentFlowId
string
processorId
string
paymentMethod
string
isExpress
boolean
shippingRateId
string
threedsSessionId
string
blikCode
string
Required string length: 6
customer
object

The shopper behind this call, as seen by YOUR server. Read only when the call carries your API key in Authorization: Bearer; without the key it is ignored and the shopper is the caller. Your server's own address is never taken for the shopper's.

Response

Successful response