How card numbers get stolen online, and how to keep yours safe

November 22, 2026 · 4 min read

Card numbers are usually stolen online from places that store or process them, such as breached shops, altered checkout pages and fake payment pages, rather than from the cardholder directly, which is why using a separate virtual number per shop limits the damage.

You are rarely the weak point

Most advice about card safety focuses on you: do not share your number, check the padlock, use strong passwords. That advice is sound, but it misses where most stolen card numbers actually come from. They come from the places you paid. Every shop, app and service that ever took your card is part of your card's security, and you cannot inspect any of them.

Understanding the common routes helps explain why giving each place its own card number is so effective.

Stored-card breaches

Many shops keep your card on file so the next order is one click. Those stored details sit in the shop's systems or with its payment provider. When a shop's systems are broken into, stored card data can be copied in bulk and offered for sale.

What a virtual card changes: if the card stored at that shop was merchant-locked, the copied number can only be charged by that same shop, so it is useless to the buyer. If it was single-use, it is already closed. If it had a small loaded amount and a limit, the most it could ever spend is small.

Skimming code on checkout pages

Some attacks do not touch stored data at all. Instead, a small piece of code is slipped into a real shop's checkout page, often through a third-party script the shop uses. The code copies whatever customers type into the card form and sends it elsewhere. The shop looks normal, the order goes through, and nobody notices for a while.

What a virtual card changes: the number that was copied belongs to that shop alone. With a merchant lock, the copy cannot be used at any other merchant; with a single-use card, it is closed after your order.

Fake checkout and phishing pages

A fake page copies the look of a real shop or delivery service and asks for card details, often through a message about a parcel, a refund or an unpaid bill. Everything typed into it goes straight to the people who built it.

What a virtual card changes: if you ever type a card into a page you are unsure about, make it a fresh single-use card with a small load. Even if the page is fake, the number has almost nothing behind it and closes after one use. Better still, reach shops by typing their address yourself rather than following links in messages.

Card testing

Once numbers are stolen, they are often tested with tiny charges on small websites to see which ones work. A successful test marks the card as live, and larger charges follow.

What a virtual card changes: a merchant-locked card declines the test because it comes from the wrong merchant. A single-use card is closed. A paused card declines everything. Spend limits stop larger follow-up charges even on an open card.

Public wifi: myths and facts

Public wifi is often blamed for card theft. Modern shops encrypt the connection between your browser and their site, so reading card details off a shared network is not the common risk it once was. The real risk on public networks is being sent to a fake page through a lookalike login screen or a misleading link. The same advice applies as for phishing: type addresses yourself and use a fresh card when in doubt.

Browser autofill and saved cards

Saving your card in a browser or a shop account is convenient, and it means the card is stored in more places. If a device or account is compromised, saved cards can be read or used. Saving a virtual card is a different matter: a merchant-locked card saved in a shop account can only ever pay that shop, which is exactly what you wanted it for.

Data you hand over with the card

Card theft is often paired with other data: your name, email and delivery address from the same order. That information makes phishing messages more convincing later. You cannot avoid giving a delivery address, but you can reduce how much of your payment life is tied to any single shop by keeping each shop on its own card.

Habits that keep your cards safe

  • Use a single-use card the first time you pay any shop.
  • Give every subscription and regular shop its own merchant-locked card.
  • Set limits that match what each card should spend.
  • Pause cards for services you are not using right now.
  • Close cards you no longer need; leftover money returns to your balance.
  • Reach shops by typing the address yourself, not through message links.
  • Look over your card list and activity regularly.

What to do if a card is misused

If you see a charge you do not recognise on a virtual card, close that card in the dashboard. The number stops working at once, and your other cards are unaffected. Then contact the shop that holds the card, since that is where the number came from. Because each card belongs to one shop or purpose, you know immediately which shop to ask.

Protection that does not depend on the shop

The value of virtual cards is that your protection no longer depends on how well every shop guards its systems. YWorldFirst issues prepaid virtual Visa and Mastercard numbers with single-use, merchant and category locks, spend limits, pause and close, for shoppers in any country. Read about virtual card security, or start with a single-use virtual card for your next new shop.

Questions about this guide

Can a stolen virtual card number be used?

Only within its rules. A merchant-locked number works only at its own shop, a single-use number is closed, and limits cap what any card can spend.

How would I know a card was stolen?

Unexpected declined attempts or charges in a card's activity are the sign. Close the card and the number stops working immediately.

Is it safe to save a virtual card in a shop account?

Yes, if it is merchant-locked to that shop. Saved there, it can only ever pay that shop.

Does using a virtual card protect my other details?

It protects your payment details. You still give each shop your name and delivery address, so keep typing shop addresses yourself and be careful with messages.