Virtual credit cards explained: how real VCCs work and when to use one
A virtual credit card (VCC) is a real card number issued by your bank or card provider and linked to your account, but kept separate from the number on your plastic card. It can be locked to one merchant, capped at an amount or used only once. This guide explains how VCCs work, how they differ from wallet tokens and test numbers, and when they are worth using.
Key takeaways
- A real VCC comes from a licensed issuer and is backed by your credit line or account. A generator can only produce format-valid numbers with no account behind them, so it cannot create a usable VCC.
- Virtual numbers protect your main card: if a merchant is breached or a subscription misbehaves, you lock or delete the virtual number instead of replacing your card.
- Apple Pay and Google Pay use device tokens, a related but different technology managed by the networks and issuers.
- VCCs are best for online shopping and subscriptions; they can be awkward for hotel and car rental holds, in-store pickup and some refunds.
On this page
“VCC” is one of the most searched terms around card numbers, and it covers two very different things. One is a genuine payment product that banks and card providers issue to protect your account. The other is a random number from a “VCC generator” that looks like a card but has nothing behind it. This guide is about the first — and explains clearly why the second can’t replace it.
What a virtual credit card is
A virtual credit card is a card number, expiry date and security code issued by a bank or licensed card provider for use online, without a physical card. It runs on a normal network such as Visa or Mastercard, so merchants accept it like any other card. What makes it “virtual” is that it is separate from the number embossed on your plastic card and can be created, limited, locked and deleted from an app or website.
Behind the scenes, the issuer maps the virtual number to your real account. When a merchant authorizes a payment, the network routes it to your issuer, which recognizes the virtual number, applies its controls (merchant lock, limit, expiry) and charges your credit line or balance. Capital One, for example, describes its virtual cards as linked to the customer’s credit card account, each with its own 16-digit number, security code and expiration date, and purchases appear alongside the customer’s other card transactions.
The main kinds of virtual cards
| Type | How it behaves | Good for |
|---|---|---|
| Merchant-locked | Works only at the first merchant that charges it, and can be reused there | Subscriptions, streaming, utilities, any recurring payment |
| Single-use (disposable) | Valid for one payment, then closed or replaced with new details | One-off purchases from shops you don’t know |
| Limited or time-boxed | Has its own spending cap or expiry date | Trials you mean to keep under control, budgets, kids’ or team spending |
| General-purpose virtual | A second number for the same account, usable anywhere | Using a card before the physical one arrives; separating online from in-store spending |
| Commercial / B2B virtual | Issued per invoice, booking or supplier, often single-use for an exact amount | Accounts payable, travel agencies paying hotels |
Which of these you can get depends entirely on your issuer. Some banks offer only a general-purpose virtual number in their app; others let you create a merchant-locked card per site. Capital One’s merchant-specific cards, for instance, can only be used on one merchant’s website, and some can be set to expire after a single use.
Virtual cards vs. wallet tokens vs. generated numbers
Three things are often confused: virtual card numbers, network tokens used by digital wallets, and generated test numbers.
Network tokens (Apple Pay, Google Pay, card-on-file)
Network tokenization replaces your card number with a token that only works in a specific context. Visa describes its Token Service as replacing a card’s primary account number with a unique digital identifier that can’t be used outside its intended purpose and only works with the merchant or device it is linked to. Apple explains that when you add a card to Apple Pay, a Device Account Number is created and stored in the phone’s Secure Element; Apple does not store your original card number, and in-store payments send the device number plus a transaction-specific dynamic security code.
Tokens protect you in a similar way to a virtual card, but you don’t see or manage them: you can’t give a token a spending limit or type it into a website.
Generated test numbers
A card number generator — including a “VCC generator” — builds numbers from a brand prefix, random digits and a Luhn check digit. They pass format checks, which is exactly what developers need to test payment forms. But no issuer has an account behind them, so any real authorization is declined. Our guide Do credit card generators work? walks through why.
| Virtual card from an issuer | Wallet / network token | Generated number | |
|---|---|---|---|
| Issued by | Your bank or card provider | Network and issuer, on request of the wallet or merchant | Any software |
| Linked to real money | Yes | Yes | No |
| You can type it into a website | Yes | No | Yes, but it is declined |
| Per-merchant lock or limit | Often | Bound to a device or merchant automatically | Not applicable |
| Legitimate use | Paying online safely | Paying in-store and in apps | Testing forms and software |
When a virtual card is worth using
Subscriptions and free trials you intend to manage
A merchant-locked or limited card is ideal for subscriptions. If you sign up for a trial and decide not to continue, locking or deleting the virtual number stops further charges at the card level, while you still cancel through the service as normal. If you do continue, the subscription keeps billing the same virtual number. This is the legitimate way to keep a trial under control: you remain the paying customer, you just control the card.
Shops you don’t know well
Buying once from an unfamiliar online store? A single-use number limits the damage if the site is compromised or turns out to be dishonest: the details are useless after the payment.
Containing data breaches
When a merchant you use is breached, a merchant-locked number that leaks can’t be used anywhere else. You replace one virtual number instead of your main card — and avoid updating every other service that stores your card.
Business payments
Companies use virtual cards to pay suppliers and travel bookings: one number per invoice or reservation, often for an exact amount. In travel, intermediaries commonly pay hotels with a single-use virtual card number specific to one booking, which the hotel charges instead of the guest’s own card.
Limits and gotchas
- Holds and deposits. Hotels and car rental companies often place an authorization hold and may want to see the physical card at the desk. Single-use cards are a poor fit for holds, and some rental companies don’t accept virtual cards at pickup.
- In-store use. Many issuers intend virtual numbers for online use only; Capital One, for example, states its virtual cards can’t be added to digital wallets for tap-to-pay in stores.
- Refunds and returns. A refund goes back to the number that was charged. Many issuers route it to the underlying account even after a virtual number is closed, but check before deleting a number with an open return.
- Merchant acceptance. Some merchants decline virtual or prepaid cards, especially for subscriptions or high-risk goods. Issuers themselves warn that not all merchants accept virtual cards.
- Availability. Not every bank offers virtual numbers, and many offer them only on credit cards, not debit cards.
How to get a virtual card
- Check your existing bank or card app. Look for “virtual card”, “virtual card number” or “online card” in the card settings. If you can’t find it, ask the issuer.
- Consider your card’s issuer before switching banks. Some large credit card issuers offer merchant-specific numbers through their website or a browser extension.
- Look at app-based banks and e-money providers if your bank offers nothing. Many issue virtual cards instantly, including disposable ones. Compare fees, limits, deposit protection and customer support, and make sure the provider is licensed in your country.
- For business spending, corporate card and spend-management platforms issue virtual cards per employee, supplier or invoice.
Avoid “free VCC” offers
Websites, Telegram channels and apps that hand out ready-to-use virtual cards without opening an account in your name are not issuers. At best the numbers are generated and useless; at worst they are stolen card data or bait to collect your own details. A real virtual card always comes from a provider that knows who you are.
Using virtual cards safely
- Create one merchant-locked card per subscription so you can stop one service without touching the others.
- Set a limit just above the expected charge for trials and one-off purchases.
- Name each card after the merchant in your app; it makes statements and disputes much easier.
- Keep using the issuer’s app for alerts — a virtual card is still your money and your credit line.
- Never share the security code outside the checkout page; virtual numbers have their own CVV, and the same rules apply as for any card (see CVV, CVC and CID explained).
For developers: testing with virtual cards
From a merchant’s point of view, a virtual card is just a card. It has a normal BIN, passes the Luhn check and is authorized by its issuer. A BIN lookup may show it as credit, debit or prepaid depending on the program, which matters if your rules treat prepaid cards differently. When you test your checkout, don’t use real virtual cards in development or staging: use format-valid numbers from our generator for form validation, and your gateway’s official test card numbers for sandbox payments.
Frequently asked questions
Can a VCC generator create a virtual card I can pay with?
No. Online “VCC generators” produce random numbers in a valid format. A virtual card you can pay with must be issued by a bank or licensed card provider and linked to an account with money or credit. Ask your bank or card provider whether it offers virtual card numbers.
Is a virtual credit card a separate credit account?
Usually not. Most consumer virtual numbers are linked to an existing card account: purchases draw on the same credit line and appear on the same statement, often with the same rewards. Prepaid virtual cards are the exception, holding their own preloaded balance.
Can I use a virtual card for a free trial?
Yes, if it is a real virtual card from your issuer and you are prepared to pay if the trial converts. A merchant-locked card with a low limit, or one you lock after signing up, helps you avoid unwanted renewals. Some services reject single-use or prepaid cards for subscriptions.
What happens to refunds on a virtual card that I deleted?
It depends on the issuer. Many route refunds back to the underlying account even after the virtual number is closed, but check your provider’s terms before deleting a number with an open order or return.
Are Apple Pay and Google Pay virtual cards?
They use tokenization: the wallet stores a device-specific token instead of your card number, and each in-store payment carries a one-time security code. The effect is similar — the merchant never sees your real number — but you don’t manage these tokens like a virtual card number.
Sources
Tools used in this guide
Related guides
Written for developers, QA teams and merchants. Generated card numbers are test data: they are not real cards and cannot pay for anything.