How Apple Pay & Google Pay Work: Tokenization, NFC and UPI Explained
Tap your phone and the payment is done in a second. Here is what actually happens behind the scenes in Apple Pay and Google Pay — tokens, NFC, cryptograms, and how UPI-based Google Pay works differently in India.
You hold your phone near a card machine, it buzzes, and the payment is done. No card, no PIN, no signature. Apple Pay and Google Pay make this feel effortless — but behind that one-second tap is some clever security engineering. In this post we break down exactly how both work, and what is different about payments in India.
The Big Idea: Your Real Card Number Never Leaves the Phone
The core technology behind both Apple Pay and Google Pay (card payments) is tokenization. When you add a credit or debit card to your phone, the wallet does not store your actual 16-digit card number. Instead, the card network (Visa, Mastercard, RuPay, Amex) issues a substitute number called a token — also known as a Device Account Number (DAN) on Apple devices.
This token is linked to your real card only inside the card network's secure vault. Merchants, payment terminals and even Apple or Google never see your actual card number. If a shop's system is ever hacked, the attacker gets a token that is useless outside your specific device.
Step 1: Adding a Card to the Wallet
- You add a card by scanning it or entering details in Apple Wallet or Google Wallet.
- The details go to the card network (encrypted), which checks with your bank that the card is valid and belongs to you.
- Your bank verifies you — usually with an OTP by SMS, a call, or through the bank's app.
- A token is issued for that device and stored securely on the phone. The same card added on your iPhone and your Apple Watch gets two different tokens.
Step 2: Tapping to Pay (NFC)
When you pay in a store, your phone talks to the terminal using NFC (Near Field Communication), a short-range radio that only works within a few centimetres. Here is the sequence:
- You authenticate with Face ID, Touch ID, fingerprint, or your phone PIN. Without this, the wallet will not pay.
- The phone sends the token plus a one-time cryptogram — a unique code generated for this transaction only. It cannot be reused, so a copied transaction is worthless.
- The terminal forwards it to the merchant's acquiring bank, which sends it to the card network.
- The network de-tokenizes — it maps the token back to your real card and checks the cryptogram.
- Your bank approves or declines, and the answer travels back to the terminal. All of this happens in about a second.
Apple Pay vs Google Pay: Where the Token Lives
The biggest technical difference between the two is where the secret payment data is kept on the phone.
| Apple Pay | Google Pay / Google Wallet (cards) | |
|---|---|---|
| Storage | Secure Element — a separate tamper-resistant chip | Host Card Emulation (HCE) — software-based, with tokens managed in the cloud |
| Devices | iPhone, Apple Watch, iPad, Mac | Android phones with NFC, Wear OS watches |
| Authentication | Face ID, Touch ID, passcode | Fingerprint, face unlock, screen lock PIN |
| Offline payments | Works with no internet | Limited offline payments using pre-loaded single-use keys |
| Online checkout | Yes, in apps and Safari | Yes, in apps and Chrome |
Apple's Secure Element is a dedicated chip, isolated from the main operating system, so the token never touches regular apps. Google's HCE approach lets any NFC Android phone work, using limited-use keys refreshed from the cloud. Both are considered very secure — they just take different routes.
Paying Online and in Apps
Both wallets also work for online checkout. Instead of typing your card number into a website, you tap the Apple Pay or Google Pay button and confirm with biometrics. The merchant receives a token and cryptogram, not your card details. This cuts down card-not-present fraud and also means you never have to save your card on dozens of websites.
How Google Pay Is Different in India
In India, most people know Google Pay (GPay) as a UPI app, not a card wallet. When you pay with GPay in India, it usually works like this:
- Your bank account is linked through UPI, verified with your registered mobile number and debit card details.
- You scan a QR code or enter a UPI ID instead of tapping NFC.
- You enter your UPI PIN, which is encrypted and sent through NPCI's UPI network to your bank.
- Money moves bank-to-bank instantly — no card network involved.
GPay India also supports tap-to-pay with tokenized cards and RuPay credit cards on UPI, but QR-based UPI remains the most common way people pay.
Apple Pay Has Arrived in India
After years of waiting, Apple Pay launched in India on 30 September 2026. At launch it supports eligible Axis Bank Visa and Mastercard credit cards for tap-to-pay in stores, in apps and online. Debit cards, RuPay cards and UPI are not supported yet, so for now most iPhone users in India will continue using UPI apps alongside Apple Pay. More banks are expected to join over time.
Is It Safer Than Using a Physical Card?
In most cases, yes:
- No card number is shared with the merchant — only a device-specific token.
- Every payment has a one-time cryptogram, so stolen transaction data cannot be replayed.
- Biometric authentication is needed for each payment, so a lost phone cannot simply be used to pay.
- Remote lock and wipe — you can suspend cards from Find My iPhone or Find My Device without cancelling the physical card.
Quick Summary
- Apple Pay and Google Pay replace your card number with a secure token.
- Each tap sends the token and a one-time cryptogram over NFC.
- Apple stores tokens in a Secure Element chip; Google uses Host Card Emulation.
- In India, Google Pay mainly runs on UPI, while Apple Pay currently works with Axis Bank credit cards.
Running a retail shop or agency? With Pay2All you can accept UPI, offer bill payments, recharges, AEPS and more — all from one platform. Get in touch with the Pay2All team to grow your business with digital payments.
Images: Unsplash (free licence).
Build your fintech or ERP with Pay2All
Recharge, Bill Payment, AEPS, DMT, PAN and travel APIs — plus billing & ERP software.