> 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/classic-tokenization/ja/ysuksu/kdo/fur/suteppu2-kdonowosuru.md).

# ステップ2 – カードの有効性を確認する

カード有効性の確認は、カードが決済ネットワークでトークン化できるかどうかを検証します **TSP** （例えば、 **VTS** または **MDES**).

このステップでは、 **TSHバックエンド** が **イシュアバックエンド** に有効性を確認し、トークン化で使用する製品設定を返すように依頼します。 **トークン化**.

<figure><img src="/files/9e907449dce5865f937b576c3276f24ed8fdec0b" alt=""><figcaption><p>カード有効性確認フロー。</p></figcaption></figure>

参照： `checkCardEligibility` を [APIリファレンス](/classic-tokenization/ja/apirifarensu/ishuagtoweiapi/autobaundoishua.md).

リクエストおよびレスポンスパラメータを解釈するために、以下の注記を使用してください。

### リクエストパラメータ

| パラメータ            | 説明                                                                                                                                                                                                                                                       |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| x-correlation-id | TSHバックエンドとイシュアバックエンド間の登録セッションを相関させます。TSHバックエンドは最初にそれを `requestCardEligibility`で送信します。保存して、同じセッション内の後続リクエストをリンクするために使用してください。                                                                                                                             |
| cipheredCardInfo | にはトークン化するカードの暗号化された **FPAN** および有効期限日が含まれます。 **CVV2** はこの段階では提供されません。                                                                                                                                                                                    |
| issuerCardRefId  | イシュアバックエンドが管理するカード参照を提供します。カードが既にトークン化されている場合のシングルバッジ国内スキームのトークン化や、サイレントトークン化（例：同じトークンを電話から時計へプロビジョニングする場合）では、 `cipheredCardInfo` の代わりにこれを使用してください。VisaまたはMastercardのトークン化（シングルバッジまたはコバッジ）にはこのパラメータを使用しないでください。ほとんどの場合、TSHバックエンドは以前のトークン化からこの値を既に知っています。 |

### レスポンスパラメータ

| パラメータ            | 説明                                                                                                                                                                    |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| issuerCardRefId  | イシュアバックエンド内の一意の識別子。 **FPAN** 同じ `requestCardEligibility` に対するその後のすべての **FPAN**呼び出しで同じ値を返してください。後で `replaceCardReq`.                                                   |
| を使用してこの値を更新できます。 | productId **VTS**は、決済ネットワークTSPで構成されたカード製品プロファイルを識別します。TSPポータルで構成してください。では、VCMMで定義されたカードメタデータプロファイルIDにマッピングされます。では、 **MDES**は、 `issuerProductConfigId` としてBPMSで定義されます。 |

決済ネットワークTSPは、正しいカードアート、カードメタデータ、および利用規約を `を使用してこの値を更新できます。` に返すために **トークンリクエスタ**.

{% hint style="info" %}
Mastercardの場合、有効性は常にMDESによって強制されます。

TSHバックエンドは、決済ネットワーク間で一貫したAPIを保つために、それでもイシュアバックエンドを呼び出します。

もしあなたの **BIN** 範囲が曖昧な場合は、常に `を使用してこの値を更新できます。`を返してください。TSHバックエンドはそれをMDESに転送し、MDESが正しいカードメタデータを返せるようにします。
{% 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/classic-tokenization/ja/ysuksu/kdo/fur/suteppu2-kdonowosuru.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.
