> 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/tokenization/ja/integrate-the-d1-api/d1-api-reference.md).

# D1 APIリファレンス

このセクションでは D1 API を参照し、OpenAPI（Swagger）仕様をダウンロードできます。

### OpenAPI（Swagger）ファイルをダウンロード

これらの仕様を Swagger UI、Postman、またはお使いの API ツールにインポートしてください。

#### インバウンド API（イシュア -> Thales D1）

* OAuth2 API： [D1-Public-IN-v1-Auth2](https://openapi.gitbook.com/o/fwy1mtbRONGA2YDKDBr0/spec/D1-Public-IN-v1-Auth2.yaml)
* コンシューマー API： [D1-Public-IN-v2-Consumer](https://openapi.gitbook.com/o/fwy1mtbRONGA2YDKDBr0/spec/D1-Public-IN-v2-Consumer.yaml)
* カード API： [D1-Public-IN-v2-Card](https://openapi.gitbook.com/o/fwy1mtbRONGA2YDKDBr0/spec/D1-Public-IN-v2-Card.yaml)
* デジタルカード API： [D1-Public-IN-v1-Digital-Card](https://openapi.gitbook.com/o/fwy1mtbRONGA2YDKDBr0/spec/D1-Public-IN-v1-Digital-Card.yaml)

#### アウトバウンド API（イシュア <- Thales D1）

* OAuth2 API： [D1-Public-OUT-v1-Auth2](https://openapi.gitbook.com/o/fwy1mtbRONGA2YDKDBr0/spec/D1-Public-OUT-v1-Auth2.yaml)
* コンシューマー API： [D1-Public-OUT-v1-Consumer](https://openapi.gitbook.com/o/fwy1mtbRONGA2YDKDBr0/spec/D1-Public-OUT-v1-Consumer.yaml)
* カード API： [D1-Public-OUT-v2-Card](https://openapi.gitbook.com/o/fwy1mtbRONGA2YDKDBr0/spec/D1-Public-OUT-v2-Card.yaml)
* デジタルカード API： [D1-Public-OUT-v1-Digital-Card](https://openapi.gitbook.com/o/fwy1mtbRONGA2YDKDBr0/spec/D1-Public-OUT-v1-Digital-Card.yaml)

{% hint style="info" %}
各仕様には関連する API リファレンス ページに示された操作が含まれています。
{% endhint %}

### API リファレンスを参照

#### インバウンド API（イシュア -> Thales D1）

* [OAuth2 API](/tokenization/ja/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/oauth2-api.md)
* [コンシューマー API](/tokenization/ja/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/consumer-api.md)
* [カード API](/tokenization/ja/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/card-api.md)
* [デジタルカード API](/tokenization/ja/integrate-the-d1-api/d1-api-reference/inbound-api-to-d1/digital-card-api.md)

#### アウトバウンド API（イシュア <- Thales D1）

* [OAuth2 API](/tokenization/ja/integrate-the-d1-api/d1-api-reference/outbound-api-from-d1/oauth2-api.md)
* [コンシューマー API](/tokenization/ja/integrate-the-d1-api/d1-api-reference/outbound-api-from-d1/consumer-api.md)
* [カード API](/tokenization/ja/integrate-the-d1-api/d1-api-reference/outbound-api-from-d1/card-api.md)
* [デジタルカード API](/tokenization/ja/integrate-the-d1-api/d1-api-reference/outbound-api-from-d1/digital-card-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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.payments.thalescloud.io/tokenization/ja/integrate-the-d1-api/d1-api-reference.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
