Lesson 10 of 13
Tokens and stored credentials.
FPAN, DPAN, MPAN, network tokens, and PAR, and which card number travels on each hop.
By Nagesh Koritala 19 min read Last verified: November 2026
- Lesson 1: Improve the checkout
- Lesson 2: The checkout flow
- Lesson 3: Authorization
- Lesson 4: Payment states
- Lesson 5: Capture
- Lesson 6: Clearing and settlement
- Lesson 7: Cash capture
- Lesson 8: Returns and refunds
- Lesson 9: Disputes
- Lesson 10: Tokens and stored credentials (this lesson)
- Lesson 11: Transaction types
- Lesson 12: Complete reference
- Lesson 13: Payments compliance
So far I have said “token” as if there were only one kind. There are several, and they sit in layers on top of one real card number. Knowing which one you hold tells you who can use it, where it works, and what happens when the customer gets a new card or a new phone.
Start with the map. Tap any credential to see what it links to.
The quick reference
| Credential | Who creates it | Where it works | Can it pay? |
|---|---|---|---|
| FPAN Funding PAN | Issuer | Anywhere the card is accepted | Yes. Full PCI DSS scope applies. |
| Gateway token Vault token | Your payment provider | Only with that provider | Only through that provider |
| Network token | Card network's token service, at the request of a token requestor | Restricted to its requestor and domain (a merchant, or a wallet on a device) | Yes. Customer-initiated payments carry a one-time cryptogram; merchant-initiated ones follow the stored-credential rules instead. |
| DPAN Device PAN | Network token service, provisioned to a wallet | One wallet on one device | Yes, with a cryptogram from the device |
| MPAN Merchant token | Network token service, through the wallet, for one merchant | That merchant, across the customer's devices | Yes, including merchant-initiated charges |
| PAR Payment Account Reference | Assigned per account under the EMVCo standard | Shared by the PAN and its tokens | No. It is a reference, not a credential. |
DPAN or FPAN: which number travels when
This is the question that trips up most teams. The answer depends on two things: how the customer pays (physical card, phone wallet, typed card, saved card) and which hop of the journey you are looking at. A single payment can start as a DPAN and arrive at the issuer as an FPAN.
Pick a scenario. The strip shows which number is on each hop, and where the swap happens.
FPANDevice token (DPAN)Merchant token (MPAN)
The rules of thumb
The issuer ends up with the FPAN. Whatever token the customer presents, it is swapped back before the issuer decides. The issuer also receives token details, so it knows the payment came from a wallet or a merchant token.
The swap usually happens at the card network, in its token service. Some issuers run their own token service and do the swap themselves. Merchants, gateways, and acquirers pass the token through untouched.
A DPAN means “this device, right now.” Use it for the purchase in front of you. Do not rely on it for charges months later, because a new phone means a new DPAN.
For future charges, store something that outlives the device: an MPAN for Apple Pay subscriptions (Google Pay offers a similar merchant token when you request it for merchant-initiated use), a merchant network token for typed cards, or an FPAN in your provider's vault with an account updater service as the fallback.
Google Pay comes in two forms. A card tokenized on an Android phone arrives as a DPAN with a cryptogram (Google calls this CRYPTOGRAM_3DS). A card simply saved to the shopper's Google account, common on desktop browsers and iPhones, arrives as the card number itself with no cryptogram (PAN_ONLY). Treat the second like a typed card: run 3-D Secure if you want fraud liability protection.
Who sees which number
| Party | Phone wallet payment (DPAN) | Typed card or Google Pay PAN_ONLY (FPAN) |
|---|---|---|
| Customer | Sees their card in the wallet. The DPAN's last digits are visible in the wallet's card details. | Typed it in, or saved it to Google earlier. |
| Your storefront & servers | Encrypted payload only. After your provider decrypts it, you get the brand and, from most providers, both the real card's last four and the DPAN's last four. | Nothing, if you use hosted fields. You get a token and the real last four. |
| Gateway | Decrypts the wallet payload: DPAN, expiry, cryptogram, ECI. | Receives and vaults the FPAN. |
| Card network | Validates the cryptogram and maps DPAN → FPAN. | Passes the FPAN through, or maps a merchant network token if one was used. |
| Issuer | FPAN, plus details that it came from a device token. | FPAN. |
What happens when life changes
This table is why the choice matters. It shows what happens to a credential you stored when the customer's card or phone changes.
| Event | FPAN in your vault | Merchant network token | DPAN | MPAN |
|---|---|---|---|---|
| Bank reissues the card (new number or expiry) | Breaks unless an account updater service refreshes it | Keeps working the network updates the link | Usually updated when the issuer pushes the change to the wallet | Keeps working you can receive a lifecycle notice |
| Customer gets a new phone | No effect | No effect | Replaced the new device gets a new DPAN | No effect it is tied to the customer and merchant, not the device |
| Customer removes the card from the wallet | No effect | No effect | May stop working | No effect it stops only if the customer deletes it in Wallet or the issuer revokes it, and you get a notice |
Two operational traps. First, wallet payments made with a device token print the device number's last four digits on the receipt, not the card's. A cashier who checks the last four against the customer's physical card will see a mismatch on a legitimate return. Train staff to have the customer tap the same device, or look the order up by receipt. Second, fraud rules and “have we seen this card before” logic keyed on last four or on a token break across wallets. Where PAR is available, key on it: it links a card and its tokens, though not every issuer or processor returns it.
How a wallet payment gets back to the real card
When a shopper pays with a phone wallet, the merchant never sees the card number. The device sends a DPAN and a one-time cryptogram. The card network checks the cryptogram, swaps the token for the FPAN, and sends both to the issuer. Step through it.
Stored credentials and standing instructions
Saving a card so you can charge it later is called a stored credential, or card on file. The card networks have rules for it, often called the stored credential framework. The rules exist so the issuer knows whether the customer is present, and can approve a charge they would otherwise treat as suspicious.
Every stored credential starts with a customer-initiated transaction (CIT): the customer is present, agrees to the terms, and you tell the issuer you are storing the card. The authorization response includes a network transaction ID, assigned by the card network. Later, when you charge without the customer present, that is a merchant-initiated transaction (MIT), and you send that original ID so the issuer can link the charge back to the customer's consent.
MITs come in two families. Knowing the family tells you which indicator to send.
The customer set up an ongoing arrangement. Recurring (fixed schedule, such as a subscription), installment (one purchase split into scheduled payments), and unscheduled card on file (charges at agreed triggers, such as an auto top-up).
Charges that complete an earlier CIT. Reauthorization (the hold expired before shipment, as in lesson 5), resubmission (retrying a decline), delayed charge, incremental (amount grew), and no-show.
Why this matters for checkout. The “Save this card” checkbox is not a UI nicety. It is the consent record for every future MIT. Store the agreement terms, the token, and the original network transaction ID together on the customer's wallet record. If a dispute arrives months later, that record is your evidence.
Field names differ by provider (for example “stored credential indicator,” “initiator,” or “subsequent auth”). Card brands also have their own variants, such as Mastercard's standing order and subscription categories. Check your gateway's documentation for exact values.
Sources for this guide
Card network rules change. Time limits, fees, and authorization windows here reflect published rules and provider documentation as of late 2026; confirm details with your processor before you build against them.
Sources
- Visa authorization and clearing time frame changes, April 2024 (TD Bank summary)
- Checkout.com: Visa authorization processing time frames
- Stripe: Place a hold on a payment method
- Revolut: Clearing windows by card brand
- Moov: Card-not-present best practices
- Adyen: Dispute timeframes
- Cybersource: Stored credential framework (CIT, MIT, standing instructions)
- VGS: DPAN vs MPAN
- Stripe: Apple Pay merchant tokens
- Google Pay: Payment data cryptography (PAN_ONLY and CRYPTOGRAM_3DS)
- Checkout.com: Google Pay authentication methods and liability shift
- Solidgate: Why the Apple Pay card number differs from the card
- Spreedly: Payment Account Reference (PAR)
- Visa: Authorization and reversal processing best practices
- Visa: Authorization framework time frames (2024)
- Visa: Declined transaction resubmission rules
- Visa: Dispute management guidelines for merchants
- Visa: VAMP fact sheet
- Visa: Account Updater FAQ
- Mastercard: Chargeback Guide, Merchant Edition
- Mastercard AN 5524: CIT and MIT indicators (via AIB Merchant Services)
- Mastercard Gateway: Cardholder and merchant initiated payments
- Adyen: Mastercard Transaction Link Identifier
- American Express: US Disputes Reference Guide
- American Express: International Merchant Regulations
- Adyen: Adjust authorisation (validity by brand)
- Apple: Merchant tokens (MPANs)
- Apple: Payment token format reference
- Apple: Merchant Token Notification Services
- Google Pay: Merchant-initiated transactions
- Google Pay: Token lifecycle management
- Stripe: PaymentIntent lifecycle
- Stripe: Refund object
- Stripe: Dispute object
- Stripe: Subscription object
- Stripe: Decline codes
- PCI SSC: Future-dated requirements of PCI DSS v4.x
- Report URI: SAQ A changes in PCI DSS 4.0.1
- SecureTrust: PCI DSS SAQ types
- Chargeback Gurus: Regulation II and card-not-present debit
- Baymard Institute: Cart abandonment rate statistics (updated September 2025)
- Baymard Institute: The current state of checkout UX (2025)
- Baymard Institute: Checkout optimization and average form fields (2024)
- Baymard Institute: Inline form validation
- Baymard Institute: Adaptive validation error messages
- Adobe: 2025 US holiday shopping season
- US Department of Justice: Guidance on web accessibility and the ADA
- W3C: Web Content Accessibility Guidelines (WCAG) 2.2
- Apple: Human Interface Guidelines, accessibility
- Stripe: How to increase checkout conversion
- Stripe: The checkout process, reducing friction
Your progress stays on this device.
Next: Lesson 11
Transaction types.
Channel, initiator, and credential: how to label every card payment, with an interactive classifier.
Questions about payments? Email me. I read every note.