On This Page
Sessions API - Capture Context
This section contains the information you need to request the capture context using the
sessions
API.The capture context request contains all of the merchant-specific parameters that tell the
frontend JavaScript library how to behave within your payment experience.
The capture context is a signed JSON Web Token (JWT) containing this 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 capture context request includes these elements:
- allowedCardNetworks
- allowedPaymentTypes
- clientVersion
- targetOrigins
For information on JSON Web Tokens, see JSON Web Tokens.
IMPORTANT
When integrating with
Cybersource
APIs, Cybersource
insists that you dynamically parse
the response for the fields that you are looking for. Additional fields may be added in
the future. You must ensure that your integration can handle new fields that are
returned in the response. While the underlying data structures will not change, you must
also ensure that your integration can handle changes to the order in which the data is
returned.