> 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/retrieve-click-to-pay-profiles.md).

# Click to Pay プロファイルを取得

### 概要

イシュアのバックエンドでは、エンドユーザー向けに以前登録された Click to Pay データを取得する必要がある場合があります。典型的なユースケースには次が含まれます:

* イシュアのアプリケーションで、エンドユーザーに Click to Pay の詳細を表示する。
* エンドユーザーが更新できるようにする前に、Click to Pay に保存されている情報を確認する。

D1 は次を公開します [Click to Pay の消費者プロフィール取得 API](/click-to-pay/ja/integrate-the-d1-api/d1-api-summary.md)、これはイシュアが Click to Pay ディレクトリに登録したすべての Click to Pay プロファイルを取得します。

複数の Click to Pay ディレクトリが構成されている場合、D1 はデータを集約し、ディレクトリごとに最大 1 つのプロファイルを返します。レスポンスには次が含まれます `clickToPayProfiles[]` 配列が含まれ、各エントリは特定のディレクトリに保存されているコンシューマープロファイルを表します。

{% hint style="info" %}
**クイックリンク**

* [Click to Pay にカードを登録](/click-to-pay/ja/implement-click-to-pay-issuers/enroll-cards-in-click-to-pay.md)
* [Click to Pay プロファイルを更新](/click-to-pay/ja/implement-click-to-pay-issuers/update-click-to-pay-profiles.md)
* [Click to Pay からカードをオプトアウト](/click-to-pay/ja/implement-click-to-pay-issuers/opt-out-cards-from-click-to-pay.md)
  {% endhint %}

#### この API を使用するタイミング

使用する **Click to Pay の利用者プロファイルを取得** イシュアのバックエンドで、Click to Pay ディレクトリに保存されている消費者情報の最新スナップショットが必要な場合です。典型的な状況には次が含まれます:

* Click to Pay に登録されているカードとプロファイルデータを消費者に示す。
* 更新が必要かどうかを判断する前に、Click to Pay に保存されているデータをイシュアのバックエンドに保存されているデータと比較する。
* イシュアのバックエンドに保存されている内容と Click to Pay に保存されている内容の差異をトラブルシューティングする。

使用しないでください **ない** 消費者またはカードの詳細を更新するためにこの API を使用しないでください。Click to Pay に保存されているデータを変更するには、で説明されている更新 API を使用してください [Click to Pay プロファイルを更新](/click-to-pay/ja/implement-click-to-pay-issuers/update-click-to-pay-profiles.md).

### フロー

以下の図は、D1 を通じて Click to Pay の消費者プロファイルを取得する全体のフローを示しています:

<figure><img src="/files/88029376475eaa7c42c1e83f84f691c5fd1cb4d1" alt=""><figcaption></figcaption></figure>

## シーケンス図

### 前提条件

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

以下のシーケンス図は、Click to Pay の消費者プロファイルを取得する際の詳細な動作を示しています。複数のディレクトリが利用可能な場合、D1 は各ディレクトリに問い合わせ、プロファイルを 1 つのレスポンスに集約します。

<figure><img src="/files/01e651c86482286a733a27d2d8d62bab036f191f" alt=""><figcaption></figcaption></figure>


---

# 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/retrieve-click-to-pay-profiles.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.
