What is a virtual credit card, and how do virtual card numbers work?

November 22, 2026 · 4 min read

A virtual credit card is a payment card that exists only as data (a card number, an expiry date and a security code) and is used for online and phone purchases in place of a physical card.

The short version

A virtual credit card does the same job at an online checkout as the card in your wallet, but it was never printed. It is a set of card details created on demand, usually for a single purpose: one shop, one subscription, one order. Because you can make many of them, each place you pay can get its own number, and what one place holds is useless everywhere else.

That simple change, one number per place instead of one number for everything, is what makes virtual cards useful. The rest of this guide explains the parts.

What a virtual card number is made of

Every payment card, plastic or virtual, is identified by the same three things:

  • The card number, usually 16 digits. The first digits identify the network (Visa numbers start with 4, Mastercard numbers with 5 or 2) and the institution behind the card; the last digit is a check digit that lets forms spot typing mistakes.
  • The expiry date, a month and a year.
  • The security code, three digits for Visa and Mastercard.

A virtual card has all three. When you type them into a checkout, the shop sends them through the card network exactly as it would for a plastic card. The network routes the request to the card's issuer, which approves or declines it. Nothing in that path needs a physical card, which is why online shops accept virtual numbers without any difference.

Prepaid, credit and debit: where the money comes from

The word "credit" in "virtual credit card" is used loosely. People search for virtual credit cards when they mean any card number for online use. In practice, virtual cards come in three funding models:

ModelMoney comes fromMost it can spend
CreditA borrowing limit you repay laterThe credit limit
DebitA linked bank accountThe account balance
PrepaidMoney loaded in advanceThe loaded amount

Prepaid virtual cards are the simplest to reason about. A card can spend only what was put on it, nothing is borrowed, and there is no bank account behind the number. That makes the amount at risk on any card small and known. YWorldFirst cards are prepaid: you load each one from your account balance.

What the shop sees

When you pay with a virtual card, the shop receives the card number, expiry and security code, the name and address you type into its form, and an approval or decline from the network. It does not see your other cards, your balance or how the card was funded. If you used a fresh number, the shop's records hold a card that is linked to nothing else you own.

This matters because shops keep records. Some store your card for repeat orders, some keep transaction logs, and all of them are targets. The less a stored card can do outside that one shop, the less a stolen copy is worth.

Locks: the feature that makes virtual cards different

A plastic card works everywhere its network is accepted. Virtual cards can be told where they are allowed to work:

  • A single-use card accepts one purchase and then closes. It suits first orders and one-off payments.
  • A merchant-locked card binds itself to the first merchant that charges it and declines all others. It suits subscriptions and shops you return to.
  • A category-locked card accepts payments only from merchants in one spending category, such as travel or food delivery. It suits budgets that span several shops.

Locks are checked when a charge arrives, so a payment from the wrong place is declined before it happens rather than disputed afterwards.

Spend limits

On top of a lock, a virtual card can carry a limit. Common limit types are per purchase, per month, per year and a total over the card's life. A merchant-locked card with a monthly limit close to the subscription price is a good example: the service can charge its normal fee every month, but a price rise or a duplicate charge is declined until you approve it by raising the limit.

Limits can also replace the habit of checking statements. Instead of noticing an odd charge weeks later, the card simply refuses anything that does not fit.

Pausing and closing

Two more controls complete the picture. Pausing a card makes it decline everything until you resume it, without changing anything else. Closing a card makes the number permanently unusable. With a prepaid card, money still on a closed card goes back to the balance it came from.

Together, these make cancelling easier. If a service is hard to leave, you still cancel inside it, but closing its card guarantees no further charges reach you.

When a virtual card is the better choice

  • Paying a shop for the first time, especially one found through an advert.
  • Subscriptions and memberships, one card each.
  • Free trials that turn into paid plans.
  • Marketplaces with many independent sellers.
  • Software, hosting and app purchases billed in other currencies.
  • Travel and event bookings made online.

When a different card is better

Virtual cards are built for payments where you type the details. Some situations still expect a plastic card: car rental desks that check the card at pick-up, hotels that ask to see the booking card at check-in, and shops where you pay at a terminal. Refunds are another point to plan for: a refund returns to the card that paid, so keep a card open until an expected refund has arrived.

How YWorldFirst virtual cards work

YWorldFirst issues prepaid virtual Visa and Mastercard numbers for online shopping, open to shoppers in any country. You open an account with an account key, add funds to your balance with cryptocurrency from $40, and create single-use, merchant-locked or category-locked cards with the limits you choose. Creating and loading cards is free; the Starter plan costs $0 and includes 12 new cards a month. See how it works for each step and the pricing page for every plan.

Questions about this guide

Is a virtual credit card a real card?

Yes. It has a real card number, expiry date and security code on the Visa or Mastercard network, and online checkouts process it like any other card.

Do I need a bank account for a prepaid virtual card?

Not with YWorldFirst. Your balance is funded with cryptocurrency and each card is loaded from that balance.

Can a virtual card be used more than once?

Yes, unless it is single-use. Merchant-locked and category-locked cards keep working within their lock and limit.

Are virtual card numbers random?

They are generated by the card issuer in the network's format, so each one is unique and passes normal checkout checks.