Skip to main content
After you registered devices for Strong Customer Authentication (SCA), you can use our API to:

Requirements

Ensure that your API credential has the following role:
  • Bank SCA Webservice Role

Get a list of registered devices

After the device is registered, you use the API to get information about the SCA device connected to a specific business account such as the device ID, the name of the device, and the type of the device. This information can be helpful for building user interfaces or for checking the payment instrument’s devices before associating more. To get a paginated list of the SCA devices registered for a specific business account:
  1. Make a GET /registeredDevices request. You can limit the amount of returned data by including the following query parameters: The following example shows a GET /registeredDevices request for the paymentInstrumentId PI00000000000000000000001. Example GET /registeredDevices request

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

  2. In the response, note the following parameters: Example GET /registeredDevices response

Associate business accounts to a registered device

After you register a device, you can connect additional payment instruments to the device using the Configuration API. This enables a single device to handle authentication for multiple payment instruments. You can associate up to five payment instruments to a device per /registeredDevices/{deviceId}/associations API request. Each payment instrument can only be linked to one device. To add payment instruments to a registered device:
  1. From your server, initiate the association by making a POST /registeredDevices/{deviceId}/associations request with the user’s device ID as a path parameter. In the request body, specify up to five payment instrument IDs in the ids array. Initiate the association

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

    The response contains a Base64-encoded string, which our Authentication SDKs uses to authenticate the requested association. You do not need to decode or validate this string. POST /association response
  2. Pass the resulting sdkInput to your client.
  3. On your client, initialize the SDK and call the authenticate() method using the sdkInput from your server as an argument. The authenticate() method prompts the user to respond to a challenge, for example, Touch ID, Face ID, or the device password.
If successful, the SDK generates a Base64-encoded sdkOutput data blob.