Welcome to our new developer portal! Use the "Ask" button to chat with our AI Agent.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Activate binding with OTP

One-time Password (OTP) is used as the ID&V method to activate a pending device binding.

This page continues the flow after Create device binding (yellow flow).

Prerequisites:

  • You already started createBinding or resumeBinding.

  • The issuer selected an OTP-based ID&V method (for example, OTP_SMS).

  • Your merchant application can collect an OTP from the end user.

Flow

OTP device binding flow.
Step
Description

1

The end user selects an OTP option (SMS, email or online banking).

2

The merchant application forwards the selection to the Thales backend.

3–5

Thales backend requests VTS and the issuer to deliver the OTP over the selected channel.

6

The end user enters the OTP in the merchant application. The merchant application owns the UI.

7–8

Thales backend validates the OTP with VTS and the issuer.

9

Thales SDK receives the result and activates the binding locally.

10

Thales backend notifies the merchant/PSP backend that the binding is active.

SDK integration

1. Select an OTP ID&V method

During createBinding or resumeBinding, select one of the OTP ID&V methods:

  • OTP_SMS

  • OTP_EMAIL

  • OTP_ONLINE_BANKING

Once the application submits the selected ID&V method successfully, the onIssuerAuthenticationReady callback will be returned to the application. Otherwise, an onError callback will be returned.

2. Activate the binding

Collect the OTP in your merchant application, then call activateBinding on the IDVSession.

The result is returned via onSuccess or onIssuerAuthenticationError.

If activation fails, use the IDVSession returned in onIssuerAuthenticationError to retry.

The result is returned in completionHandler.

If activation fails, completionHandler returns an IDVSession and an error for retry.

Last updated

Was this helpful?