> 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/use-cases/push-provisioning-to-xpay-wallets.md).

# Push provisioning to xPay Wallets

End users can add eligible cards to xPay Wallets from the issuer application. Supported wallets include Apple Pay, Google Pay, and Samsung Pay.

The issuer application verifies the end user’s identity before activating the card.

{% hint style="warning" %}
***Google Unified Android Push Provisioning** – Thales will support the new API and the Google-OPC model only through the new version of "Push Provisioning" product.*

*For details, please refer to* [*Push Provisioning*](/push-provisioning/readme.md)*.*
{% endhint %}

### Step 1: Decide whether to show **Add to Wallet**

The issuer application uses the Push Provisioning SDK to check whether:

* The target xPay Wallet is supported on the device.
* A token already exists for the card on the device.

Based on the result, show or hide **Add to Wallet**.

Call `getToken` to decide whether to show **Add to Wallet**. Pass the last 4 digits of the PAN.

The SDK checks whether the card is already present in the wallet. Use the response to decide whether to display **Add to Wallet**.

<figure><img src="/files/z0Q3jIZXmtgagJFTe4fD" alt=""><figcaption><p>Show or hide <strong>Add to Wallet</strong> based on card presence.</p></figcaption></figure>

The Push Provisioning SDK requires encrypted card data to verify with the issuer backend. See [Card data encryption (PKCS#7 format)](/classic-push-provisioning/developer-guide/data-encryption-and-authentication/card-data-encryption-pkcs-7-format.md).

### Step 2: Provision a card

After the end user taps **Add to Wallet**, start push provisioning. Call the SDK `provision` method.

Create an `authorizationCode` (JWT) for this flow. See [Authorization code (JWT format)](/classic-push-provisioning/developer-guide/data-encryption-and-authentication/authorization-code-jwt-format.md).

<figure><img src="/files/FQZ1q97clVvpiL3Srmze" alt=""><figcaption><p>Provisioning flow with the Push Provisioning SDK.</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:

```
GET https://docs.payments.thalescloud.io/classic-push-provisioning/use-cases/push-provisioning-to-xpay-wallets.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.
