REST API

Unified Checkout
Flow

To integrate
Unified Checkout
into your platform, you need to follow several integration steps. This section gives a high-level overview of how to launch
Unified Checkout
on your web page and process a transaction using the data that
Unified Checkout
collects for you. This section provides you with an overview of the integration. You can find the detailed specifications of the APIs later in this document.
The integration flow consists of three events:
  1. Send a server‑to‑server API request for a capture context. This request is fully authenticated and returns a JSON Web Token (JWT) that is necessary to invoke the frontend JavaScript library. For information on setting up the server side, see Server-Side Setup.
  2. Invoke the
    Unified Checkout
    JavaScript library using the JWT response from the capture context request. For information on setting up the client side, see Client-Side Setup.
  3. Process the payment.
If you want to retrieve the billing and shipping information captured by
Unified Checkout
you can use the payment details API.
The figure below illustrates the
Unified Checkout
payment flow.

Figure:

Unified Checkout Payment Flow
Diagram that shows the sequence and flow of a Unified Checkout payment.