Gift Card Fraud on Shopify: How to Stop It
A tutorial on the main gift card fraud tactics on Shopify, including enumeration attacks and laundering stolen cards into gift cards, plus the concrete controls that stop each one.

Gift cards are close to cash, which makes them a magnet for fraud. They're easy to resell, hard to trace, and often exempt from the scrutiny applied to physical goods. On Shopify, gift card fraud shows up in a few distinct patterns, each with its own fix. Here's how the attacks work and how to shut them down.
Pattern 1: Gift card enumeration
How it works. Gift card codes are strings, and if they're short or predictable, attackers write scripts that guess valid codes and check their balances at scale. This is called enumeration or "carding" of gift cards. A bot may test tens of thousands of code guesses, drain any that carry a balance, and spend the value before the real owner notices.
The tells:
- A spike in balance-check or gift-card apply requests, especially from a small set of IPs or a botnet.
- Many failed code attempts in a short window.
- Requests coming through VPNs, proxies, or Tor, since attackers hide the source.
- Automated, machine-speed request timing.
The fixes:
- Use long, high-entropy codes. Shopify-generated gift card codes are long and random; never shorten them or use a predictable in-house scheme. Entropy is your first line of defense against guessing.
- Rate-limit and challenge automated traffic. Block the bot and anonymized-network traffic that enumeration depends on. Shieldy — Fraud Filter blocks by IP, country, VPN, proxy, Tor, and bot signals, which cuts off the machine-driven request floods enumeration relies on before they can hammer your store.
- Alert on abnormal check volume so a sudden surge triggers review, not a silent drain.
Pattern 2: Laundering stolen cards into gift cards
How it works. This is the most damaging pattern. A fraudster uses a stolen credit card to buy gift cards on your store. Gift cards are digital and delivered instantly by email, so there's nothing to intercept and no shipping delay to catch the fraud. The attacker resells the gift card codes for cash. Weeks later the real cardholder disputes the charge, and you eat the chargeback plus the value already spent. You lose twice.
Why gift cards are the perfect target: instant delivery means no window to cancel, no tracking to prove "delivery," and the product is untraceable once resold. Standard fraud tooling that leans on delivery confirmation is useless here.
The tells:
- High-value gift card orders from new accounts with no history.
- Billing/shipping or card-country vs. IP-country mismatches.
- Velocity: multiple gift card purchases in minutes, or many cards on one order.
- Anonymized networks and freshly created email addresses.
- Payment details that fail or barely pass AVS/CVV.
The fixes:
- Score gift card orders harder than physical ones. Because you can't recover the value, apply a stricter risk threshold. AI fraud-order scoring that weighs device, velocity, address mismatch, and network signals is the right tool; Shieldy's scoring surfaces these orders for review or auto-action before the code is sent.
- Block or hold at checkout. With checkout-level blocking via Shopify Functions, a high-risk gift card purchase can be stopped before payment completes rather than clawed back afterward.
- Add a delivery delay on risky orders. Even a short hold (say, a few hours) on flagged gift card orders gives you time to verify and breaks the "instant resale" model attackers depend on.
- Require account verification for large gift card purchases, and cap the value a brand-new account can buy.
Pattern 3: Account takeover and stored-value theft
How it works. Attackers break into legitimate customer accounts (via reused passwords or phishing) and drain any stored gift card balance or store credit. The order looks like it's from a trusted customer, so it sails through.
The fixes:
- Encourage or enforce strong authentication on customer accounts.
- Flag logins from new devices or unusual locations before allowing gift card redemption.
- Alert customers on balance changes so theft is caught early.
- Watch for redemption immediately after a login from a new IP/device, a classic takeover signature.
A tiered control model
Not every gift card order needs the same scrutiny. Tier your controls by risk and value:
- Low value, established customer: normal flow.
- Medium value or newer account: run risk scoring; hold if flagged.
- High value, new account, or network/velocity flags: require verification, apply a delivery delay, and block anonymized-network orders outright.
This keeps friction off your loyal customers while concentrating scrutiny where the loss potential is highest.
Operational checklist
- Use long, random codes; never a guessable scheme.
- Block VPN/proxy/Tor/bot traffic to kill enumeration and hide-the-source fraud.
- Score gift card orders with a stricter threshold than physical goods.
- Add a short hold on flagged high-value gift card orders.
- Cap new-account gift card purchase value.
- Monitor for balance-check spikes and redemption right after suspicious logins.
- Verify large purchases with a second signal (phone, email confirmation).
Why prevention beats recovery here
With physical goods, a confirmed delivery can win a chargeback dispute. With gift cards there's no delivery to prove and no product to recover, so representment win rates are low and losses stick. That flips the economics entirely toward prevention: the only reliable defense is stopping the fraudulent purchase before the code is issued. Blocking anonymized traffic, scoring orders strictly, and delaying delivery on flagged orders are cheap compared with a stolen-card chargeback stacked on top of spent value.
Gift card fraud is preventable, but only upstream. Once the code is sent, it's gone.
Selling gift cards and worried about stolen-card losses? See how AI order scoring and checkout-level blocking protect your store on the Shieldy pricing page.
Protect your Shopify store today
Install Shieldy free — block fraud, bots, and VPNs in under 5 minutes.
Install on Shopify — Free


