> 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/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/make-payments/implement-contactless-payment/1.-check-prerequisites.md).

# 1. 前提条件を確認する

### 要件

非接触決済を構築および検証する前に、これらの要件を満たしてください:

* **デバイスとOS**: NFC対応デバイスの iOS 17.4 以降。
* **Appleアカウント**: 欧州経済領域（EEA）に登録された Apple ID。
* **権限（Entitlement）**: Apple が HCE 権限を付与します。
  * Xcode プロジェクト設定を更新します。
  * 権限を更新する `.plist`.
  * 更新 `Info.plist` に権限と必要なメタデータを含めます。
  * 詳細については、次を参照してください **Xcode での権限の構成と有効化** に [Apple HCE 権限](https://developer.apple.com/support/hce-transactions-in-apps/).
* **場所（テスト）**:
  * iOS 17.4 から iOS 18.1 では、非接触決済を検証するには物理的に EEA 内にいる必要があります。
  * 以降の iOS バージョンについては、次を参照してください **テスト要件** に [Apple HCE 権限](https://developer.apple.com/support/hce-transactions-in-apps/).

{% hint style="warning" %}
HCE 権限リクエストを Apple に提出する際、サポートされる AID の完全なリストを含めてください。

必ず PPSE AID を含めてください:

* **2PAY.SYS.DDF01** （16 進形式では「325041592E5359532E4444463031」）
  {% endhint %}

### 非接触決済を開始する前に

#### 非接触機能を確認する

許可を要求する前に、デバイスが非接触決済をサポートしていることを確認してください。次に従います [非接触機能を確認する](/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/check-contactless-capability.md).

#### 許可を要求する

あなたのデジタルウォレットアプリは次の許可を要求する必要があります: **Contactless & NFC（非接触＆NFC）** 許可に関するエンドユーザーの体験は次のとおりです:

<figure><img src="/files/dd606dd2f94214d5b642b03d32cf4b51173d65b8" alt="iOS prompt for Contactless &#x26; NFC permission"><figcaption><p>Contactless &#x26; NFC 許可を求める iOS のプロンプト。</p></figcaption></figure>

プロンプトの後、エンドユーザーは次で許可を管理できます **設定** > **あなたのイシュアアプリ** > **Contactless & NFC（非接触＆NFC）**.

次のコードを使用して許可を要求します:

```swift
let contactlessPaymentSession = ContactlessPaymentSession()
do {
  try await contactlessPaymentSession.requestAuthorization()
} catch ContactlessPaymentSession.Error.permissionNotAccepted(let reason) {
  // 許可が付与されませんでした。
} catch {
  // デバイスの適格性に起因するその他のエラー
}
```

{% hint style="info" %}
次の許可を要求します **Contactless & NFC（非接触＆NFC）** エンドユーザーが最初のデジタルカードをプロビジョニングする際に許可を要求してください。

エンドユーザーが許可を拒否した場合、イシュアアプリは非接触決済を実行できません。
{% endhint %}


---

# 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/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/make-payments/implement-contactless-payment/1.-check-prerequisites.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.
