> 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/postinscripcion/gestion-del-ciclo-de-vida-del-token/renovar-tokens-desde-el-tsp.md).

# Renovar tokens desde el TSP

La renovación de tokens se aplica solo a tokens existentes. Estos tokens ya están aprovisionados y activados en una aplicación de billetera digital.

Acorde con su red de pago sobre la **LCM** política a aplicar a los tokens emitidos. Basándose en esa política, el **TSP** emite tokens con una fecha de caducidad apropiada.

Cuando un token caduca, la red de pago **TSP** puede reprovisionarlo. Aprovisiona un nuevo token con una nueva fecha de caducidad.

Puede optar por recibir una devolución de llamada cuando la renovación se complete (o falle).

### Flujo

Este diagrama muestra el flujo de renovación de tokens. También muestra la devolución de llamada utilizada para confirmar el resultado.

<figure><img src="https://3204989413-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3OvNtPk6hurTTvkKLzkK%2Fuploads%2FBgNeZLBx0aqizym01YnH%2FToken-renewal.png?alt=media&amp;token=6ba42d5b-e73a-4033-9411-8d763cff0f54" alt="Payment network TSP token renewal flow."><figcaption><p>Renovación de token iniciada por el TSP de la red de pago.</p></figcaption></figure>

### Gestione la devolución de llamada

Cuando la renovación se complete (o falle), recibe `notifyVirtualCardChange`.

Vea [`notifyVirtualCardChange`](https://thales-dis-dbp.stoplight.io/docs/digital-payment/b3A6MjU4Nzg1MjE-notify-issuer-about-any-virtual-card-token-change).

**notifyVirtualCardChange** parámetros:

| Parámetro          | Descripción                                                                                   |
| ------------------ | --------------------------------------------------------------------------------------------- |
| `x-correlation-id` | Relaciona esta devolución de llamada con la operación de renovación de token correspondiente. |
| `virtualCardId`    | Identifica el token actualizado.                                                              |
| `acción`           | Especifica la acción realizada. Para la renovación de tokens, el valor es `RENEW`.            |

{% hint style="info" %}
Manejar `notifyVirtualCardChange` de forma idempotente. Las devoluciones de llamada pueden duplicarse o retrasarse.

Esto actualmente se aplica a:

* Mastercard
* Visa
  {% endhint %}

### Documentación relacionada

* [Actualizar el estado del token desde el backend del emisor](/classic-tokenization/es/casos-de-uso/postinscripcion/gestion-del-ciclo-de-vida-del-token/actualizar-el-estado-del-token-desde-el-backend-del-emisor.md)
* [Actualizar el estado del token desde el proveedor de la billetera](/classic-tokenization/es/casos-de-uso/postinscripcion/gestion-del-ciclo-de-vida-del-token/actualizar-el-estado-del-token-desde-el-proveedor-de-la-cartera.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.payments.thalescloud.io/classic-tokenization/es/casos-de-uso/postinscripcion/gestion-del-ciclo-de-vida-del-token/renovar-tokens-desde-el-tsp.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
