> 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/secure-card-display/ja/get-started/manage-cards/register-cards-via-api.md).

# API 経由でカードを登録する

カード登録は、あなたの **イシュアバックエンド** と、 **D1バックエンド**.

これは、カードが D1 サービスで使用される前であれば、いつでも実行できます。

同じエンドユーザーに対して、カード登録とカード作成を組み合わせることもできます。

登録の一環として、あなたのイシュアバックエンドは次を提供します:

* `cardId`: D1 API と D1 SDK で使用される一意の技術識別子。PAN であってはならず、PAN から派生したものであってもいけません。
* `cardProductId`: カード商品の識別子。
* PAN と有効期限: JWE を使用して暗号化されます。
* `consumerId`: カードの所有者であるエンドユーザーに対する、あなたのイシュアバックエンドの識別子。

{% hint style="info" %}
エンドユーザーが D1 に登録されていない場合、D1 は提供された `consumerId`。D1 が個人情報を必要とする場合、D1 は次を使用してあなたのイシュアバックエンドを呼び出します [消費者情報を取得](https://thales-dis-dbp.stoplight.io/d1-caas/branches/mergeV1V2/80c02eb3c9adf-get-consumer-information).
{% endhint %}

カード作成とは異なり、カード登録ではアカウントリストは不要です。

### シーケンス図

<figure><img src="/spaces/62lLFDcmLCeqqwmy4Fee/files/WDxQFOg3hDK1NXGUdaIW" alt=""><figcaption><p>イシュアバックエンドと D1 バックエンド間のカード登録フロー。</p></figcaption></figure>

登録後は、他の D1 サービス全体でカードを使用できます。たとえば:

* [トランザクション制御](https://thales-dis-dbp.stoplight.io/docs/d1-caas/25aregsmz7a2q-transaction-control)
* [セキュアカード表示](https://thales-dis-dbp.stoplight.io/docs/d1-caas/3c8a7e6f0a81a-secure-card-display-introduction)
* [トークン化](https://thales-dis-dbp.stoplight.io/docs/d1-caas/ad6a9b717d3b9-introduction)
* [プッシュプロビジョニング](https://thales-dis-dbp.stoplight.io/docs/d1-caas/294f33eaf2378-push-provisioning-introduction)

### APIエンドポイント

次を使用してカードを登録します:

* [カードを登録](/secure-card-display/ja/integrate-d1-api/d1-api-reference/inbound-api-to-d1/card-api.md#put-v2-issuers-issuerid-cards-cardid)


---

# 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/secure-card-display/ja/get-started/manage-cards/register-cards-via-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.
