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
Name of the individual used for for billing address
Email address of the customer
Customer phone details
shipping details for the cart
Order Type (WEB, CSC, MOBILE_APP, POS etc)
OrderSubType (Android/IOS/International etc)
Order sequence details
employeeId who helped during Checkout
Response
Checkout response details
Status of checkout.<br />true = Checkout is complete<br />false = Checkout is not complete
Order ID
Checkout dependency failure if checkout is failed due to any of the reasons from the specified values.
CART
, PAYMENT
, ORDER
Payment mismatch response details. It is displayed when totalAmountCapturable
and orderTotal
are different. The user must authorize to pay total amount of the order.
Was this page helpful?