> 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/deng-lu-hou/tkunraifusaikuru/tspkaratkunwosuru.md).

# TSPからトークンを更新する

トークンの更新は既存のトークンのみに適用されます。これらのトークンは既にデジタルウォレットアプリケーションにプロビジョニングされ、アクティベートされています。

次について支払いネットワークと合意してください： **LCM** 発行されたトークンに適用するポリシー。 そのポリシーに基づき、 **TSP** は適切な有効期限を持つトークンを発行します。

トークンが有効期限切れになると、支払いネットワークは **TSP** 再プロビジョニングできます。新しい有効期限を持つ新しいトークンをプロビジョニングします。

更新が完了（または失敗）したときにコールバックを受け取るオプトインが可能です。

### フロー

この図はトークン更新フローを示しています。また、結果を確認するために使用されるコールバックも示しています。

<figure><img src="/files/90df170e6fcbbbc32a2f6d19051bdf3882799d81" alt="Payment network TSP token renewal flow."><figcaption><p>支払いネットワークのTSPによって開始されたトークンの更新。</p></figcaption></figure>

### コールバックを処理する

更新が完了（または失敗）したときに、次を受け取ります `notifyVirtualCardChange`.

参照： [`notifyVirtualCardChange`](https://thales-dis-dbp.stoplight.io/docs/digital-payment/b3A6MjU4Nzg1MjE-notify-issuer-about-any-virtual-card-token-change).

**notifyVirtualCardChange** パラメータ：

| パラメータ              | 説明                                      |
| ------------------ | --------------------------------------- |
| `x-correlation-id` | このコールバックを関連するトークン更新操作と相関付けます。           |
| `virtualCardId`    | 更新されたトークンを識別します。                        |
| `action`           | 実行されたアクションを指定します。トークンの更新の場合、値は `RENEW`. |

{% hint style="info" %}
冪等に `notifyVirtualCardChange` 処理してください。コールバックは重複したり遅延したりする可能性があります。

これは現在以下に適用されます：

* Mastercard
* Visa
  {% endhint %}

### 関連ドキュメント

* [イシュアのバックエンドからトークン状態を更新する](/classic-tokenization/ja/ysuksu/deng-lu-hou/tkunraifusaikuru/ishuabakkuendokaratkunwosuru.md)
* [ウォレットプロバイダーからトークン状態を更新する](/classic-tokenization/ja/ysuksu/deng-lu-hou/tkunraifusaikuru/worettopurobaidkaratkunwosuru.md)


---

# 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/deng-lu-hou/tkunraifusaikuru/tspkaratkunwosuru.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.
