Blog

How a virtual card number works, and when it beats your real number

How single-use, merchant-locked and reusable virtual numbers work, what they protect against, and where hotels, returns and recurring bills cause friction.

A virtual card number is a stand-in for your card number. It looks like a real number, with an expiration date and a security code, but it is created for a specific purpose, and it is tied behind the scenes to your real account. You give the stand-in to a merchant. Charges made with it land on your real account and are paid by your real statement. If the merchant is breached, the stolen number is worth little, because it may be restricted to that merchant, to one purchase or to a set amount.

That is the whole idea, and it is a good one for certain jobs and an irritation for others. This explainer covers how the numbers are generated and checked, the three common types, the specific attacks they blunt, the ones they do not touch and the situations where they cause trouble. It describes the product category in general. Which issuers, wallets and apps offer virtual numbers, and on what terms, changes often, so check your own card's app or the issuer's help pages rather than relying on any list.

The mechanism: a number that points back to your account

Every card payment starts with a merchant sending an authorization request: the card number, expiration date, security code and amount, routed through the payment network to the issuer. The issuer's systems look up the number, check the account, check the amount against available credit and fraud rules and approve or decline.

A virtual number slots into that lookup. When you ask for one, the issuer generates a fresh number and records it in a table next to your real account, with rules attached: which merchant may use it, how much it can authorize, when it expires and whether it works once or many times. When a charge arrives on the virtual number, the issuer finds the matching account, applies the rules and approves or declines. If a charge breaks a rule, it is declined, whatever your credit line looks like. The merchant never sees your real number.

This is related to, but not identical with, tokenization. In a mobile wallet payment, which relies on tokenization, the merchant receives a device-specific token instead of your real card number. A virtual number is a number you can see, type and control, issued for a purpose, while a wallet token is created and used by your device. Both put something that is not your real number into the merchant's hands. The practical difference is the one you can feel: a virtual number you can paste into an online form, and a wallet token works where the wallet is accepted.

The three common types

Type How it works Good for Weak spot
Single-use Approves one transaction, or one up to a stated amount, then stops working A one-time purchase from a seller you do not know Fails for anything that charges again, such as returns that need the same number, hotel add-ons or deposits
Merchant-locked Works only at the merchant it was first used with, for repeated charges Subscriptions, utilities, streaming, any bill you want to control A merchant that changes its billing name can be declined
Reusable with limits A number you create and keep, with a spending cap or an expiry date Trials, short projects, a number for one family member The cap does not help if you set it too high

Some products combine these, such as a number that works at one merchant up to a stated amount. The labels differ across issuers, and the safest approach is to read what the app says the number does before you use it.

What a virtual number protects against

Virtual numbers address one problem well: a card number that ends up where it should not be. In that problem set, these are the attacks they blunt.

  • A breached merchant. If a retailer's database is stolen and it holds only your single-use or merchant-locked number, the thief holds a number that cannot be used elsewhere. card-not-present fraud, where an online thief uses a stolen number, depends on the number working at many merchants. A locked number does not.
  • Card testing. Criminals often try a stolen number with a small charge to see whether it is live. A number that is already used or locked at another merchant declines the test.
  • Unwanted renewals. A free trial that converts to a paid plan, or a plan you meant to cancel, can be stopped by a merchant-locked number with a low cap or an expiry date, because the next charge fails.
  • A fake store. If you pay an unfamiliar site with a single-use number, the number is spent the moment the site uses it. Another charge, from that site or a thief who stole the number from it, is declined. The merchant still has the money you paid and your delivery details, so it does not make a risky purchase safe.
  • A phishing page. If you type a single-use number into a fake page, a later use fails, though the thief may have the one authorization if they act first.

The arithmetic of the renewal case is easy to see. Say you start a trial that converts to $29.99 a month and set a merchant-locked number with a $1 cap. The first month's real charge of $29.99 is declined, and you see the failure. Without the cap, if you forgot, the plan would cost 12 × $29.99, or $359.88, over a year. The number did not cancel the plan, but it made sure you noticed. Cancel the plan with the merchant too, in writing, since an unpaid subscription can produce its own notices.

What a virtual number does not protect against

Knowing the limits matters as much as knowing the benefits.

  • A merchant that takes your money and delivers nothing. The merchant received a valid payment. The charge is yours to dispute like any other, as a chargeback or a billing-error claim, and the dispute works through the issuer the same way, though you should confirm how your issuer handles virtual-number charges.
  • Identity theft. A virtual number does not hide your name, address, email or phone, which a merchant also collects.
  • Account takeover. If someone gets into your card account, they can generate their own virtual numbers or see yours. The login is the lock that matters, and card account security in one sitting: alerts, locks and strong logins covers it.
  • Phishing that steals the login. A fake issuer page that collects your password defeats a virtual number, since the attacker now has the account.
  • Malware on your device. Software that records what you type or see can capture a number at the moment you use it. For a single-use number that is a small risk, because the number is spent.

Where virtual numbers cause friction

The cases that go wrong share a pattern: the merchant needs the same number later and the number no longer works.

Hotels, rentals and anything with an authorization hold

