> 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/push-provisioning/integrate-the-d1-api/d1-api-summary.md).

# D1 API summary

This section provides a summary of the APIs used in the **Push Provisioning** service.

The APIs are grouped into:

* **Mandatory**: must be implemented by the issuer for a proper integration in D1 and compliance with the schemes.
* **Conditional**: to be implemented according to the integration model chosen by the issuer.
* **Optional**: to be implemented according to the issuer business needs.&#x20;

## Mandatory APIs

<table><thead><tr><th width="249">API</th><th>Inbound/Outbound</th><th>Description</th></tr></thead><tbody><tr><td><a href="/pages/DsNjDE6Lwu38JoQaNJ1p#post-oauth2-token">Get Authorization Token</a></td><td>Issuer -> Thales D1</td><td>Get an OAuth 2.0 access token to call the D1 backend.</td></tr><tr><td><a href="/pages/C7gdf2Za02NBy0UZ1PKE#post-oauth2-token">Get Authorization Token</a></td><td>Issuer &#x3C;- Thales D1</td><td>Get an OAuth 2.0 access token to call the issuer backend.</td></tr><tr><td><a href="/pages/O3ffZP5iRTN7GEppKo1w#put-v2-issuers-issuerid-cards-cardid">Register Card</a> or <a href="/pages/O3ffZP5iRTN7GEppKo1w#post-v2-issuers-issuerid-cards">Create Card</a></td><td>Issuer -> Thales D1</td><td>To register or create a card.</td></tr><tr><td><a href="/pages/seCS87AGyZgsaohBYSxc#put-issuers-issuerid-consumers-consumerid">Register Consumer</a></td><td>Issuer -> Thales D1</td><td>To register a consumer.</td></tr><tr><td><a href="/pages/O3ffZP5iRTN7GEppKo1w#post-v2-issuers-issuerid-cards-cardid-operations-renew">Renew Card</a> and <a href="/pages/O3ffZP5iRTN7GEppKo1w#post-v2-issuers-issuerid-cards-cardid-operations-replace">Replace card</a></td><td>Issuer -> Thales D1</td><td>Renew the card on D1 and request the TSP to link the existing digital cards. Replace the card on D1 and request the TSP to link the existing digital cards</td></tr><tr><td><a href="/pages/O3ffZP5iRTN7GEppKo1w#post-v2-issuers-issuerid-cards-cardid-operations-delete">Delete Card</a> and <a href="/pages/seCS87AGyZgsaohBYSxc#post-issuers-issuerid-consumers-consumerid-operations-delete">Delete Consumer</a></td><td>Issuer -> Thales D1</td><td>Allow to terminate, definitely,  the related asset. The request is cascaded to the children resources.</td></tr></tbody></table>

## Conditional APIs

| API                                                                                                                                                                                                                                                                                                                               | Inbound/Outbound    | Description                                                                                                                                                                                                                                                                                  |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Suspend Card](/push-provisioning/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/card-api.md#post-v2-issuers-issuerid-cards-cardid-operations-suspend) and [Resume Card](/push-provisioning/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/card-api.md#post-v2-issuers-issuerid-cards-cardid-operations-resume) | Issuer -> Thales D1 | To control the state of the card in D1. Conditional to the issuer needs.                                                                                                                                                                                                                     |
| [Update Consumer Information](/push-provisioning/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/consumer-api.md#post-issuers-issuerid-consumers-consumerid-operations-update)                                                                                                                                            | Issuer -> Thales D1 | In case the consumer details are registered, the issuer should update it accordingly. Otherwise, D1 calls [Get Consumer Information](/push-provisioning/integrate-the-d1-api/d1-api-reference/outbound-api-from-d1/consumer-api.md#get-banking-d1-v1-issuers-issuerid-consumers-consumerid). |
| [Get Consumer Information](/push-provisioning/integrate-the-d1-api/d1-api-reference/outbound-api-from-d1/consumer-api.md#get-banking-d1-v1-issuers-issuerid-consumers-consumerid)                                                                                                                                                 | Issuer <- Thales D1 | Allows D1 to get the latest consumer details. Not required if the issuer updates regularly the consumer details.                                                                                                                                                                             |

## Optional APIs

| API                                                                                                                                                              | Inbound/Outbound    | Description                                    |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | ---------------------------------------------- |
| [Get Consumer Information](/push-provisioning/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/consumer-api.md#get-issuers-issuerid-consumers-consumerid) | Issuer -> Thales D1 | To retrieve the consumer details stored.       |
| [Get card list](/push-provisioning/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/consumer-api.md#get-issuers-issuerid-consumers-consumerid-cards)      | Issuer -> Thales D1 | To retrieve all the cards of a given consumer. |


---

# 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/push-provisioning/integrate-the-d1-api/d1-api-summary.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.
