> 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).

# SMS/メールによるOTP

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

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

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

{% stepper %}
{% step %}

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

イシュアは優先される方法に従ってエンドユーザーの電話番号および／またはメールを提供する必要があります。詳細は [開始方法](/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="/files/3a138c2b30708290f1ce1d49dc610c579ad16a1f" alt=""><figcaption><p>OTP配信フロー（高レベル）</p></figcaption></figure>

### シーケンス図

<figure><img src="/files/1be3392361c7dd6d0a73c4ff77e39b2c897bc71a" 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 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/tokenization/ja/implement-tokenization/card-tokenization-request/processing-the-response/approve-with-step-up-authentication/otp-by-sms-email.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.
