Tokenization
1 Dec
2026

What is a token vault? How it stores card data

Phone showing a stored card with merchant-owned token mapping, a card fingerprint and the same token linked to several PSPs

A token vault, also called a payment vault or card vault, is a secure database that stores card numbers and gives your systems a token to use in their place. Only the vault can map a token back to its card, so a stolen token can't pay for anything.

Who runs the vault matters as much as what it does. If your payment provider holds your cards, switching that provider off means migrating every token first, or asking customers to type their cards in again. Saved cards, subscription renewals and one-click repeat purchases all depend on card vaulting.

Every merchant that stores cards uses a vault, whether it runs one or relies on its payment service provider's (PSP's). We cover how to pick one in how to choose a token vault.

Key points

  • A vault token is random, so a copy of your token database exposes no cards.
  • The vault never stores the card's security code. PCI rules forbid keeping it after authorization.
  • A multi-PSP vault keeps every credential for a card in one record, network token included.
  • Your token-only systems can leave PCI DSS scope; the vault stays in it.

How does a token vault work?

A token vault takes the card number at checkout, hands back a token, and gives the card number out again only when a payment needs it. In between, your own systems handle tokens only.

  1. Capture. The shopper types the card into payment fields that the vault provider hosts, so the number goes straight to the vault and never passes through your servers.
  2. Tokenization. The vault creates a random token. PCI guidance requires that nobody can feasibly work out the card number from it, even with many tokens in hand.
  3. Storage. The vault keeps the card number encrypted, next to its token. Only systems with permission can ask for the card number back.
  4. Use in your systems. Your order database and billing system store the token, and a refund or renewal refers to the card by its token.
  5. Detokenization. When a payment needs the real card, the vault swaps the token back and sends the card details directly to the PSP. Your server sends the token and gets the result.

What does a token look like?

A token can take almost any format, as long as it reveals nothing about the card. The PCI tokenization guidelines give three common examples.

Card number (PAN)TokenFormat
3124 005917 233877aF1Zx118523mw4cwl5x2Letters and digits
4959 0059 0172 3389729129118523184663129Digits only
5994 0059 0172 3383599400x18523mw4cw3383Keeps the first six and last four digits

Source: PCI SSC, Tokenization Guidelines, Table 1 (2011). Example values from the guidelines, not real cards.

Diagram comparing a vault token linked to the card by a lookup table with a vaultless token made by encrypting the card number
A vault token has no mathematical link to the card. A vaultless token is the card, encrypted.

The last format is popular because a receipt or a support screen can still show "Visa ending 3383" without the full number.

Tokens are also single-use or multi-use (section 2 of the guidelines). A multi-use token always maps the same card to the same token, which is what lets a subscription charge the same customer every month.

What does a token vault store?

A token vault stores the card number with the expiry date and cardholder name. What it can't store is the security code: PCI DSS requirement 3.3.1.2 forbids keeping card verification codes after authorization, even encrypted. That's why a repeat payment on a saved card runs without the CVV.

A vault that serves several providers also stores the other credentials for the same card: a token from each PSP it was charged through, and often a network token from the card scheme. A good vault groups them under one record per card, so your systems keep a single reference while the vault picks the right credential for each payment.

How is a vault token different from a network token?

A vault token is issued by whoever runs the vault and only works through it. A network token comes from the card scheme and replaces the card number on the payment itself. When the bank replaces the card, the scheme links the token to the new number without the cardholder doing anything.

Diagram of a replaced card, with the network token updated by the card scheme and the stored card number going stale
Only the network token follows the card automatically.
Vault tokenPSP tokenNetwork token
Issued byThe vault providerOne PSPThe card scheme (Visa, Mastercard and others)
Works withAny PSP the vault can send toOnly the PSP that issued itAny PSP that supports network tokens
When the card is replacedUpdated only if the vault runs a card updater or holds a network tokenUpdated by that PSP's updaterUpdated by the scheme

Sources: PCI SSC Tokenization Guidelines (2011); EMVCo tokenization guide (2024).

The scope rules differ too. The PCI Council says a network token outside the token service provider's environment is not account data, so it isn't in PCI DSS scope. Network tokens also perform better: Visa reports a 3% higher authorization rate and 28% less fraud by purchase volume for its tokens (2024).

