REST API

Server-Side Setup

Initializing
Unified Checkout
within your webpage begins with a server-to-server call to the sessions API. This step is used to authenticate your merchant credentials, as well as set how the
Unified Checkout
frontend components will function. The sessions API request contains parameters that define how
Unified Checkout
will perform.
The server-side component provides this information:
  • A transaction-specific public key. This key is used by the customer's browser to protect the transaction.
  • An authenticated context description package that manages the payment experience on the client. It includes payment options available such as card networks, payment interface styling, and interaction methods.
The functions are compiled in a JSON Web Token (JWT) object referred to as the
capture context
. For information JSON Web Tokens, see JSON Web Tokens.