On This Page
Sessions API
Use the sessions API to generate a capture context. The capture context contains all
of the merchant-specific parameters that tell the front-end JavaScript library what to
do within your payment experience.
Capture Context Components
Capture context is a signed JSON Web Token (JWT) containing the following
information:
- Merchant-specific parameters that dictate the customer payment experience for the current payment transaction.
- A one-time public key that secures the information flow during the current payment transaction.
The request provides authentication, one-time keys, in addition to allowed card
networks and payment types.
These are the minimum required elements for capture context:
- allowedCardNetworks
- amountDetails
- billingType
- country
- currency
- data.orderInformation.amountDetails.totalAmount
- data.orderInformation.amountDetails.currency
- locale
- totalAmount
- version