POST
/
v2
/
checkout

Headers

x-site-context
string
required

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
string | null

Authorization token for the user

Body

application/json

Checkout request payload

cartId
string
required

Unique cart ID

estimatedTax
object
required

Estimated tax details imposed on cart-items and location to which the items are shipped.

paymentDetails
object[]
required
customerAccountId
string | null

Merchant account ID that is used in x-site-context

customerEmail
string | null

Email address of the customer

customerName
object

Name of the individual used for for billing address

customerPhoneNumber
object

Customer phone details

employeeId
string | null

employeeId who helped during Checkout

notes
object[]
orderSequence
object

Order sequence details

orderSubType
string | null

OrderSubType (Android/IOS/International etc)

orderType
string | null

Order Type (WEB, CSC, MOBILE_APP, POS etc)

shipFrom
object

shipping details for the cart

Response

200 - application/json

Checkout response details

checkoutComplete
boolean

Status of checkout.<br />true = Checkout is complete<br />false = Checkout is not complete

orderId
string | null

Order ID

paymentResp
object

Payment mismatch response details. It is displayed when totalAmountCapturable and orderTotal are different. The user must authorize to pay total amount of the order.

pointOfFailure
enum<string>

Checkout dependency failure if checkout is failed due to any of the reasons from the specified values.

Available options:
CART,
PAYMENT,
ORDER