> 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/posalta/gestion-del-ciclo-de-vida-de-la-tarjeta/actualizar-los-metadatos-de-la-tarjeta.md).

# Actualizar los metadatos de la tarjeta

El servicio de tokenización proporciona el [API UpdateCard](/classic-tokenization/es/referencia-de-la-api/api-de-la-pasarela-del-emisor/entrada-del-emisor.md) para actualizar o sobrescribir los metadatos del perfil de una tarjeta.

El backend del emisor suele usar esta API cuando necesita actualizar cómo aparece una tarjeta en xPay Wallets.

### Para qué se usan los metadatos de la tarjeta

Los metadatos de la tarjeta son información utilizada por xPay Wallets, por ejemplo:

* Mostrar detalles de la tarjeta (por ejemplo, el nombre del programa de la tarjeta).
* Configurar endpoints para notificaciones de transacciones e historial.
* Mostrar detalles de contacto y enlaces de la aplicación del emisor.

Envíe los campos de metadatos en el `objeto` metadata del cuerpo de la solicitud.

Ejemplo de cuerpo de la solicitud:

```json
{
  "issuerCardRefId": "string",
  "metadata": {
    "foregroundColor": "rgb(223355)",
    "backgroundColor": "rgb(223355)",
    "labelColor": "rgb(223355)",
    "shortDescription": "ACME Gold Card",
    "longDescription": "ACME Bank Gold card",
    "contactWebsite": "https://acme.com/contacts",
    "contactEmail": "contacts@acme.com",
    "contactNumber": "+33645878741",
    "privacyPolicyURL": "https://acme.com/contacts"
  }
}
```

<figure><img src="/files/6d7010fe028a780cd0241c011ce1fbccfdba64cc" alt=""><figcaption><p>Ejemplo de solicitud UpdateCard con campos de metadatos de la tarjeta.</p></figcaption></figure>


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.payments.thalescloud.io/classic-tokenization/es/casos-de-uso/posalta/gestion-del-ciclo-de-vida-de-la-tarjeta/actualizar-los-metadatos-de-la-tarjeta.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
