Learn Anatomy of a Checkout

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

  1. Lesson 1: Improve the checkout
  2. Lesson 2: The checkout flow
  3. Lesson 3: Authorization
  4. Lesson 4: Payment states
  5. Lesson 5: Capture
  6. Lesson 6: Clearing and settlement
  7. Lesson 7: Cash capture
  8. Lesson 8: Returns and refunds
  9. Lesson 9: Disputes
  10. Lesson 10: Tokens and stored credentials (this lesson)
  11. Lesson 11: Transaction types
  12. Lesson 12: Complete reference
  13. Lesson 13: Payments compliance
All 16 pages in this guide
  1. Improve the checkout
  2. The checkout flow
  3. Authorization
  4. Payment states
  5. Capture
  6. Clearing and settlement
  7. Cash capture
  8. Returns and refunds
  9. Disputes
  10. Tokens and stored credentials
  11. Transaction types
  12. Complete reference
  13. Payments compliance
  14. Follow one order
  15. Where it breaks
  16. Payments dictionary

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.

One card, many credentials

The quick reference

CredentialWho creates itWhere it worksCan it pay?
FPAN
Funding PAN
IssuerAnywhere the card is acceptedYes. Full PCI DSS scope applies.
Gateway token
Vault token
Your payment providerOnly with that providerOnly through that provider
Network tokenCard network's token service, at the request of a token requestorRestricted 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 walletOne wallet on one deviceYes, with a cryptogram from the device
MPAN
Merchant token
Network token service, through the wallet, for one merchantThat merchant, across the customer's devicesYes, including merchant-initiated charges
PAR
Payment Account Reference
Assigned per account under the EMVCo standardShared by the PAN and its tokensNo. 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.

Which number is used

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

PartyPhone wallet payment (DPAN)Typed card or Google Pay PAN_ONLY (FPAN)
CustomerSees 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 & serversEncrypted 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.
GatewayDecrypts the wallet payload: DPAN, expiry, cryptogram, ECI.Receives and vaults the FPAN.
Card networkValidates the cryptogram and maps DPAN → FPAN.Passes the FPAN through, or maps a merchant network token if one was used.
IssuerFPAN, 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.

EventFPAN in your vaultMerchant network tokenDPANMPAN
Bank reissues the card (new number or expiry)Breaks unless an account updater service refreshes itKeeps working the network updates the linkUsually updated when the issuer pushes the change to the walletKeeps working you can receive a lifecycle notice
Customer gets a new phoneNo effectNo effectReplaced the new device gets a new DPANNo effect it is tied to the customer and merchant, not the device
Customer removes the card from the walletNo effectNo effectMay stop workingNo 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.

Standing instructions
Agreed in advance

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).

Industry practice
Follow-ons to a purchase

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

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.

Transaction types: every card payment gets three labels, channel, initiator, and credential. ChannelInitiatorCredential threelabels