What Is a BIN Attack?
BIN attack meaning: how bots build valid-looking card numbers from a BIN, card testing vs Visa's enumeration, the decline codes it leaves, and defenses.
Article summary
TL;DR
A BIN attack is a card testing attack in which fraudsters take a real bank identification number (the first 6 or 8 digits of a card), generate the rest of the number with a valid check digit, and submit many combinations, often as small payments, to find which numbers, expiry dates and CVVs belong to live cards.
- A BIN attack is card testing with generated numbers: the BIN is real, the rest is guessed, and the issuer's answers reveal the live cards.
- Visa calls this an enumeration attack and tracks it in VAMP: 300,000 enumerated transactions and a 20% enumeration ratio in a month put an account in monitoring.
- Typical signs are a spike in failed payments and small charges, with Visa codes 14, 54 or N7 piling up.
- No single filter stops it. Stripe recommends combining CAPTCHA, rate limits and velocity rules.
On this page
What is a BIN attack?
A BIN attack is a form of card testing. The fraudster starts from a real bank identification number, the leading digits that identify the card issuer, and has a script fill in the rest. The last digit is set with the Luhn algorithm, so each number passes the checkout's format check.
Each number is paired with guessed expiry dates and CVVs and sent through a payment form. The issuer's answers do the sorting: a decline kills a guess, an approval confirms a live card. Stripe describes testers using scripts "to test a large amount of card information at once," often with "small amount payments, which cardholders are less likely to notice." Confirmed cards are then used with other merchants or resold.1Stripe Docs, Protect yourself from card testing (read November 2, 2026)
BIN attack vs card testing vs enumeration
Card testing is the broad category, a BIN attack is the variant with generated numbers, and enumeration is Visa's word.
| Term | Card data used | Definition |
|---|---|---|
| BIN attack | A real BIN plus generated digits | Industry name for card testing on generated numbers |
| Card testing | Stolen or generated card data | Trying to "determine whether stolen card information is valid"; also called "carding", "account testing", "enumeration" and "card checking" (Stripe)1Stripe Docs, Protect yourself from card testing (read November 2, 2026) |
| Enumeration attack | Any card-not-present submissions | "The systematic or routine submission of Card-Absent Environment Transactions into the Visa system to fraudulently obtain or validate payment information" (Visa Core Rules, April 2026, Glossary)2Visa Core Rules and Visa Product and Service Rules, April 18, 2026 |
Visa tracks enumeration in its Visa Acquirer Monitoring Program (VAMP). Visa counts enumerated transactions "regardless of whether the payment was approved or declined," and an account that passes both 300,000 enumerated transactions and a 20% enumeration ratio in a month enters Excessive monitoring. Visa doesn't fine for this category.3Stripe Docs, Dispute and fraud card monitoring programs (read November 2, 2026) Under Visa Core Rules section 10.4.3.1, Visa may require an acquirer or its merchant "to deploy remediation tools or technologies."2Visa Core Rules and Visa Product and Service Rules, April 18, 2026 See chargeback monitoring programs.
Inside Tagada
See every payment's route, processor by processor
Set the order your processors are tried in, per store, per country or per product.

