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

# D1 API summary

### Overview <a href="#overview" id="overview"></a>

This page provides a checklist of the D1 API endpoints typically required to integrate PIN Management.**Direction** indicates who calls the endpoint:

* **Inbound**: your issuer backend calls the D1 API.
* **Outbound**: the D1 backend calls your issuer backend.

#### Required APIs <a href="#required-apis" id="required-apis"></a>

| API                                                                                                                                                                                                                                                                                | Inbound/Outbound    | Description                                           |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | ----------------------------------------------------- |
| ​[​Get authorization token​](https://app.gitbook.com/o/fwy1mtbRONGA2YDKDBr0/s/Ezl7yJruGtpgrpgTXEjo/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/oauth2-api#post-oauth2-token)​                                                                                          | Issuer -> Thales D1 | Get an OAuth 2.0 access token to call the D1 backend. |
| ​[​Create card](/nfc-payment/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/card-api.md#put-v2-issuers-issuerid-cards-cardid) or [Register card​](/nfc-payment/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/card-api.md#put-v2-issuers-issuerid-cards-cardid)​ | Issuer -> Thales D1 | Create or register a card in the D1 backend.          |
| ​[​Renew card​](/nfc-payment/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/card-api.md#post-v2-issuers-issuerid-cards-cardid-operations-renew)​                                                                                                                          | Issuer -> Thales D1 | Renew a card.                                         |
| ​[​Replace card​](/nfc-payment/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/card-api.md#post-v2-issuers-issuerid-cards-cardid-operations-replace)​                                                                                                                      | Issuer -> Thales D1 | Replace a card.                                       |
| ​[​Delete card​](/nfc-payment/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/card-api.md#post-v2-issuers-issuerid-cards-cardid-operations-replace)​                                                                                                                       | Issuer -> Thales D1 | Delete a card from the D1 backend.                    |

#### Optional APIs <a href="#optional-apis" id="optional-apis"></a>

Use the APIs below depending on which flow you enable

| ​[Get authorization token](/nfc-payment/integrate-the-d1-api/d1-api-reference/outbound-api-from-d1/oauth2-api.md#post-oauth2-token)​                                   | Issuer <- Thales D1 | Get an OAuth 2.0 access token to call the Issuer backend.                                                                                                                     |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ​[Get Card Credentials](/nfc-payment/integrate-the-d1-api/d1-api-reference/outbound-api-from-d1/card-api.md#get-cms-api-v1-issuers-issuerid-cards-cardid-credentials)​ | Issuer <- Thales D1 | If card data are not provided in the  [Register card​](/nfc-payment/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/card-api.md#put-v2-issuers-issuerid-cards-cardid) |

​


---

# 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/nfc-payment/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.
