> 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/push-provisioning/ja/get-started/push-provisioning-overview/quick-start-guide/apple-pay.md).

# Apple Pay

### フェーズ 1：Apple のオンボーディング

{% stepper %}
{% step %}

#### Apple に特別な Entitlement とホワイトリストを申請する

[**Apple に特別な Entitlement とホワイトリストを申請する**](https://docs.payments.thalescloud.io/push-provisioning/ja/integrate-the-d1-sdk/getting-started/configuration/2.-onboarding/onboard-push-provisioning-for-wallets.md)：イシュアは、次の宛先に指定の情報を送信し、アプリケーション用の Entitlement とホワイトリストを申請する必要があります。

<p align="center"><a href="mailto:iap_entitlements@apple.com">iap_entitlements@apple.com</a></p>

{% hint style="info" %}
Entitlement の付与に関する確認とともに、イシュアは Apple から、アプリケーションの UX および機能設計の指針となる一連のドキュメントを受け取る必要があります。イシュアによる統合のやり直しを避けるため、プロジェクトの早い段階でこれらのドキュメントを確認することが重要です。
{% endhint %}
{% endstep %}

{% step %}

#### Apple Developer Website で Entitlement を設定する

[**Apple Developer Website で Entitlement を設定する**](https://docs.payments.thalescloud.io/push-provisioning/ja/integrate-the-d1-sdk/getting-started/configuration/2.-onboarding/onboard-push-provisioning-for-wallets.md)：イシュアは、In-App Provisioning Service の使用承認を得るため、Apple Developer Website で Entitlement を設定する必要があります。
{% endstep %}

{% step %}

#### Xcode で Entitlement を設定する

[**Xcode で Entitlement を設定する**](https://docs.payments.thalescloud.io/push-provisioning/ja/integrate-the-d1-sdk/getting-started/configuration/2.-onboarding/onboard-push-provisioning-for-wallets.md)：アプリが In-App Provisioning Service を使用することを宣言するため、イシュアは Xcode で Entitlement を設定する必要があります。
{% endstep %}

{% step %}

#### TSP システムの設定

以下に従って、TSP システムで必要な設定を行います。 [Apple Pay の要件](https://docs.payments.thalescloud.io/push-provisioning/ja/integrate-the-d1-sdk/getting-started/configuration/2.-onboarding/onboard-push-provisioning-for-wallets.md)。特に associatedApplicationIdentifiers に注意してください。
{% endstep %}
{% endstepper %}

### フェーズ 2：Thales D1 バックエンドの統合

{% stepper %}
{% step %}

#### オンボーディング

**オンボーディング**：Thales のインテグレーターは、D1 への接続に必要なすべての設定パラメーター（接続、キー、D1 サービス設定、カード製品など）を収集するため、Thales D1 オンボーディングフォームを提供します。

{% hint style="info" %}
イシュアは、プッシュプロビジョニング統合プロジェクトのために、TSP（Visa/Mastercard）とのプロジェクトを開始する必要があります。この作業は、Thales のオンボーディングと並行して開始することを推奨します。
{% endhint %}
{% endstep %}

{% step %}

#### 接続

[**接続**](https://docs.payments.thalescloud.io/push-provisioning/ja/integrate-the-d1-api/set-up-tls-mutual-authentication.md)：D1 が公開する API では、すべての API 呼び出しに TLS 相互認証が必要です。そのため、Thales CA が署名したクライアント証明書を使用して、プレプロダクション環境と本番環境の両方を明示的に設定する必要があります。
{% endstep %}

{% step %}

#### バックエンドの認証

[**バックエンドの認証**](https://docs.payments.thalescloud.io/push-provisioning/ja/integrate-the-d1-api/get-oauth-2.0-access-token.md)：受信する D1 API は OAuth JWT Bearer Credentials Flow によって保護されています。このフローでは、バックエンドが署名済み JWT を送信して D1 アクセストークンを取得し、それを使って D1 API にアクセスします。
{% endstep %}

{% step %}

#### データの暗号化

[**データの暗号化**](https://docs.payments.thalescloud.io/push-provisioning/ja/integrate-the-d1-api/encrypt-sensitive-data.md)：D1 バックエンドとやり取りする機密情報は、所定のアルゴリズムと受信者の EC 公開鍵を使用し、標準の JWE 形式で暗号化する必要があります。
{% endstep %}

{% step %}

#### API によるコンシューマーとカードの登録

[**コンシューマー**](https://docs.payments.thalescloud.io/push-provisioning/ja/get-started/manage-end-users.md) **と** [**カード**](https://docs.payments.thalescloud.io/push-provisioning/ja/get-started/manage-cards.md) **の API 登録**：多くの D1 サービスを利用するための前提条件として、一意の識別子を使用し、バックエンド間 API を介してエンドユーザー、アカウント、カードを D1 に登録する必要があります。
{% endstep %}

{% step %}

#### 一括登録

[**一括登録**](https://docs.payments.thalescloud.io/push-provisioning/ja/register-cards-via-batch-file/batch-file-overview.md)：D1 では、SFTP 経由でアップロードしたバッチファイルを使用して、特定の操作（コンシューマーやカードの登録など）を一括で実行するサービスを提供しています。
{% endstep %}
{% endstepper %}

### フェーズ 3：Thales D1 SDK の統合

{% stepper %}
{% step %}

#### バイナリの統合

[**バイナリの統合**](https://docs.payments.thalescloud.io/push-provisioning/ja/integrate-the-d1-sdk/getting-started/configuration/1.-binary-integration/ios.md)：イシュアは、D1 SDK のバイナリをアプリケーションプロジェクトに統合する必要があります。
{% endstep %}

{% step %}

#### SDK の初期化

[**SDK の初期化**](https://docs.payments.thalescloud.io/push-provisioning/ja/integrate-the-d1-sdk/getting-started/configuration/3.-initialization/ios-initialization.md)：イシュアのアプリは、API を呼び出す前に D1 SDK を初期化する必要があります。
{% endstep %}

{% step %}

#### ユーザー認証

[**ユーザー認証**](https://docs.payments.thalescloud.io/push-provisioning/ja/integrate-the-d1-sdk/getting-started/configuration/5.-authentication/sdk-login.md)：イシュアのアプリケーションは、D1 サービスを利用する前に、エンドユーザーが認証済みであることを示す証明を提供する必要があります。
{% endstep %}

{% step %}

#### Apple Pay ウォレットでカードの状態を確認する

[**Apple Payウォレットでカードの状態を確認する**](https://docs.payments.thalescloud.io/push-provisioning/ja/implement-push-provisioning/implement-push-to-digital-wallets/get-the-card-digitization-state.md)：イシュアアプリは、次の `d1Task.cardDigitizationState()` APIを使用して、Apple Payウォレット内のカードのデジタル化状態を確認し、次のアクションを判断する必要があります。
{% endstep %}

{% step %}

#### Apple Payウォレットへのカードの追加

[**Apple Payウォレットへのカードの追加**](https://docs.payments.thalescloud.io/push-provisioning/ja/implement-push-provisioning/implement-push-to-digital-wallets/push-to-the-digital-wallet.md)：ユーザーが「Apple Payに追加」をタップしたときに、カードをトークン化するため、次の `d1Task.addDigitalCardToOEM()` APIを呼び出します。
{% endstep %}

{% step %}

#### Apple Wallet拡張機能

[**Apple Wallet拡張機能**](https://docs.payments.thalescloud.io/push-provisioning/ja/implement-push-provisioning/implement-push-to-digital-wallets/apple-wallet-extension.md)：iOSモバイルバンキングアプリを提供するカードイシュアは、Wallet拡張機能に対応する必要があります。これにより、カードイシュアのモバイルアプリを利用する顧客は、対象となるすべてのApple iOSデバイスで、iOSのWalletアプリから新しいカードを直接追加できます。
{% endstep %}
{% endstepper %}

### フェーズ4：テストとトラブルシューティング

{% stepper %}
{% step %}

#### Apple Payサンドボックスでのテスト

イシュアは、まず次の環境を使用して連携をテストする必要があります。 [Apple Payサンドボックスモード](https://docs.payments.thalescloud.io/push-provisioning/ja/integrate-the-d1-sdk/getting-started/enviroments/push-provisioning-sandbox-testing.md).
{% endstep %}

{% step %}

#### エラー管理と報告

イシュアがテストで [エラー ](https://docs.payments.thalescloud.io/push-provisioning/ja/integrate-the-d1-sdk/troubleshooting/d1-sdk-error-management.md)に遭遇した場合は、まず次を確認する必要があります。 [一般的なエラー](https://docs.payments.thalescloud.io/push-provisioning/ja/integrate-the-d1-sdk/troubleshooting/push-provisioning-troubleshooting/ios.md) そのうえで [問題をThalesに報告します。](https://docs.payments.thalescloud.io/push-provisioning/ja/integrate-the-d1-sdk/troubleshooting/report-issues.md).
{% endstep %}

{% step %}

#### 本番環境でのテスト

イシュアはサンドボックスでのテストを完了したら、本番環境に移行し、そちらでもテストする必要があります。
{% endstep %}
{% endstepper %}

### フェーズ5：認証とローンチ

{% stepper %}
{% step %}

#### 独立した認証機関によるE2E認証

Appleの要件により、イシュアはアプリのエンドツーエンド認証を独立した認証機関から取得する必要があります。認証機関との契約はイシュアが行い、Appleの機能要件がすべて満たされていることが検証されます。
{% endstep %}

{% step %}

#### App Storeの審査にアプリを提出する

E2E認証が完了したら、イシュアはアプリの最終版をApp Storeの審査に提出できます。
{% endstep %}

{% step %}

#### Appleと公開日を計画する

App Storeでアプリの最終版の公開が承認されたら、イシュアはAppleと公開日を計画できます。
{% endstep %}
{% endstepper %}


---

# 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/push-provisioning/ja/get-started/push-provisioning-overview/quick-start-guide/apple-pay.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.
