Create an order token to initiate the checkout process. This token is used to reference the cart generated in your storefront.
The Signing Secret found in the Key section must also be used to authenticate payloads sent by Bolt.
|X-Api-Key||Provide the API_KEY|
|X-Nonce||unique 12-16 digit for every request (UUID is a good option)|
|Environment||Bolt API URLs|
See the Official API Reference for a request example.
Check for a
HTTP 200 success code and that the response contains an order token.
Ensure that the
order_reference value corresponds to the unique cart ID value provided in the request and that the
cart_url matches as well.
Ensure the following for each item and its values:
tax_amountmust be in cents
(quantity X unit_price) + tax_amount