> 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/tokenization/ja/implement-tokenization/card-tokenization-request/processing-the-response/approve-with-step-up-authentication/otp-by-sms-email.md). Agents can also search and read this documentation through its [MCP server](https://docs.payments.thalescloud.io/~gitbook/mcp).

# SMS/メールによる OTP

決済ネットワーク **TSP** 認証できます **エンドユーザー** ワンタイムパスワード（**OTP**）はTSPによって生成および管理されます。

この **イシュア** はSMSまたはメールでOTPをエンドユーザーに届けます。

D1はイシュアに代わってSMSおよびメールを送信できます。次の条件が適用されます：

{% stepper %}
{% step %}

### 連絡先情報を提供する

イシュアは優先される方法に従ってエンドユーザーの電話番号および／またはメールを提供する必要があります。詳細は [開始方法](https://docs.payments.thalescloud.io/tokenization/ja/get-started.md) を参照してください。

D1はこのAPIを使用して、あなたの **イシュアのバックエンド**.

{% hint style="warning" %}
からエンドユーザーの連絡先情報を取得します。D1はエンドユーザー連絡先情報の真正性を検証できません。検証済みのエンドユーザーデータをD1に提供する責任はイシュアにあります。
{% endhint %}
{% endstep %}

{% step %}

### テンプレートを構成する

イシュアはメッセージテンプレートを構成する必要があります。D1はプレースホルダーをサポートしており、最後の4桁の **PAN** およびOTP値を含めることができます。
{% endstep %}

{% step %}

### DNSゾーンを更新する

イシュアはD1がイシュアに代わってメールを送信できるようにし、メールがスパムとして扱われないようにDNSゾーンファイルを更新する必要があります。

詳細な手順はThalesのデリバリーチームによって調整されます。要約すると、イシュアはサブドメイン（例： `email.bankname.com`）を定義および構成し、それをThalesと共有します。Thalesはそれを使用してイシュアがDNSゾーンファイルに追加するDNSレコードを生成します。
{% endstep %}
{% endstepper %}

### フロー

<figure><img src="https://2053028894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FW6dljaTEEzefPQILRFB7%2Fuploads%2FUTG2iNTGy0Ab3trCF5St%2Femail.svg?alt=media&amp;token=7f327be5-0757-4450-b0c4-55db351d458e" alt=""><figcaption><p>OTP配信フロー（高レベル）</p></figcaption></figure>

### シーケンス図

<figure><img src="https://2053028894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FW6dljaTEEzefPQILRFB7%2Fuploads%2Ff3gKoOuU2eSHE1uVLGMo%2Femail.svg?alt=media&amp;token=40a70c5a-d921-447a-8e42-437c645f4e37" alt=""><figcaption><p>OTP配信シーケンス図</p></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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.payments.thalescloud.io/tokenization/ja/implement-tokenization/card-tokenization-request/processing-the-response/approve-with-step-up-authentication/otp-by-sms-email.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
