The integration flow consists of two events that must occur in order.
- You send a server-to-server request for a capture context. This request is fully authenticated for the JSON Web Token (JWT) and is necessary in order to invoke the front-end JavaScript library.
- You invoke theUnified CheckoutJavaScript library using the JWT response from the capture context request.
The figure below illustrates the
Unified Checkout
payment flow.Figure:
Unified Checkout Payment Flow

Server-Side Setup
The server-side component provides this information:
- A transaction-specific public key. This key is used by the customer's browser to protect theUnified Checkouttransaction.
- An authenticated context description package that manages the payment experience on the client. It includes payment options available, payment interface styling, and interaction methods.
The functions are compiled in a JSON Web Token (JWT) object referred to as the
capture context
.