> 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/click-to-pay/ja/implement-click-to-pay-issuers/enroll-cards-in-click-to-pay/enroll-cards-by-d1-api.md).

# D1 API でカードを登録する

## 概要

このページでは、イシュアのバックエンドがD1 APIを呼び出してカードおよびそのエンドユーザーをClick to Payに登録する方法を説明します [Click to Pay 登録](/click-to-pay/ja/integrate-the-d1-api/d1-api-summary.md).

イシュアのアプリケーション側で直接APIを呼び出させることなく、イシュアのバックエンドからClick to Payの登録をオーケストレーションしたい場合は、このバックエンドフローを使用してください。

## ユーザーエクスペリエンス

<figure><img src="/files/5e0884fa67517bcc755db303a23b775cbf26c37c" alt=""><figcaption></figcaption></figure>

## フロー

次の図は、バックエンドからのClick to Pay登録フローの主要なステップを示しています：

<figure><img src="/files/48431fc84647d2f07a1742d89e296727750e5bc9" alt=""><figcaption></figcaption></figure>

## シーケンス図

### 前提条件

次を参照してください [前提条件](/click-to-pay/ja/implement-click-to-pay-issuers/enroll-cards-in-click-to-pay.md#prerequisites).

次のシーケンス図は、イシュアのバックエンドから開始されるClick to Pay登録フローを示しています：

<figure><img src="/files/c774f47172956e3a9560bb9f95afea4467fb990c" alt=""><figcaption></figcaption></figure>

### 重要ポイント

* イシュアのバックエンドはすでにエンドユーザーの個人情報およびカード情報を把握している必要があります。
* 登録は非同期操作です。最終結果は次のいずれかで取得できます：
  * 標準の取得操作を呼び出す、または
  * D1バックエンド通知を有効にする（を確認してください [API概要](/click-to-pay/ja/integrate-the-d1-api/d1-api-summary.md)).
* 支払いネットワークに関連付けられたTSPは通常のデジタル化フローを開始します。イシュアのバックエンドはこのフローを従来どおり管理し続けます；変更は不要です。Click to Payはeコマース取引に適用されるため、承認されることが一般的です。

{% hint style="warning" %}
このAPIは一括登録をサポートしていません。Click to Payサービスへのカードの大量登録を行う必要がある場合は、次を使用してください [Click to Pay自動登録によるバッチファイル登録](/click-to-pay/ja/register-cards-via-batch-file.md).

自動登録機能の設定については、Thalesの担当者にお問い合わせください。
{% endhint %}


---

# 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/click-to-pay/ja/implement-click-to-pay-issuers/enroll-cards-in-click-to-pay/enroll-cards-by-d1-api.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.
