> 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/transit-digitization/ja/google-transit-no/akauntobsunochikettinguabt/raifusaikuru/kdoakauntonokyanseru.md).

# カードアカウントのキャンセル

カードアカウントのキャンセルワークフローは、カードアカウントがキャンセルされたときにTransit イシュアによってトリガーされます（たとえば、エンドユーザーが閉鎖した場合）

カードアカウントがキャンセルされると、それに紐づくデジタルカードをデバイスにプロビジョニングすることはもうできません。

このセクションでは、詳細な手順、シーケンス図、および起こりうるエラーシナリオを含む、このワークフローの概要を説明します。

### ワークフロー <a href="#workflow" id="workflow"></a>

以下は、カードアカウントキャンセルワークフローの概要手順です：

1. **カードアカウントのキャンセル**: Transit イシュアがユーザーのカードアカウントのキャンセルを開始します。
2. **トークンの削除**: カードアカウントに紐づくデジタルカードがユーザーのデバイスにプロビジョニングされている場合、D1 Transit は、削除が必要であることを Google に通知します。
3. **カードアカウントの無効化**: D1 Transit は、このカードアカウントがこれ以上使用できないことを Google に通知します。

### シーケンス図 <a href="#sequence-diagram" id="sequence-diagram"></a>

#### カードアカウントのキャンセル <a href="#card-account-cancellation" id="card-account-cancellation"></a>

Transit イシュアは、指定されたカードアカウントをキャンセルするよう D1 Transit に指示します。

#### トークンの削除 <a href="#delete-token" id="delete-token"></a>

ユーザーのデバイスにデジタルカードが存在する場合、D1 Transit は Google サーバーにトークン状態更新を通知します。D1 Transit からそのようなリクエストを受け取ると、Google サーバーは適用すべき状態変更を D1 Transit に要求し、トークンの削除を実行します。

Google が D1 Transit から状態変更を取得すると、D1 Transit はデジタルカード削除の結果を Transit イシュアに通知します。

#### カードアカウントの無効化 <a href="#card-account-deactivation" id="card-account-deactivation"></a>

カードアカウントが再び使用されるのを防ぐため、D1 Transit はカードメタデータ更新通知を Google に送ります。受信後、Google は D1 Transit からカードメタデータを取得し、D1 Transit はそのカードアカウントがエンドユーザーにはもはや利用できないことを返します。

<figure><img src="/files/1a6567d95cc73ff93588a1461e4f3ca9b83a8be0" 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/transit-digitization/ja/google-transit-no/akauntobsunochikettinguabt/raifusaikuru/kdoakauntonokyanseru.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.
