> 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/ecom/ja/d1-apiwosuru.md).

# D1 APIを統合する

セキュリティ前提条件を設定し、D1 API の入出力を統合します。

このセクションを使用して接続性とセキュリティを設定します。その後、OpenAPIリファレンスを使用してインバウンドおよびアウトバウンドのAPIを統合します。

### 必要な作業

* インバウンドおよびアウトバウンドの接続に対して相互TLS（mTLS）を設定します。
* インバウンドAPI呼び出しのためにOAuth 2.0アクセストークンを取得します。
* 必要に応じてJWEを使用して機密データを暗号化します。

### ドキュメント

<table data-view="cards"><thead><tr><th>タイトル</th><th data-card-target data-type="content-ref">対象</th></tr></thead><tbody><tr><td>D1 APIの概要</td><td><a href="/ecom/ja/d1-apiwosuru/d1-apino.md">D1 APIの概要</a></td></tr><tr><td>相互TLS（mTLS）の設定</td><td><a href="/ecom/ja/d1-apiwosuru/tlsmtlswosuru.md">相互TLS（mTLS）を設定する</a></td></tr><tr><td>OAuth 2.0アクセストークンの取得</td><td><a href="/ecom/ja/d1-apiwosuru/oauth-20akusesutkunwosuru.md">OAuth 2.0アクセストークンを取得する</a></td></tr><tr><td>機密データの暗号化</td><td><a href="/ecom/ja/d1-apiwosuru/dtawosuru.md">機密データを暗号化する</a></td></tr><tr><td>D1 APIリファレンス</td><td><a href="/ecom/ja/d1-apiwosuru/d1-apirifarensu.md">D1 APIリファレンス</a></td></tr></tbody></table>


---

# 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/ecom/ja/d1-apiwosuru.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.
