> 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/xpay-enablement/data-model.md).

# Data model

The Thales TR-TSP API relies on the following data model.

<figure><img src="/files/yJepu5U99Haz4Ci1kTUS" alt=""><figcaption><p>Core identifiers used by the TR-TSP API.</p></figcaption></figure>

| Identifier       | Description                                                                                                                                                                                          | Owner                     |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- |
| issuerId         | Identifier of the issuer for the FPAN.                                                                                                                                                               | TSH                       |
| cardProductId    | <p>The identifier of the funding card product.<br>This value is not shared with the TSP but is mapped with the 'tokenProductId'.</p>                                                                 | TSH                       |
| cardRefId        | Identifier of the FPAN known by the wallet provider or issuer backend.                                                                                                                               | Wallet Provider or Issuer |
| walletProviderId | Identifier of the wallet provider.                                                                                                                                                                   | TSH                       |
| tokenId          | The token identifier.                                                                                                                                                                                | TSP                       |
| tokenProductId   | Identifier of the token domain.                                                                                                                                                                      | TSP                       |
| tokenStorageId   | <p>Identifier of the element hosting token credentials.<br>For (e)SE it is typically the secure element identifier.<br>For HCE it is typically the identifier of the digital wallet application.</p> | Wallet Provider           |


---

# 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/xpay-enablement/data-model.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.
