To stop a card testing attack, put bot-proof friction in front of every request that can validate a card, cap how many authorization attempts one visitor can make, and watch your decline patterns in real time. Do those three things and the bots move on to an easier target. PaySec builds fraud prevention into its eCommerce gateway so merchants have these controls working with their payment processing from the start.
This guide is for restaurant groups with online ordering, healthcare practices with patient payment pages, eCommerce stores, CBD retailers and SaaS marketplaces. It covers what the attack looks like, what to do in the first hour, which permanent controls matter, and how to handle the aftermath.
TL;DR
- Card testing is automated: bots run stolen or generated card numbers through your checkout to find the ones that work, then sell or use them elsewhere.
- The main warning signs are a spike in small authorizations, a flood of declines, sequential card numbers, and approvals that never settle.
- The core defenses are CAPTCHA on every card-validating request, velocity limits, a web application firewall with bot detection, and 3-D Secure.
- Moving fast matters: block the attack traffic, pause the exposed endpoint if needed, and contact your processor.
- Every transaction in a testing run costs you fees and can lead to chargebacks, so prevention pays for itself.
Table of Contents
- What a card testing attack is
- Signs your checkout is being tested
- Stop an active attack: the first hour
- Build permanent defenses
- What this looks like in your business
- Chargebacks and cleanup after an attack
- A payment setup that works with your defenses
- Our perspective
- FAQ
- Sources
What a card testing attack is
Card testing, also called account testing or enumeration, is the step before fraud. Criminals hold lists of card numbers from data breaches or number generators. They do not know which ones are live. So they run them through a merchant's checkout, donation form or payment page, usually with software, and see which ones get approved.
Visa's account-testing materials describe how threat actors validate stolen or generated account numbers and then monetize the validated cardholder data by selling it on the dark web. The same document notes that brute-force testing is most often aimed at three-digit CVVs. It also says account testing is usually one authorization per account, rarely more than two.
That last detail shapes your defenses. A real customer who mistypes a card might try two or three times. A bot tries once per card, across hundreds or thousands of different cards. Your controls should look for that pattern.

Why your business is a target
Bots look for any page that returns a clear approve or decline answer without much resistance. Common targets include:
- Online ordering pages for restaurants, especially with guest checkout
- Patient bill-pay pages and deposit forms for healthcare practices
- Low-priced items, gift cards and sample products in online stores
- Free-trial or low-price signup flows on SaaS and marketplace platforms
- Any API endpoint that accepts card details directly
Small amounts are attractive because they rarely trigger a cardholder's attention. Visa's guidance lists identical or similar amounts as one of the patterns to watch.
What it costs you
You do not need a single successful theft to be hurt. Each attempt is an authorization your processor handles, and that typically means a per-transaction fee on each one. A run of thousands of attempts creates fee costs, a flood of declines that can distort your approval ratio, and cleanup work for your team. Approved test charges often turn into chargebacks when real cardholders spot them on their statements.
Visa's account-testing document also notes that, in a recent case, 40% of test authorizations were reversed, and that many declined authorizations are followed by later fraud, because testers probe for gaps in issuer risk models. Your checkout is the front line for protecting cardholders as well as your own revenue.

