On This Page
Validate a One-Time Password or Issuer Authentication Code
This section describes how to validate one-time passwords (OTPs) and issuer
authentication codes. When the cardholder receives their OTP by means of their
selected method (SMS, email, or online banking) or an issuer authentication code
from their banking application, you can verify the OTP or issuer authentication code
by including it in the endpoint here.
Endpoint
Test:
POST
https://apitest.visaacceptance.com
/tms/v2/tokenized-cards/{tokenId}
/authentication-options/validateProduction:
POST
https://api.visaacceptance.com
/tms/v2/tokenized-cards/{tokenId}
/authentication-options/validateThe is the identifier of the tokenized card.
{tokenId}
Required Field for Validating an OTP or Issuer
Authentication Code
- clientCorrelationId
- Set to the client reference ID.
- issuerAuthCode
- Required whenotpis not included in the request.
- otp
- Required whenissuerAuthCodeis not included in the request.
- stepUpOption.id
REST Example: Validating an OTP or Issuer Authentication
Code
Request
{ "clientCorrelationId": "aB3cD4eF5gH6iJ7kL8mN9oP0qR1sT2uV3wX", "stepUpOption": { "id": "YWEwMjFhZmFkZDU4ZWI0NDJjYTM0MzY4OTY1YjdhMDE=" }, "otp": "456789", "issuerAuthCode": "HTZlY2YwOWQ3MDZmYWZj4GMww2Y0YjllZWFkODZkHJI=" }
Response to a Successful Request
{ "action": "AUTHENTICATION_REGISTRATION" }