> 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/implement-tokenization/check-card-eligibility.md).

# カードの有効性を確認

## 概要

カードの有効性は最初のステップです **トークン化**。これは、カードが決済ネットワークによってトークン化可能かどうかを検証します **TSP**.

カードが有効であるのは、次の条件が **両方** とも真であるときです：

1. その **イシュア** が決済ネットワークに必要なカード製品のメタデータを設定していること **TSP** （例えば、カードデザインや利用規約など）。
2. カードが `アクティブ` な状態にあること。

カードが有効であれば、決済ネットワークのTSPはメタデータを **トークンリクエスタ** に返すことができ、（例えば、 **xPayウォレット**）それが **エンドユーザー**.

{% hint style="warning" %}
に表示されます。 **イシュア** カード製品のメタデータを決済ネットワークに設定できるのは **TSP**のみです。D1はこれらのTSP設定にアクセスしたり変更したりすることはできません。
{% endhint %}

{% hint style="info" %}
D1の **API**では、 **エンドユーザー** は `コンシューマー` に返すことができ、（例えば、 `consumerId`).
{% endhint %}

### 前提条件

D1がのために有効性を確認できるようにする前に、次のことを確認してください： **イシュア**次のことを行ってください：

1. [カード製品を定義する](/tokenization/ja/get-started/manage-cards/define-card-product.md)
   * カード製品の **BIN** レンジと決済ネットワークTSPのカード製品識別子とのマッピングを構成します。
2. カードとエンドユーザーを管理します。を確認してください [はじめに](/tokenization/ja/get-started.md) セクション。
   * これによりD1はカードを解決してエンドユーザーにリンクできます（`consumerId`).

### 誰がチェックをトリガーするか

その **トークンリクエスタ** が決済ネットワークを通じて有効性チェックをトリガーします **TSP**.

D1は有効性を評価し、その結果を決済ネットワークTSPに返します。

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

<figure><img src="/files/2d06fb94adba5e99d27b9da4b8fdb237c74dcc4e" alt=""><figcaption><p>トークンリクエスタがカードの有効性を確認する際のエンドユーザーの例のフロー</p></figcaption></figure>

### ハイレベルフロー

<figure><img src="/files/8fab82f73b74b79e502c72bda34fe9427e3d04bf" alt=""><figcaption><p>トークンリクエスタ、決済ネットワークTSP、D1、イシュアバックエンド間の高レベルの有効性チェックフロー</p></figcaption></figure>

### シーケンス図

<figure><img src="/files/d537572b012bfd6567bd785154e5af2a8efe1a6d" alt=""><figcaption><p>有効性チェックのためのシーケンス図</p></figcaption></figure>

### D1が使用するエンドユーザーデータ

D1はエンドユーザー（コンシューマー）の個人情報を2つの方法で使用できます：

* エンドユーザーを登録する際に `personalInformation` を提供した場合、D1は保存されたデータを使用します。
* を提供しなかった場合、 `personalInformation`D1は必要時にあなたの **イシュアバックエンド** からそれを取得します。

この動作は選択した統合モデルに依存します。詳細は、を参照してください [はじめに](/tokenization/ja/get-started.md) セクション。

### 有効性が失敗した場合

有効性が繰り返し失敗する場合、まず次を確認してください：

* カードが `アクティブ` な状態にあること。
* カード製品がD1で正しく構成されていること（カード製品間のマッピングを含む） **BIN** レンジと決済ネットワークTSPのカード製品識別子とのマッピングを構成します。
* 必要なカード製品のメタデータが決済ネットワークTSPに設定されていること（イシュア所有の構成）。

{% hint style="info" %}
これらのチェック後も失敗が続く場合は、決済ネットワークTSPのエラー詳細をキャプチャして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:

```
GET https://docs.payments.thalescloud.io/tokenization/ja/implement-tokenization/check-card-eligibility.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