Card testing: what it costs, and how Visa counts it
Card testers use two entry points, Stripe explains. Card setup is the one they prefer, because validations and authorizations made when a card is saved "don't typically show up on cardholder statements". Payments are the other, kept small so cardholders don't notice them.1Stripe Docs, Protect yourself from card testing (read November 2, 2026) Every guessed number lands on your account, even if no money moves.
| Cost | What happens |
|---|---|
| Disputes | Some test payments succeed; cardholders see them and report fraud, which brings early fraud warnings and fraud disputes |
| Declines on real customers | Many declines tied to your business make all your transactions look riskier to issuers, "even after card testing ceases" |
| Fees | Authorization fees on some custom pricing plans, plus dispute fees |
| Monitoring programs | Enough early fraud warnings or disputes can put you in a card monitoring program |
| Load and data | Floods of requests strain your site, and test payments look like new customers in your reports |
Source: Stripe, Protect yourself from card testing.1Stripe Docs, Protect yourself from card testing (read November 2, 2026)
Visa counts the attack itself, not only its results. In VAMP, the enumeration ratio is enumerated transactions divided by all your authorization transactions in the month. Visa identifies enumerated transactions with a machine learning model, and they count "regardless of whether the payment was approved or declined." An account enters Excessive monitoring only when it passes both thresholds, 300,000 enumerated transactions and a 20% ratio, and only for that category: disputes and fraud are measured separately.3Stripe Docs, Dispute and fraud card monitoring programs (read November 2, 2026) So a merchant with 1.2 million authorizations in a month crosses both lines at 300,000 enumerated attempts (25%), while a small store hit by 50,000 attempts stays under the count threshold even if testing makes up most of its traffic. That store still pays in declines, fees and disputes.
Asia Pacific: a program with no published threshold
From October 2026, Visa's Merchant Elevated Risk Program (MERP) covers businesses accepting Visa in Asia Pacific. It looks at authorization count and decline rate along with fraud and disputes, aims at recently launched accounts, and doesn't publish its thresholds. Stripe lists possible outcomes: non-compliance assessments, backdated fraud disputes, a remediation plan, account closure and a VMSS listing.3Stripe Docs, Dispute and fraud card monitoring programs (read November 2, 2026)
Under attack right now? Stripe's checklist: identify the activity, refund fraudulent payments to avoid disputes, switch to a protected integration or add mitigations, then monitor that they work.1Stripe Docs, Protect yourself from card testing (read November 2, 2026) Two causes are easy to miss. Testers can reuse your publishable key on your own site, and a leaked secret key lets them create payments and save cards directly. Guest checkout also makes your form easy to reach: requiring a login or a validated session, and CSRF tokens, cut off some kinds of testing.1Stripe Docs, Protect yourself from card testing (read November 2, 2026)
Warning signs and how to stop a BIN attack
Stripe's main symptoms: a spike in failed or blocked payments, and in low-value payments "often with nonsensical customer names and emails."1Stripe Docs, Protect yourself from card testing (read November 2, 2026) Guessed data also shows in raw Visa response codes:4Stripe Docs, Network decline codes (read October 14, 2026)
| Visa code | Meaning | What it suggests |
|---|---|---|
| 14 | Invalid account number (no such number) | The generated number doesn't exist |
| 54 | Expired card or expiration date is missing | The expiry date was guessed wrong |
| N7 | Decline for CVV2 failure | The CVV was guessed wrong |
| 05 | Do not honor | The issuer refused without a reason |
Many cards from one device or IP address are another sign, but an IP filter alone won't stop testers (see fraud detection). Combine controls:1Stripe Docs, Protect yourself from card testing (read November 2, 2026)
- CAPTCHA on every request that saves a card or pays, checked server side.
- Rate limits, for example new customers per IP per day, or a CAPTCHA on every attempt after an IP's first one for several hours.
- Velocity rules that cap cards per account. Stripe names "card testing or enumeration attack scenarios" as a common use of Radar's hourly and daily counters.5Stripe Docs, Radar rules reference (read October 14, 2026)
- 3D Secure on risky payments. Radar evaluates "Request 3DS" rules before its block rules.5Stripe Docs, Radar rules reference (read October 14, 2026)
- No blind retries. Stripe warns that retrying cards set up by fraudulent customers "repeats the original attack." See hard decline for Visa's retry limits.
Refund suspicious payments that got through to avoid disputes.1Stripe Docs, Protect yourself from card testing (read November 2, 2026) Full playbook: ecommerce fraud prevention.
How Tagada helps
Scripted card tests, screened at checkout
TagadaPay runs native 3DS2, device intelligence and a rules engine in the checkout, so repeated card attempts can be challenged or blocked before authorization. Tagada follows Visa and Mastercard rules and the laws that apply to payments.
Frequently asked questions
Is a BIN attack the same as card testing?
What is an enumeration attack in Visa's rules?
Can a BIN attack hurt my business if every attempt is declined?
Sources
Checked November 2, 2026- Stripe Docs, Protect yourself from card testing (read November 2, 2026)
- Visa Core Rules and Visa Product and Service Rules, April 18, 2026
- Stripe Docs, Dispute and fraud card monitoring programs (read November 2, 2026)
- Stripe Docs, Network decline codes (read October 14, 2026)
- Stripe Docs, Radar rules reference (read October 14, 2026)
TagadaPay
Screen every card attempt before authorization
Tell us what you sell and how you sell it. Each application is underwritten, and approval is not guaranteed.
- 01Tell us what you sell and how
- 02Underwriting reviews your business
- 03Process through TagadaPay alongside your other processors
