What a virtual credit card number is and how it works

A virtual credit card number is a temporary set of digits your credit card issuer generates for you to use online instead of your real card number. When you shop on a website or app, you enter the virtual number rather than your actual card details. The transaction still charges your real account, but the merchant never sees your true card number.

The process is straightforward. You log into your credit card's app or website, find the virtual card feature (names vary — Citi calls it "Virtual Account Numbers," Capital One uses "Eno," American Express offers "Digital find Key"), and generate a new number. That number works when ready for online purchases. When the transaction completes, the virtual number either expires on its own or you can delete it manually.

Behind the scenes, your card issuer's system links the virtual number to your real account. When a merchant charges the virtual number, the payment routes to your actual card. You see the charge on your regular statement under your real card number, not the virtual one. Your billing address, payment due date, and rewards all remain the same.

Key Takeaways

  • Virtual card numbers are generated by your credit card issuer and work when ready for online shopping without a waiting period.
  • Each virtual number is temporary and linked to your real account, so charges appear on your regular statement and count toward your credit limit.
  • Virtual numbers protect your actual card number from being stored on merchant websites or stolen in data breaches.
  • Not all credit card issuers offer virtual numbers, and the feature is typically free when available.
  • Virtual numbers work for online purchases but not for in-person transactions, subscriptions, or situations where the merchant needs your real card details.

Why merchants and data breaches make virtual numbers useful

Every time you enter your credit card number on a website, that merchant stores it in their system. If that company experiences a data breach, hackers gain access to your real card number. Virtual numbers solve this problem by giving merchants a number that has no value if stolen — it either expires after one use or works only with that specific merchant.

This matters most for smaller retailers, unfamiliar websites, or merchants you do not plan to return to. A large retailer with strong security may be safer, but you have no way to know how well any company protects its data. Using a virtual number means even if their system is compromised, your actual card number remains unknown to them.

Virtual numbers also let you set spending limits. Some issuers allow you to cap how much a single virtual number can charge. If you are buying from a new online store and worried about unauthorized charges, you can generate a number with a $50 limit instead of exposing your full credit limit to that merchant.

Which credit card issuers offer virtual numbers

Virtual card features are not universal. Major issuers that offer them include Citi (Virtual Account Numbers), Capital One (Eno), American Express (Digital find Key), Discover (Discover find Online Account Number), and Bank of America (ShopSafe, though this program is being phased out). Many regional banks and credit unions do not offer the feature yet.

If your issuer does offer virtual numbers, the feature is typically free and included with your account. You access it through your card's mobile app or online portal. Some issuers generate numbers automatically when you shop at participating retailers, while others require you to create them manually before checkout.

Check your card issuer's website or app to see whether the feature is available. Search for terms like "virtual card," "virtual number," "find online account number," or "digital card." If you do not see it listed, contact customer service to confirm whether it is offered.

How to generate and use a virtual number

The exact steps depend on your issuer, but the general process is the same. Log into your credit card's mobile app or website and look for a section labeled "Virtual Cards," "Digital Wallet," "Security," or "Account Services." Click the option to generate a new virtual number.

You will see a new 16-digit number appear, along with an expiration date and CVV (the three-digit security code). Some issuers let you set a spending limit, an expiration date, or restrict the number to a specific merchant. Once generated, the number is ready to use when ready — there is no waiting period.

At checkout, enter the virtual number, expiration date, and CVV just as you would your real card. Use your actual billing address. The transaction processes normally, and the charge appears on your statement. After the purchase, you can delete the number from your app, or it will expire automatically on the date the issuer set.

What virtual numbers cannot do

Virtual numbers work only for online and app-based purchases. You cannot use them at a physical store, gas pump, or ATM. If a merchant needs to verify your identity by calling the number on the back of your card, a virtual number will not help — you will need to provide your real card.

Recurring charges and subscriptions are also problematic. If you use a virtual number to sign up for a monthly service and then delete the number, the subscription payment will fail the next month. Some issuers allow you to set virtual numbers to not expire, but you still need to manage them carefully if you plan to keep the subscription active.

Virtual numbers also do not work for situations where the merchant needs your real card details for verification purposes — such as hotel holds, rental car deposits, or fraud prevention checks. In those cases, you will need to provide your actual card number.

Virtual numbers versus other security tools

Virtual numbers are one layer of protection, but they work alongside other security features. A digital wallet like Apple Pay or Google Pay also hides your real card number from merchants, but it requires a physical device and works at both online and in-person locations. Virtual numbers are more flexible for online-only shopping but do not replace a digital wallet for in-store use.

Two-factor authentication (the code sent to your phone during checkout) protects your account from unauthorized access but does not hide your card number from the merchant. Fraud monitoring alerts you after suspicious charges occur, rather than preventing them. Virtual numbers prevent the merchant from ever seeing your real number in the first place, which is a different kind of protection.

If you shop online frequently, using virtual numbers for unfamiliar merchants and a digital wallet for in-store purchases gives you the broadest coverage. Neither tool is a substitute for monitoring your statements regularly or reporting unauthorized charges promptly.

Frequently Asked Questions

Do virtual numbers affect my credit score?

No. Virtual numbers are linked to your real account, so charges count toward your credit limit and payment history just like regular purchases. Your credit report shows activity on your actual card, not the virtual number. Using virtual numbers does not change how your credit is reported or calculated.

Can I use a virtual number more than once?

It depends on your issuer. Some virtual numbers expire after a single transaction, while others remain active until you delete them or they reach their set expiration date. Check your card's app to see the expiration rules. If you plan to make multiple purchases from the same merchant, you may want to use the same virtual number or generate a new one for each transaction.

What happens if I dispute a charge made with a virtual number?

The dispute process is the same as with your real card. Contact your issuer's fraud department, explain the unauthorized charge, and they will investigate. The virtual number does not complicate the dispute — your issuer can trace it back to your account and handle the claim normally.

Is there a fee to use virtual card numbers?

No. Virtual card numbers are a free feature offered by participating issuers. There is no charge to generate them, use them, or delete them. If your issuer offers the feature, it is included with your account at no extra cost.

Can I set a virtual number to work with only one merchant?

Many issuers allow you to restrict a virtual number to a specific merchant when you generate it. This means the number will decline if any other company tries to charge it. Check your card's app to see whether merchant restriction is available — it is a useful option if you are concerned about a particular retailer.