> 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を統合する

このセクションを使用して接続性とセキュリティを設定します。その後、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="/spaces/Td5SrJN5blBGDmSrG0yH/pages/6eadd84a0e1dcf15b4135ce797f296e4988cde65">/spaces/Td5SrJN5blBGDmSrG0yH/pages/6eadd84a0e1dcf15b4135ce797f296e4988cde65</a></td></tr><tr><td>相互TLS（mTLS）の設定</td><td><a href="/spaces/Td5SrJN5blBGDmSrG0yH/pages/e06fdc25ba40ffaa30944ff21f72bc363e1eb00f">/spaces/Td5SrJN5blBGDmSrG0yH/pages/e06fdc25ba40ffaa30944ff21f72bc363e1eb00f</a></td></tr><tr><td>OAuth 2.0アクセストークンの取得</td><td><a href="/spaces/Td5SrJN5blBGDmSrG0yH/pages/75da38c743fb24764c9f0bd09ddaaab590c54810">/spaces/Td5SrJN5blBGDmSrG0yH/pages/75da38c743fb24764c9f0bd09ddaaab590c54810</a></td></tr><tr><td>機密データの暗号化</td><td><a href="/spaces/Td5SrJN5blBGDmSrG0yH/pages/543a84b055c9ea2f076fef1a5227abd643a4b8de">/spaces/Td5SrJN5blBGDmSrG0yH/pages/543a84b055c9ea2f076fef1a5227abd643a4b8de</a></td></tr><tr><td>D1 APIリファレンス</td><td><a href="/spaces/Td5SrJN5blBGDmSrG0yH/pages/964968986e065b4a8e0fc85727373d480e5e7fc4">/spaces/Td5SrJN5blBGDmSrG0yH/pages/964968986e065b4a8e0fc85727373d480e5e7fc4</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 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/ecom/ja/d1-apiwosuru.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.
