> 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-push-provisioning/es/casos-de-uso/aprovisionamiento-push-para-carteras-xpay.md).

# Aprovisionamiento push para carteras xPay

Los usuarios finales pueden añadir tarjetas elegibles a las billeteras xPay desde la aplicación del emisor. Las billeteras compatibles incluyen Apple Pay, Google Pay y Samsung Pay.

La aplicación del emisor verifica la identidad del usuario final antes de activar la tarjeta.

### Paso 1: Decidir si mostrar **Agregar a la billetera**

La aplicación del emisor usa el SDK de Push Provisioning para comprobar si:

* La billetera xPay de destino es compatible en el dispositivo.
* Ya existe un token para la tarjeta en el dispositivo.

Según el resultado, mostrar u ocultar **Agregar a la billetera**.

Llame a `getToken` para decidir si mostrar **Agregar a la billetera**. Pase los últimos 4 dígitos del PAN.

El SDK comprueba si la tarjeta ya está presente en la billetera. Use la respuesta para decidir si mostrar **Agregar a la billetera**.

<figure><img src="https://2719026056-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC22AqJs7fn1cZC7pAaOE%2Fuploads%2FSh4u0cMSv4pNGRqTLgAR%2FUC_push-provisioning-01.png?alt=media&amp;token=f7d8c549-57f9-4a8b-b1ac-602b9d60b37f" alt=""><figcaption><p>Mostrar u ocultar <strong>Agregar a la billetera</strong> según la presencia de la tarjeta.</p></figcaption></figure>

El SDK de Push Provisioning requiere datos cifrados de la tarjeta para verificar con el backend del emisor. Consulte [Cifrado de datos de la tarjeta (formato PKCS#7)](/classic-push-provisioning/es/guia-para-desarrolladores/cifrado-y-autenticacion-de-datos/cifrado-de-datos-de-la-tarjeta-formato-pkcs-7.md).

### Paso 2: Aprovisionar una tarjeta

Después de que el usuario final toque **Agregar a la billetera**, inicie el push provisioning. Llame al SDK `provision` método.

Cree un `authorizationCode` (JWT) para este flujo. Consulte [Código de autorización (formato JWT)](/classic-push-provisioning/es/guia-para-desarrolladores/cifrado-y-autenticacion-de-datos/codigo-de-autorizacion-formato-jwt.md).

<figure><img src="https://2719026056-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC22AqJs7fn1cZC7pAaOE%2Fuploads%2FHTew9jkahj9lDKChKLB4%2FUC_push-provisioning-02.png?alt=media&amp;token=c40a253b-822c-4a83-89fc-c3679de0612e" alt=""><figcaption><p>Flujo de aprovisionamiento con el SDK de Push Provisioning.</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 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-push-provisioning/es/casos-de-uso/aprovisionamiento-push-para-carteras-xpay.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.