Does a token vault reduce PCI scope?

Yes, for every system that only handles tokens. Your order database or CRM can drop out of PCI DSS scope once it stores tokens only and is segmented from the vault (section 3.1.2 of the 2011 guidelines).

The biggest saving is in the questionnaire. A merchant that handles card data on its own systems validates with SAQ D, the longest self-assessment. A merchant that has outsourced all of it, for example by collecting cards only in the vault provider's hosted fields, can use SAQ A, the shortest. Since 2025, SAQ A also asks you to confirm your site isn't susceptible to attacks from scripts. Your QSA confirms the final scope.

What keeps a token vault secure?

Because the vault holds every card number, the PCI guidelines set strict rules for how it runs:

  • Every part of the tokenization system, including the vault and its encryption keys, runs in a PCI DSS compliant environment (section 2.2).
  • The keys that create and resolve tokens are never available to anything outside the tokenization system (section 2.1.4).
  • Every request to tokenize or detokenize must authenticate first, and failed requests are logged for monitoring (sections 2.2 and 2.3.2).
  • The vault sits on a network segmented from everything outside PCI DSS scope (section 2.3.1).

Where do token vaults fall short?

A token vault concentrates risk. Stolen card details are what attackers want: they caused more than 56% of remote card fraud by value in the EU in 2024, according to the EBA and ECB's 2025 payment fraud report. The PCI guidelines call the vault "the most attractive target for attackers" (section 2.1.3), so its security deserves more scrutiny than any other part of the stack.

A vault token doesn't renew itself either. When a bank replaces a card, the stored number goes stale unless the vault runs an account updater or holds a network token the scheme keeps current.

A vault doesn't protect your checkout page. Skimming malware on checkout pages, known as Magecart, accounted for 80% of breaches involving payment cards in Verizon's 2025 report. Hosted fields help, but the page around them still needs its own script controls.

The bigger limit is portability. Tokens from your PSP's vault work only at that PSP, so switching means exporting cards on its terms. PSP-agnostic tokens keep the mapping outside any one provider.

What should you ask before choosing a token vault?

  • Who runs the vault, and is it certified PCI DSS Level 1?
  • Which PSPs and other partners can it send card data to?
  • Does it store network tokens and keep them up to date?
  • Can you export your cards if you leave, and on what terms?

How Payrails Token Vault handles cards across PSPs

Payrails Token Vault is a PCI DSS Level 1 compliant vault that works with any PSP. Each stored card keeps all its tokens together, including network tokens from five card schemes such as Visa and Mastercard. A card fingerprint recognizes the same card across customer accounts, which helps spot duplicates and fraud.

Its Vault Proxy also sends card data to third parties other than PSPs, such as a hotel or an airline, so those integrations stay out of your PCI scope too. That's how travel businesses use token vaults to share cards with partners.

Vinted, for example, brought the tokens from every PSP it used into Payrails Token Vault, so 100% of its stored cards are now independent of any single PSP. Read Vinted's customer story, or book a demo to see how the vault would fit your payment setup.

FAQs

What is vaultless tokenization?

Vaultless tokenization encrypts the card number into the token, so no vault has to store the mapping. The PCI guidelines treat such a token as an encrypted card number, which can keep it in PCI scope (section 2.1.1). A vault token has no mathematical link to the card.

Is a credit card vault the same as a token vault?

Yes. Vendors use different names, and the PCI guidelines call it a card data vault (section 2.1.3): a store in PCI DSS scope that swaps card numbers for tokens. Some also keep Apple Pay and Google Pay credentials next to the cards.

Can a token be turned back into a card number?

Only by the vault, and only for systems with permission to ask (section 2.1.2). Thousands of random tokens still tell an attacker nothing about the cards behind them.

Do I need my own token vault if my PSP already stores cards?

Your PSP's vault already is a token vault, tied to that PSP. A separate vault pays off once you route across several PSPs or want to switch without collecting cards again. Both start with the second provider: it's the first point where a token from one PSP can't pay through another.

Transform financial operations into a competitive edge

Contact us today