Skip to main content
GET
Retrieve a client session

Authorizations

X-API-KEY
string
header
required

Query Parameters

clientToken
string
required

Client token

Response

Successful Response

customerId
string

A unique identifier for your customer.

orderId
string

Your reference for the payment.

currencyCode
string

The 3-letter currency code in ISO 4217 format. e.g. use USD for US dollars.

amount
integer<int64>

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.

Required range: x >= 0
metadata
Payment Metadata · object

Additional data to be used throughout the payment lifecycle.

customer
Customer Details · object

More information associated with the customer.

order
Order Details · object

More information associated with the order.

paymentMethod
Payment Method Options · object

Enable certain options associated with the payment methods.

warnings
ClientSessionWarningsAPIResponse · object[]

Warning messages to indicate missing information that are required for payment methods, checkout modules and other features; or when third-party services are unavailable.