What a Virtual Credit Card Is and How It Works
A virtual credit card is a temporary card number generated by your credit card issuer or a third-party service. It looks like a regular 16-digit card number, but it exists only in digital form — you cannot hold it in your wallet or swipe it at a store. When you make an online purchase, you enter the virtual number instead of your real card number, and the charge goes to your actual account.
The virtual number is linked to your real card but is separate from it. If a merchant's website gets hacked or a scammer steals the virtual number, that number alone cannot be used again — it either expires after one transaction or after a set date you choose. Your actual card number stays protected because you never gave it out.
Most major card issuers offer virtual cards through their mobile apps or websites. Some banks call them "temporary card numbers" or "one-time card numbers." A few third-party services like Privacy.com and Blur also generate virtual numbers, even if your bank does not offer them natively.
Key Takeaways
- Virtual card numbers are generated by your bank or a third-party app and can be set to expire after one use or on a date you choose.
- You enter the virtual number at checkout instead of your real card number, keeping your actual card details hidden from merchants.
- If a virtual number is compromised, the thief cannot use it again — it is already expired or locked to that one transaction.
- Most banks offer virtual cards free through their app; third-party services may charge a monthly fee or offer a free tier with limits.
- Virtual cards work for online purchases and subscriptions but not for in-person payments, gas pumps, or ATM withdrawals.
How to Generate a Virtual Card Number Through Your Bank
The process varies by bank, but most offer virtual cards directly in their mobile app or online banking portal. Log into your account and look for a section labeled "Virtual Cards," "Temporary Numbers," "Card Controls," or "Digital Wallet." Some banks put it under "Security" or "Card Management."
Once you find the feature, you will typically see a button to generate a new number. You can usually set a few details: the merchant name (optional but helpful for tracking), the spending limit, and the expiration date. Some banks let you set the number to expire after one transaction; others require you to pick a date weeks or months away. A few let you do both — expire after one use OR on a set date, whichever comes first.
After you generate the number, your bank displays it once. Write it down or copy it when ready — most banks do not show it again. The number includes the 16-digit card number, expiration date, and CVV (the three-digit security code on the back), just like a physical card.
Using a Virtual Card at Online Checkout
At any online store, when you reach the payment page, select "Credit Card" as your payment method. Enter the virtual card number, expiration date, and CVV exactly as your bank displayed them. The billing address should match the address on your real account — the merchant's system will verify this, and mismatches can cause the transaction to decline.
The charge will appear on your real card's statement under the merchant's name, not under "virtual card" or anything separate. You can track which virtual number you used by checking your bank's virtual card history, which most apps keep for 30 to 90 days.
If the transaction is declined, the most common reason is a billing address mismatch. Double-check that the address you entered matches your bank's records exactly — including spelling, abbreviations, and zip code. If the address is correct and it still declines, contact your bank's customer service; they can see whether the virtual number expired or whether the merchant's system rejected it for another reason.
Virtual Cards for Recurring Subscriptions and Recurring Charges
Virtual cards are especially useful for subscriptions because you can set a spending limit and an expiration date. If you sign up for a free trial that converts to a paid subscription, you can set the virtual number to expire on the day the trial ends. When the merchant tries to charge you after that date, the charge will decline, and you will not be automatically billed.
Some subscriptions require you to update your payment method if the card number expires. If that happens, you can generate a new virtual number and update it in the subscription's account settings. This gives you control over when the subscription renews without having to cancel and re-sign up.
For subscriptions you plan to keep long-term, set the virtual number to expire several months in the future so you do not have to update it constantly. Many banks let you set expiration dates up to three years away.
Third-Party Virtual Card Services
If your bank does not offer virtual cards, services like Privacy.com, Blur, and Dashlane generate them for you. These apps connect to your real bank account or debit card and create virtual numbers on demand. Privacy.com, for example, lets you generate unlimited virtual numbers and set spending limits per merchant or per month.
Most third-party services charge a monthly fee (usually $10 to $20) for premium features, though they often offer a free tier with limits on how many numbers you can generate per month. Some also charge a small fee per transaction or per number created. Read the pricing page carefully — the free tier may be enough if you only need a few virtual numbers per month.
The main trade-off with third-party services is that they sit between you and your bank. Your bank sees a charge from the third-party service, not from the merchant. This can make it harder to dispute charges or track spending by merchant. However, if your bank does not offer virtual cards at all, a third-party service is a straightforward way to get the same protection.
When Virtual Cards Do Not Work
Virtual cards work only for online purchases and digital payments. You cannot use them at a physical store, gas pump, or ATM because those require a physical card or a contactless payment system tied to your real card number. Some subscription services and digital wallets (like Apple Pay or Google Pay) also do not accept virtual card numbers — they require your actual card.
A few merchants reject virtual cards outright, though this is rare. Some older or smaller websites have outdated payment systems that flag virtual numbers as suspicious. If a virtual number is declined and the billing address is correct, try your real card number instead, or contact the merchant's customer service to ask whether they accept virtual cards.
Virtual cards also do not help with fraud that happens offline — if someone steals your physical card or your real card number from a data breach, a virtual card number will not protect you. Virtual cards are a layer of protection for online shopping, not a complete fraud prevention tool.
Frequently Asked Questions
Can I use a virtual card number more than once?
It depends on how you set it up. Some virtual numbers expire after one transaction and cannot be reused. Others are set to expire on a specific date you choose, and you can use them multiple times until that date arrives. Check your bank's settings when you generate the number — most let you pick which type you want.
What happens if someone steals my virtual card number?
If the number has already expired or is set to expire after one use, the thief cannot use it again. If it is still active, contact your bank when ready and ask them to deactivate it. Your real card is not compromised because the virtual number is separate from it. Your bank can issue you a new virtual number for future purchases.
Do virtual cards affect my credit score?
No. Virtual cards are just a different way to use your real credit card. The charges appear on your real card's statement and affect your credit in exactly the same way as any other purchase. Your credit utilization, payment history, and account age are all based on your real card, not the virtual numbers.
Can I use a virtual card to pay bills or send money to people?
Virtual cards work for online bill pay if the biller accepts credit cards (many do). However, they do not work for peer-to-peer payment apps like Venmo or PayPal in most cases — those apps require your actual card number. Check the app's payment settings to see whether it accepts virtual card numbers.
Is there a cost to use virtual cards from my bank?
Most banks offer virtual cards free as part of your account. Third-party services like Privacy.com charge a monthly subscription fee for premium features, though they usually have a free tier with limits. Check your bank's website or app to see whether the feature is included with your account.