Create checkout
Create checkout operation on all the items of a specific cart which is identified by a unique cartId
. Along with cartId
, checkout operation includes merchant account Id, amount to be paid, tax to be imposed on cart items and shipping address, and some other details.
Headers
The x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
Authorization token for the user
Body
Checkout request payload
Unique cart ID
Estimated tax details imposed on cart-items and location to which the items are shipped.
Merchant account ID that is used in x-site-context
Email address of the customer
Name of the individual used for for billing address
Customer phone details
employeeId who helped during Checkout
Order sequence details
OrderSubType (Android/IOS/International etc)
Order Type (WEB, CSC, MOBILE_APP, POS etc)
shipping details for the cart
Response
Checkout response details
Status of checkout.<br />true = Checkout is complete<br />false = Checkout is not complete
Order ID
Payment mismatch response details. It is displayed when totalAmountCapturable
and orderTotal
are different. The user must authorize to pay total amount of the order.
Checkout dependency failure if checkout is failed due to any of the reasons from the specified values.
CART
, PAYMENT
, ORDER
Was this page helpful?