clientToken
, a temporary key used to initialize Universal Checkout.
The information you include in the client session is used in the Dashboard:
clientToken
is a key concept within Primer. You may receive a client token from various places but as long as you pass it to the SDK, Universal Checkout knows where to start/resume the flow.Field | Description |
---|---|
orderId | Your reference for the payment. Make sure to keep track of orderId - you will later receive updates to the payment via Webhooks. The payment will contain the orderId specified in the client session. |
currencyCode | The three-letter currency code in ISO 4217 format. e.g. use USD for US dollars. |
order.lineItems | The details of the line items of the order. |
clientToken
is a temporary key, it has an expiration time of 24 hours.refreshClientSession()
to ask Universal Checkout to get the latest client session.
With Drop-in Checkout: