When you use a saved Visa card on Amazon, the underlying process relies on a complex, multi-party exchange to swap your real card number with a token. This specific framework is known as Token-on-File (ToF).
Here is exactly how the process unfolds, step-by-step.
The Ecosystem Players
To understand the steps, it helps to know who is talking to whom:
- You / Amazon: The consumer and the merchant website.
- Token Acquirer/ Requestor: The payment gateway or backend processor handling Amazonβs checkout (Amazon often acts as its own Token Requestor).
- Visa Token Service (VTS): The central vault mapping tokens back to real card numbers.
- Issuer: The bank that printed your physical card.
Phase 1: Provisioning (Saving the Card)
This setup phase happens the very first time you add your Visa card to your Amazon account, or when Amazon migrates its existing stored database to tokens.
[ Amazon ] ββ(1. Send Real PAN)ββ> [ Visa Token Service ] ββ(2. Check Eligibility)ββ> [ Your Bank (Issuer) ]
β² β β
β βΌ βΌ
(4. Store Token) <βββββββββββββββ(3. Generate Token) ββββββββββββββββββββββββββββββββ(Approve / Risk Check)
- Card Entry: You enter your 16-digit card number (Primary Account Number or PAN), expiration date, and CVV into Amazon.
- Token Request: Amazon safely passes this data to the Visa Token Service, acting as a βToken Requestor.β Amazon asks: βCan I get a secure token for this card?β
- Issuer Validation: Visa contacts your bank (the Issuer). The bank performs a background risk assessment to ensure your account is active and safe.
- Token Generation: Once approved, VTS generates a unique 16-digit digital token. This token looks exactly like a standard credit card number and passes basic card checks, but it is entirely different from your real card.
- Storage swap: Visa sends the token back to Amazon. Amazon securely stores this Token in their database instead of your real card number. Your real card details are never saved on Amazonβs servers.
Phase 2: Transaction Checkout (Buying an Item)
This phase happens every time you click βPlace your orderβ on Amazon using that saved card.
[ You ] ββ(1. Click Buy)ββ> [ Amazon ] ββ(2. Send Token + Crypto)ββ> [ Acquiring Bank ] ββ> [ Visa Network ]
β
βΌ
[ Your Bank ] <ββ(5. Approve)ββ [ Visa Network ] <ββ(4. Swap Token to Real PAN)ββ [ Visa Token Vault ]
- Initiation: You hit βPlace your order.β Amazon pulls up your saved profile.
- Cryptogram Generation: Amazon requests a unique, one-time transaction cryptogram (a dynamic security code) from Visa. This cryptogram proves that the token is being used on Amazon and nowhere else.
- Routing: Amazon sends the Token, the Cryptogram, and the purchase amount to its bank processor (the Acquirer).
- De-Tokenization: The processor routes the transaction to the Visa network. Visa intercepts it, looks up the token in its secure vault, verifies the cryptogram, and swaps the token back to your real 16-digit card number.
- Authorization: Visa sends your real card number to your bank. Your bank checks if you have enough funds, approves the transaction, and sends the approval back to Visa.
- Completion: Visa wraps the approval back into a tokenized format, sends it back down the chain to Amazon, and your screen refreshes to say βOrder Confirmed!β
Why need for a processor? Can Amazonβs backend canβt just do it?