Skip to main content
POST
Completes cart checkout

Path Parameters

cart_token
string
required

Body

application/json

Optional. Other submit-time fields (fraud session, device data, browser info, accepted agreements) are accepted as well; the pair below is the one worth always sending.

expected_total
string

The cart total the client showed the shopper, as a decimal string in the cart currency's major unit ("141.74"), taken from amount_total of the cart the client last rendered. Requires expected_currency.

Pattern: ^\d{1,12}(\.\d{1,5})?$
Example:

"141.74"

expected_currency
string

ISO 4217 code of the currency the shopper was shown. Requires expected_total.

Example:

"USD"

Response

object | null

Success

order
object · null · null
meta
object · null · null