> 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/es/integrate-the-d1-api/d1-api-reference.md). Agents can also search and read this documentation through its [MCP server](https://docs.payments.thalescloud.io/~gitbook/mcp).

# Referencia de la API de D1

Utilice esta sección para explorar las API de D1 y descargar las especificaciones OpenAPI (Swagger).

### Descargar archivos OpenAPI (Swagger)

Importe estas especificaciones en Swagger UI, Postman o su herramienta de API.

#### APIs entrantes (Emisor -> Thales D1)

* API OAuth2: [D1-Public-IN-v1-Auth2](https://openapi.gitbook.com/o/fwy1mtbRONGA2YDKDBr0/spec/D1-Public-IN-v1-Auth2.yaml)
* API de consumidor: [D1-Public-IN-v2-Consumer](https://openapi.gitbook.com/o/fwy1mtbRONGA2YDKDBr0/spec/D1-Public-IN-v2-Consumer.yaml)
* API de tarjeta: [D1-Public-IN-v2-Card](https://openapi.gitbook.com/o/fwy1mtbRONGA2YDKDBr0/spec/D1-Public-IN-v2-Card.yaml)

#### APIs salientes (Emisor <- Thales D1)

* API OAuth2: [D1-Public-OUT-v1-Auth2](https://openapi.gitbook.com/o/fwy1mtbRONGA2YDKDBr0/spec/D1-Public-OUT-v1-Auth2.yaml)
* API de consumidor: [D1-Public-OUT-v1-Consumer](https://openapi.gitbook.com/o/fwy1mtbRONGA2YDKDBr0/spec/D1-Public-OUT-v1-Consumer.yaml)

### Explorar la referencia de la API

#### APIs entrantes (Emisor -> Thales D1)

Las API entrantes son llamadas por el backend del emisor y apuntan al backend de D1.

* [API OAuth2](https://docs.payments.thalescloud.io/push-provisioning/es/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/oauth2-api.md)
* [API de consumidor](https://docs.payments.thalescloud.io/push-provisioning/es/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/consumer-api.md)
* [API de tarjeta](https://docs.payments.thalescloud.io/push-provisioning/es/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/card-api.md)

#### APIs salientes (Emisor <- Thales D1)

Las API salientes son llamadas por el backend de D1 y apuntan al backend del emisor.

* [API OAuth2](https://docs.payments.thalescloud.io/push-provisioning/es/integrate-the-d1-api/d1-api-reference/outbound-api-from-d1/oauth2-api.md)
* [API de consumidor](https://docs.payments.thalescloud.io/push-provisioning/es/integrate-the-d1-api/d1-api-reference/outbound-api-from-d1/consumer-api.md)


---

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