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. For information on JSON Web Tokens, see JSON Web Tokens.
You can define the payment cards and digital payments that you want to accept in the capture context. Use the
field to define the card types.
Available card networks for card entry:
  • American Express
  • Diners Club
  • Discover
  • JCB
  • Mastercard
  • Visa
Click to Pay
supports American Express, Mastercard, and Visa for saved cards.
Use the
field to define the digital payment methods.
{ "targetOrigins" : [ "" ], "clientVersion" : "0.19", "allowedCardNetworks" : [ "VISA", "MASTERCARD", "AMEX" ], "allowedPaymentTypes" : ["CLICKTOPAY"], "country" : "US", "locale" : "en_US", "captureMandate" : { "billingType" : "FULL", "requestEmail" : true, "requestPhone" : true, "requestShipping" : true, "shipToCountries" : [ "US", "GB" ], "showAcceptedNetworkIcons" : true }, "orderInformation" : { "amountDetails" : { "totalAmount" : "1.01", "currency" : "USD" }, } }
This diagram shows how elements of the capture context request appear in the card entry form.


Anatomy of a Manual Card Entry Form
Image of the capture context request code and how it appears in the
                    entry form elements.
For more information on requesting the capture context, see Capture Context API.