Signs your checkout is being tested
Catch it early and an attack costs you hours instead of days. Visa's enumeration guidance lists what to monitor. According to its guidance to guard against enumeration attacks, watch for:
- Spikes or deviations in authorization attempts to the same issuer or BIN (the first digits that identify the card-issuing bank)
- Sequential card numbers
- Card-not-present and cross-border activity that does not match your usual customers
- Identical or similar transaction amounts
- Activity from new or dormant merchant accounts
- Fraud-indicative decline codes: 14, 54, 55, 59, 82 and N7
- Approved authorizations that are not submitted for clearing within 24 hours or longer
- Merchant descriptors with random characters
- Probing of your host or network
Visa's account-testing materials add a useful reference point: even during account testing, only 15 to 30% of authorizations are approved. That means an attack looks mostly like declines. The same document advises setting velocity monitoring above a baseline that accounts for your peak volume, so a busy lunch rush or a product launch does not trigger false alarms.
A practical daily check
Whoever owns your payments reporting can run a short review:
- Compare today's authorization count with the same weekday last week.
- Check the decline rate and the decline codes listed above.
- Look for runs of orders with the same amount, similar email patterns or the same IP address.
- Check whether approved transactions are settling normally.
PaySec merchants get real-time reporting and detailed transaction reporting, which puts these numbers in one place for the people responsible for them. That is the practical advantage of reviewing a gateway dashboard that already shows authorizations, declines and amounts together. For restaurant chains, that means one view across locations and online ordering. For healthcare practices, it means billing staff can see unusual payment-page activity without exporting files.
Stop an active attack: the first hour
When you see the pattern, act in order. Visa's guidance recommends a predefined incident response plan that includes blocking attack-related authorization attempts, with the option to contact your acquirer directly for large-scale events. Here is a practical sequence built on that.
- Confirm the pattern. Check for the signals above: many small attempts, high declines, sequential numbers, one IP range or one device signature.
- Block the source. Ban the offending IP addresses and ranges at your firewall or bot-protection layer. Block known malicious origins automatically if your tools support it.
- Turn on or tighten CAPTCHA. Make sure the challenge is validated on the server for every request that can validate a card or take a payment. A challenge that is only displayed in the browser can be bypassed.
- Throttle. Reduce the number of attempts allowed per session, per IP address and per card within a set time window.
- Pause the exposed path if you must. If one endpoint, such as a donation form, a gift card page or a legacy API, takes the bulk of the traffic, restrict it while you fix it.
- Contact your payment processor. Tell them what you see and when it began, so they can apply their own blocks and watch for fallout on their side.
- Document everything. Save logs, timestamps, IP addresses, amounts and the decline codes. You will need them for your processor and for any disputes.
When your processor is also your fraud partner, step 6 is quick. PaySec offers fraud prevention as part of its merchant services and works with merchants across restaurants, healthcare, eCommerce, CBD and SaaS, so a merchant on the platform has a team that already knows their account.
If you suspect that card data has been taken from your own systems, rather than only tested through them, Visa's guidance refers merchants to its What To Do If Compromised procedures. Follow them and involve your processor immediately.
Build permanent defenses
Stopping one attack is only half the job. Bots come back to sites that stay easy. Visa's considerations for merchants, updated in June 2026, set out the layers below.
1. CAPTCHA on every card-validating request
A CAPTCHA is a visual challenge that tells humans from bots. Visa's document directs merchants to use it to prevent automated transaction initiation, for example five authorizations from one IP address or one card number within a set timeframe. It stresses that validation must cover all requests that enable card validation or payments, and notes that improper placement can create vulnerabilities.
In practice:
- Validate the CAPTCHA result on your server, not only in the page.
- Cover every path: web checkout, mobile app, saved-card flows, gift card balance checks and any payment API.
- Use a risk-based option where available, so most real customers never see a puzzle.
2. Velocity limits and throttling
Velocity rules count attempts over time and cut off anything that exceeds a threshold. Visa's guidance points to velocity checks on authorization attempts and on fraud-indicative decline codes, plus HTTP session and velocity limits or throttling. Useful limits to set:
- Attempts per IP address per hour
- Attempts per card number per day
- Failed attempts per session
- New-card additions per account
- Declines per hour across the whole site
Set them with your busy periods in mind. A restaurant chain's Friday dinner rush or an eCommerce store's holiday weekend should sit comfortably inside the limits, which is why Visa advises setting monitoring above a peak-volume baseline.
3. A web application firewall with bot detection
Visa's merchant guidance recommends a web application firewall with botnet detection and automatic banning of known malicious origins. This keeps the worst automated traffic from ever reaching your checkout, which also protects your site speed for real customers.
4. Device fingerprinting and proxy-piercing
Bots rotate IP addresses. Fraud-detection systems that use device fingerprinting and proxy-piercing, which Visa's guidance recommends, identify the device behind the traffic even when the address changes. One device submitting dozens of different cards is a clear signal.
5. 3-D Secure authentication
3-D Secure adds an issuer-side authentication step for online payments. Visa's guidance lists it among the controls for merchants. It makes bulk testing harder because a bot cannot easily complete issuer challenges. PaySec covers it in two guides: the 3D Secure authentication guide and 3D Secure 2: what merchants need to know.
6. Protect the keys and the data path
Visa's enumeration guidance also points to point-to-point encryption (P2PE) or PCI-validated cryptographic keys for host and transaction sessions. PaySec's security and encryption page covers how the platform protects payment data, and the company operates with PCI DSS Level 1 and SOC 2 compliance. For a deeper look, read how payment data security works for business owners.
7. Keep checkout lean where it counts
A few design choices reduce exposure without hurting conversions:
- Remove unused payment endpoints and old test pages.
- Require an account or verified email for low-value or free-trial flows.
- Apply stricter limits to low-priced items and gift cards, which testers favor.
- Match your usual customer geography in your rules, and review rather than auto-approve what falls outside it.
What this looks like in your business
The same attack looks different depending on what you sell. Here is how to apply the controls.
Restaurant chains
Online ordering and gift cards are the exposed points. Orders are low-ticket and guest checkout is common, which fits what testers want. Put CAPTCHA and velocity limits on the order page and the gift card page, and review decline spikes by location. A sudden jump at one location's online storefront is a signal worth acting on the same day. Pair that with PaySec's Network Offset pricing, which passes through true wholesale interchange rates, so legitimate order volume carries a lower cost while you tighten controls.
Healthcare practices
Patient bill-pay pages hold sensitive data and are a natural target for card validation. Limit attempts per session, require patient identifiers where your workflow allows, and keep card data out of your own systems by using tokenized, compliant payment pages. PaySec's compliance posture, with PCI DSS Level 1 and SOC 2, supports practices that need payment handling to meet their obligations.
eCommerce stores
Your product pages, cart and checkout are all exposed, and attackers like cheap items. Use CAPTCHA on checkout and on account-creation pages, 3-D Secure on higher-risk orders, and a firewall in front of the store. PaySec's eCommerce payment processing page covers the gateway and fraud tools, and the payment solution features ecommerce stores need guide shows what to look for in a modern setup.
CBD and other high-risk retailers
Merchants in higher-risk categories cannot afford a run of declines and chargebacks, because an unusual decline ratio draws attention. Strong bot control and tight velocity limits protect your standing. PaySec supports high-risk verticals with fast approvals and dedicated merchant accounts, so your payment setup is built around your category.
SaaS and marketplace platforms
Free-trial and low-price signup flows are favorite test points. Require email verification before a card can be added, limit new cards per account and per device, and apply CAPTCHA on the add-card step. PaySec offers recurring billing and an API-based payment gateway for platforms that want these controls in their billing flow.
Chargebacks and cleanup after an attack
Once the traffic has stopped, close out the damage.
- Review approved transactions. Any approved test charge is a likely future dispute. Cancel or reverse them where your processor allows, before they settle. PaySec's guide to payment reversals explains how to prevent and respond.
- Watch for chargebacks over the following weeks. Cardholders who spot an unfamiliar charge will dispute it.
- Gather evidence for disputes. Visa's dispute management guide for merchants says evidence works best when it links the transaction to the cardholder, shows the cardholder took part in or benefited from it, or confirms it was processed, fulfilled and billed according to agreed terms. For test charges by bots, none of that exists, so reversing before settlement is the better path.
- Report to your processor. Share your logs. Visa's account-testing process has issuers confirm the activity and contact the acquirer of record, with a formal report for incidents within the past three months involving more than 50 transactions and more than 10 account numbers. A clean timeline from you makes that process faster.
- Review what let them in. Find the endpoint, the missing CAPTCHA validation or the limit that was set too high, and fix it.
- Update the response plan. Write down who blocks, who calls the processor, and who reviews the reports, so the next response takes minutes.
For the broader picture, PaySec's comprehensive fraud protection guide and its article on detecting and stopping fake credit card fraud cover the neighboring threats.
A payment setup that works with your defenses
Card testing hits your margins twice: once through the fees on every attempt, and again through the cleanup. PaySec's Network Offset Pricing is built to bring processing costs down, with merchants typically saving 30-60% compared with major processors. There are no hidden fees, no minimums and no long-term contracts, so you can put stronger controls in place without being locked into anything.
The platform combines fraud prevention, an eCommerce gateway, in-store processing, recurring billing, real-time reporting, and PCI DSS Level 1 and SOC 2 compliance. That gives restaurants, healthcare practices, online stores, CBD retailers and SaaS marketplaces one place to see and manage their payments. See the pricing options or explore PaySec's merchant services.
To talk through your own checkout, start at paysec.ai.
Our perspective
Card testing is a volume game for criminals, and they play it where checkout is easy. The answer is layers: a challenge that stops bots, limits that cap attempts, monitoring that sees the pattern early, and authentication where risk is higher.
We design PaySec around that idea. Fraud prevention, a developer-friendly gateway, real-time and detailed transaction reporting, and compliance at PCI DSS Level 1 and SOC 2 sit in one platform, so the people who run your payments see the same data we do.
Pricing matters here too. With Network Offset Pricing, true wholesale interchange rates pass through, with no flat-rate markups. Merchants across 18+ industries work with us without contracts or minimums, and that gives them room to invest in the controls above.
The merchants who handle card testing best treat it as a routine part of running payments: set the limits, review the numbers daily, and keep a written plan. We built PaySec to make that routine simple.
PaySec Marketing Team
FAQ
What is the fastest way to stop a card testing attack?
Block the attacking IP addresses, enforce a server-validated CAPTCHA on every card-validating request, and lower your per-session and per-IP attempt limits. Then contact your payment processor so they can block attack traffic on their side. Visa's guidance recommends a predefined incident response plan with exactly these elements.
How do I know the declines are card testing and not real customers?
Real customers rarely try more than a couple of cards, and their attempts are spread across the day. Testing shows up as many attempts with different card numbers, often sequential, with similar amounts and the same IP range or device. Fraud-indicative decline codes such as 14, 54, 55, 59, 82 and N7 add confirmation.
Does 3-D Secure stop card testing?
It makes bulk testing harder, because an issuer authentication step is difficult for automated scripts to complete. Visa's merchant guidance lists it with CAPTCHA, a web application firewall and device fingerprinting. Use it as one layer, together with the other controls rather than in place of them.
Will CAPTCHA and limits drive away real customers?
Well-tuned controls rarely bother real buyers. Set limits above your peak-volume baseline, and use risk-based challenges so most customers never see a puzzle. Place the CAPTCHA correctly and validate it on the server, since Visa notes that poor placement can create vulnerabilities.
What should I do with approved test transactions?
Reverse or cancel them with your processor before they settle if you can. Left alone, they tend to return as chargebacks when cardholders notice them. Keep logs of the attack so your processor can handle the reversals and any disputes quickly.
Sources
- Visa: Guidance to Guard Against Enumeration Attacks and Account Testing Schemes (August 2021)
- Visa: Account Testing presentation (August 2016)
- Visa: Considerations for Merchants, anti-enumeration and account testing best practices (June 2026)
- Visa: Dispute Management Guide for Merchants (October 2026)

