Contactless payments and NFC secure element
Lets an app act as a contactless card or key. Open on Android, entitlement gated on iOS.
In one line
Can act as a contactless card or key on Android freely, but iPhone needs Apple approval
Lets an app act as a contactless card or key. Open on Android, entitlement gated on iOS.
Android has allowed host card emulation since 2013. Apple opened it first in the EU in 2024.
What it can and can't do
What the user does: You choose the app as your default payment app, then tap a reader
It can
- Answer a payment terminal as a virtual card (Android, once you pick it as default)
- Hold transit, access or loyalty credentials without the system wallet
- Ask for Face ID to pay on iPhone where Apple allows it
It cannot
- Become the default payment app without you picking it
- Work on iPhone without Apple's entitlement
- Work on iPhone in every region; it began in the EU and grew from iOS 18.1
How it differs between platforms: Android has allowed this since 2013 with no approval; iPhone opened it first in the EU in 2024 and in more regions from iOS 18.1.
On Android and iPhone
| Android | iPhone | |
|---|---|---|
| Status | Supported | Behind a flag |
| First version | Android 4.4 (API 19) | iOS 17.4 |
| Permission or entitlement | BIND_NFC_SERVICE (service), NFC (normal) | com.apple.developer.nfc.hce (EU), com.apple.developer.secure-element-credential |
| Protection level | normal | entitlement |
| How access is granted | install | entitlement |
| What the user sees | Default payment app chooser in Settings | Default contactless app setting; Face ID to pay |
| How long it lasts | Until changed | Until changed |
| How to take it back | Settings > Connected devices > Contactless payments | Settings > Wallet & Apple Pay > Contactless Payments |
| Store policy | Play: payments policy | Apple approves; originally EU only |
| API | HostApduService, CardEmulation | CardSession, SecureElement APIs |
| Notes | Host card emulation; no Google approval needed | Opened in the EU with iOS 17.4; NFC and SE APIs in more regions from iOS 18.1 |
Data you get
What comes back: Payment tap
Shape: event
How often: per tap
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
aid | string | hex | 5 to 16 bytes | Not listed |
Technical limits
- Apple review and entitlement needed
- Regional rollout on iOS
The story
What it is
Lets an app act as a contactless card or key, held in the phone's secure chip or in software.
For you
You hold your phone near a reader at a shop, a train gate or a car door. It works if the bank or key app has been allowed to do it. You do not need to open Apple Wallet or Google Wallet.
For makers
A bank or car maker can run its own tap experience and brand it. This avoids sharing the experience with the system wallet. Apple only opened this widely after European law and later in more countries.
Where you see it
| Type | Example | Apps |
|---|---|---|
| payments | A bank wallet app takes a tap at a shop without using Apple Pay. | None named |
| travel | A city transit app lets riders tap through the gate with a pass held in the app. | None named |
| automotive | A car maker's app unlocks a vehicle when you hold your phone to the door handle. | None named |
| enterprise | An office badge in a company app opens doors and checks you in. | None named |
| shopping | A store app holds loyalty and payment in one tap. | None named |
| education | A student ID opens dorm doors. | None named |
| security | A hotel app holds a room key that expires at check out. | None named |
Risks
- Stolen phone could open doors
- Fraud with cloned cards
- Rules differ by country
Android and iPhone in short
- Android: Android has let apps emulate a card in software (host card emulation) since 2013, with no approval from Google needed.
- iPhone: Apple first opened this in the EU with iOS 17.4 and added the NFC and secure chip APIs in more countries from iOS 18.1.
What the platform says
- Apple: NFC and SE Platform. Apple opened the phone's secure tap hardware so approved apps can offer in app tap to pay and keys.
Good uses and abuse
Legitimate uses
- Wallets
- Transit and keys
Known abuse
- Relay attacks
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 4 of 5 | How revealing the data is |
| Utility | 4 of 5 | How useful it is to honest apps |
| Friction | 3 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough identifying entropy, when known |
History
- 2013-10, Android 4.4 (API 19): Host card emulation
- 2024-03, iPhone iOS 17.4: HCE for contactless payments in the EU
- 2024-10, iPhone iOS 18.1: NFC and SE APIs in more regions
Related capabilities
Related
- NFC. Can scan NFC tags and cards that you hold to the phone
Same idea on the web
- Web NFC. Can scan NFC tags and save to them when your phone touches one
Sources
How well checked: Based on official documentation.