A hotel typically places an authorization hold at check-in that covers the room and an allowance for incidentals, then settles the actual bill at checkout. Say, as an illustration, a hotel holds the room at $180 a night for three nights plus a $50 daily allowance: $540 plus $150, or $690. A single-use number capped at the room price may decline the hold, and one that expires after the first authorization cannot take the final charge. A hotel or rental car company may also want to see the physical card that matches the number, because of its own fraud policies. For these stays, the real card or a reusable number with a high enough limit and an expiration date after the trip is the practical choice. Whether the hotel accepts a number at all is its own policy.

Returns and refunds

A refund goes back to the card used for the purchase. If you used a single-use number that has expired or closed, a refund may fail or be delayed, or the issuer may route it to your account by a different path. Practice differs by issuer. If you expect to return something, use a merchant-locked or reusable number that stays open until the return window closes, and keep it open until the refund posts.

Recurring bills and memberships

A merchant-locked number is meant for this, and a single-use number is not. If you used a single-use number to sign up and the plan renews, the renewal is declined and the service may lapse. Know which kind you created.

Pay-later charges and tips

Restaurants, ride services, fuel pumps and car rentals sometimes authorize one amount and settle a different one. A number with a tight cap can decline the final amount. Set a cap with room.

Benefits tied to the card

Purchase protection, extended warranty and similar benefits come from the issuer or network, not federal law, and they are described in the card's Guide to Benefits. Whether a purchase made with a virtual number qualifies depends on that document and the issuer. Check it before you rely on a benefit for something expensive.

Reward earning and records

Charges on a virtual number normally post to your real account and earn rewards as usual, but that is the issuer's rule, so check. Keep a record that matches each number to a merchant, because six months later a statement line with an unfamiliar descriptor is harder to place.

Questions to ask your own issuer

Product rules differ enough that a few minutes with the issuer's help page, or a short call using the number on the back of your card, is worth it before you depend on virtual numbers. Ask these.

  1. How many numbers can I have, and can I name them? A label per merchant saves guesswork later.
  2. What happens to a refund if the number has expired or been closed? The answer decides how long you keep a number open after a purchase.
  3. Do charges on a virtual number earn rewards and count for card benefits? Get a yes or no, and where it is written.
  4. How do disputes work for these charges? They normally trace back to your account, but confirm it.
  5. Can I see the full history and the rules for each number? You want to be able to look up what a number is allowed to do.
  6. If I report my card lost or stolen, what happens to the virtual numbers? Some are closed with the card and some survive, and you should know which before a recurring bill depends on one.

A short worked walk-through

A hypothetical, with invented figures. Say Imani wants to buy a $64.00 item from a small online shop she has never used. She opens her issuer's app, creates a single-use number with a limit of $70 and an expiry at the end of the month and pastes it into checkout. The shop authorizes $64.00 and the number is spent. A week later the shop's database is stolen, and the thief tries Imani's number for $1.00. It is declined, because the number was used up and is limited to that merchant. Imani sees one line on her statement for $64.00, and nothing else. If the item had never arrived, she would dispute that line with her issuer like any other charge, and the number would not have changed what she could ask for.

Now say she had wanted to return the item. She would have had a problem: a single-use number cannot take a refund after it closes on some systems, so the refund could have been delayed. For a purchase she might return, a merchant-locked number that stays open for the return window is the sensible form. The point of the walk-through is not the specific outcome, since issuers differ, but the habit: decide what the number must be able to do later before you create it.

A choice guide

Use it when you are about to type a number into a form.

  1. Do you know and trust the merchant, and will you buy again? Your real card, or a wallet, is fine. A merchant-locked number is a lightweight upgrade.
  2. Is it a one-time purchase from a seller you do not know? A single-use number or a wallet payment suits it. real number, virtual number or wallet: paying an unfamiliar online store compares the three side by side.
  3. Is it a subscription or a trial? A merchant-locked number with a cap and an expiry date, plus a calendar reminder.
  4. Is it a hotel, car rental or anything that adds charges later? A real card, or a reusable number with a high cap and a late expiry.
  5. Might you return it? A number that stays open until the refund posts.
  6. Is the purchase large, or does a card benefit matter? Read the benefits guide before choosing a virtual number.

If a virtual number is declined unexpectedly, it may be doing its job. Check the app for the reason before you create another.

Third-party services and browser tools

Some virtual numbers come from services that are not your card issuer, including privacy tools and browser features. They create numbers that charge back to your real card, and in doing so they hold your card data and your purchase history. Read what the service does with that data, whether it charges a fee and how disputes are handled, before you give it a card. An issuer's own feature keeps the relationship in one place. how to use a virtual card number for online shopping, step by step walks through creating and using a number, and virtual card mistakes with free trials, returns and hotel stays covers what goes wrong. For business cards, how spend management tools use virtual cards and limits to control spending describes a related use.

Key takeaways

  • A virtual number is a stand-in tied to your real account by the issuer, with rules attached: merchant, amount, expiry and single or repeat use.
  • It limits damage from a breached merchant, card testing and forgotten renewals, and it does not hide your identity, stop an unreliable seller or protect a hijacked card account.
  • Single-use numbers suit one-off purchases from unfamiliar sellers, merchant-locked numbers suit subscriptions and reusable capped numbers suit trials.
  • Hotels, rentals, returns and tips need the same number later, so use a real card or a reusable number with room in the cap and a late expiry.
  • Charges on a virtual number are still your charges: dispute problems through your issuer, and check the benefits guide before relying on card benefits.

Terms used in this article

Latest on this topic