On This Page
Create a One-Time Password for Tokenized Card Authentication
This section describes how to create a one-time password (OTP) for a tokenized card.
Before you send this request, you must receive the
STEP_UP_AUTHENTICATE
value in the action
field from the create tokenized card authentication options
request. For more
information see Create Tokenized Card Authentication Options.The issuer is notified when the
stepUpOptions.method
field is set
to one of these values:- OTP_SMS
- OTP_EMAIL
- OTP_ONLINE_BANKING
Endpoint
Test:
PUT
https://apitest.cybersource.com
/tms/v2/tokenized-cards/{tokenId}
/authentication-options/one-time-passwordsProduction:
PUT
https://api.cybersource.com
/tms/v2/tokenized-cards/{tokenId}
/authentication-options/one-time-passwordsProduction in India:
PUT
https://api.in.cybersource.com
/tms/v2/tokenized-cards/{tokenId}
/authentication-options/one-time-passwordsThe is the identifier of the tokenized card.
{tokenId}
Required Field for Creating an OTP for Tokenized Card
Authentication
- clientCorrelationId
- Set to the client reference ID.
- stepUpOption.id
Related Information
REST Example: Creating an OTP for Tokenized Card
Authentication
Request
{ "clientCorrelationId": "aB3cD4eF5gH6iJ7kL8mN9oP0qR1sT2uV3wX", "stepUpOption": { "id": "YWEwMjFhZmFkZDU4ZWI0NDJjYTM0MzY4OTY1YjdhMDE=" } }
Response to a Successful Request
{ "maxRequestsAllowed": 0, "maxVerificationAllowed": 0, "codeExpiration": 0 }