Retrieve a client session
This API call retrieves all the details associated with the client session corresponding to the client token that is provided in the request. The fields with empty values are excluded from the response.
Headers
X-API-KEY
Query parameters
clientToken
Client token corresponding to the client session to retrieve
Response
Successful Response
customerId
A unique identifier for your customer.
orderId
Your reference for the payment.
amount
The amount you are going to charge the customer, in minor units. This amount is calculated from the line items, shipping and other amounts provided in the order
.
If a top-level amount is provided, it would override any calculated amount.
metadata
Additional data to be used throughout the payment lifecycle.
customer
More information associated with the customer.
order
More information associated with the order.
paymentMethod
Enable certain options associated with the payment methods.