> 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/create-virtual-cards.md).

# 仮想カードを作成する

仮想カードは、eコマース決済およびトークン化のユースケースで使用されます。

### 仮想カードのドメイン制御

仮想カードで設定できるドメイン制御は次の項目に限定されます:

* 国際決済制御
* 拒否通貨リスト
* 禁止加盟店カテゴリリスト（MCCリスト）

### 動的CVV（dCVV2）を使用

仮想カード製品で、動的CVV（dCVV2とも呼ばれます）を有効に設定できます。

dCVV2が有効な場合:

* D1 SDKが仮想カードを表示するたびに、D1は新しいdCVV2を生成します。
* 各dCVV2は、カード製品で設定した限定期間のみ有効です。

これにより、card-on-file（COF）データが悪用されるリスクが低減します。これは、CSC / CVV2の値が頻繁に変わるためです。

### 仮想カードの更新

仮想カードの更新はエンドユーザーに対して透過的です。

仮想カード製品で更新が有効な場合:

* D1は有効期限前に仮想カードを自動更新します。
* D1は更新されたカードを自動的に有効化します。
* D1は新しい有効期限を生成しますが、同じPANを保持します。
* D1は同じ `cardId` を更新されたカードに対して保持します。
* 更新されたカードは、次回D1 SDKを通じて表示される際に自動的に表示されます。
* D1は既存のデジタルカードの有効期限を新しい日付に更新します。

その結果、エンドユーザーは手動操作なしで、eコマース決済およびトークン化に仮想カードを引き続き使用できます。

### シーケンス図

<figure><img src="/spaces/62lLFDcmLCeqqwmy4Fee/files/Fylj27cqPUUHWLZuSqNq" alt="Virtual card creation flow diagram"><figcaption><p>仮想カードの作成と有効化のフロー。</p></figcaption></figure>

仮想カードが次の状態で作成された場合 `有効`、最初の決済をすぐに実行できます。

カードが作成されると:

* D1は次を返します: `cardId`.
* `cardId` これはPANではありません。カードの一意な技術識別子です。
* 使用 `cardId` をD1 APIおよびD1 SDKで使用して、その後の操作でカードを参照します。
* Create cardで参照されるエンドユーザーがD1に登録されていない場合、D1は次からエンドユーザーを暗黙的に登録できます: `consumerId`.

作成後は、同じ仮想カードを他の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#post-v2-issuers-issuerid-cards)


---

# 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/create-virtual-cards.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.
