On This Page

{#jumplink-list}  
[Markdown](/docs/vas/en-us/intelligent-commerce/developer/all/rest/intelligent-commerce/intelligent-commerce-intro-requirements/intelligent-commerce-passkey-intro/tms-net-tkn-card-otp-intro.md)  
Filter  
FILTER BY TAG

Create a One-Time Password for Tokenized Card Authentication {#tms-net-tkn-card-otp-intro}
==========================================================================================

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](/docs/vas/en-us/intelligent-commerce/developer/all/rest/intelligent-commerce/intelligent-commerce-intro-requirements/intelligent-commerce-passkey-intro/tms-net-tkn-card-authenticate-intro.md "").  
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:** `POST ``https://apitest.visaacceptance.com``/tms/v2/tokenized-cards/`*{tokenId}*`/authentication-options/one-time-passwords`  
**Production:** `POST ``https://api.visaacceptance.com``/tms/v2/tokenized-cards/`*{tokenId}*`/authentication-options/one-time-passwords`  
The *`{tokenId}`* is the identifier of the tokenized card.

Required Field for Creating an OTP for Tokenized Card Authentication {#tms-net-tkn-card-otp-reqfields}
======================================================================================================

clientCorrelationId
:
Set to the client reference ID.

stepUpOption.id
:

REST Example: Creating an OTP for Tokenized Card Authentication {#tms-net-tkn-card-otp-ex-rest}
===============================================================================================

Request

```
{
  "clientCorrelationId": "aB3cD4eF5gH6iJ7kL8mN9oP0qR1sT2uV3wX",
  "stepUpOption": {
    "id": "YWEwMjFhZmFkZDU4ZWI0NDJjYTM0MzY4OTY1YjdhMDE="
  }
}
```

{#tms-net-tkn-card-otp-ex-rest_codeblock_c51_vmt_gwb}  
Response to a Successful Request

```
{
  "maxRequestsAllowed": 0,
  "maxVerificationAllowed": 0,
  "codeExpiration": 0
}
```

RELATED TO THIS PAGE

