> For the complete documentation index, see [llms.txt](https://docs.payments.thalescloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payments.thalescloud.io/classic-tokenization/es/casos-de-uso/alta-de-tarjeta/flujo-generico-de-alta/paso-5-activar-el-token/opcion-b-activar-con-otp-por-sms-o-correo-electronico.md).

# Opción B: activar con OTP por SMS o correo electrónico

Use esta opción cuando el backend del emisor devuelve `levelOfTrust=yellow`. El usuario final completa la autenticación step-up usando un OTP. El OTP se entrega por SMS o correo electrónico.

<figure><img src="/files/7995a7985aff820ab68537338e9db22b26c84258" alt="Token activation using SMS or email OTP."><figcaption><p>Activación de token usando OTP por SMS o correo electrónico.</p></figcaption></figure>

### Flujo

{% stepper %}
{% step %}

### 1. Devolver métodos OTP

Devolver `idvMethodList` en `requestCardDigitization` (paso 4). Incluir métodos OTP por SMS y/o correo electrónico.
{% endstep %}

{% step %}

### 2. Entregar el OTP

El Servicio de Tokenización llama `sendOTP` en el backend del emisor. Enviar el OTP al usuario final usando el canal seleccionado. No transformar el valor del OTP.
{% endstep %}

{% step %}

### 3. Completar la activación

El usuario final introduce el OTP en la aplicación wallet. El solicitante del token y la red de pago **TSP** lo validan. El Servicio de Tokenización activa el token.
{% endstep %}
{% endstepper %}

### Responsabilidades del backend del emisor

* Enviar el OTP al usuario final rápidamente.
* Aplicar sus controles antifraude y de limitación de tasa antes de enviar.
* Devolver un error cuando no pueda entregar el OTP.

Ver `sendOTP` en la [referencia de la API](/classic-tokenization/es/referencia-de-la-api/api-de-la-pasarela-del-emisor/salida-al-emisor.md).

### notifyVirtualCardChange al completar

El Servicio de Tokenización envía `notifyVirtualCardChange` después de la activación exitosa.

Ver `notifyVirtualCardChange` en la [referencia de la API](/classic-tokenization/es/referencia-de-la-api/api-de-la-pasarela-del-emisor/salida-al-emisor.md).

#### parámetros de notifyVirtualCardChange

| Parámetro          | Descripción                                                                                   |
| ------------------ | --------------------------------------------------------------------------------------------- |
| `x-correlation-id` | Contiene el mismo valor proporcionado en `requestCardEligibility`.                            |
| `virtualCardId`    | Identifica la tarjeta virtual actualizada.                                                    |
| `action`           | Se establece en `ACTIVATE`.                                                                   |
| `tokenInfo`        | Proporciona el DPAN y la fecha de caducidad en la activación (cuando los proporciona el TSP). |
| `isPrimary`        | Se establece en `true`.                                                                       |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.payments.thalescloud.io/classic-tokenization/es/casos-de-uso/alta-de-tarjeta/flujo-generico-de-alta/paso-5-activar-el-token/opcion-b-activar-con-otp-por-sms-o-correo-electronico.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
