REST API

Step 1: Setup Service

Request the Setup service before selecting the button to submit payment. Request the Setup service separately without including other services. The Setup service response will include a JSON Web Token (JWT) that contains credentials to create a secure channel with the merchant. The Setup response also includes a reference ID to use during the authentication and a URL to use when transferring the device data that is collected in the next step.
IMPORTANT
The Setup service is only used in the Direct API integration. The SDK integration does not use this step.
Run the Setup service as soon as the customer enters their card number, to avoid any delay in the customer experience. The next step in the process, device data collection, cannot start until the Setup response is received since the response has the URL where the device data will be sent.
Process Flow for Setup for Payer Authentication
Process Flow Diagram for Setup for Payer Authentication

Best Practices

This practice should be followed for this step to achieve optimal performance and to minimize potential operating issues.
  • After the customer credit card is entered, immediately begin device data collection.