On This Page
Capture Context
The capture context request is a signed JSON Web Token (JWT) that includes all of the
merchant-specific parameters. This request tells the frontend JavaScript library how
to behave within your payment experience. The request provides authentication,
one-time keys, in addition to allowed card networks and payment types. The capture
context, at a minimum, requires these elements:
- allowedCardNetworks
- amountDetails
- billingType
- country
- currency
- data.orderInformation.amountDetails.totalAmount
- data.orderInformation.amountDetails.currency
- locale
- totalAmount
- version
Capture Context Example
{ // -------- REQUIRED VALUES ---------- "data": { "orderInformation": { "amountDetails": { "totalAmount": "123.94", "currency": "USD" } } }, "allowedCardNetworks": [ "VISA", "MASTERCARD", "AMEX" ], "billingType": "FULL", "country": "US", "locale": "en_US", "version":"0.6" }