Fraud & disputes4 min readUpdated November 2, 2026

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.
Want to go further? AskChatGPTClaudePerplexityGrok
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.

TermCard data usedDefinition
BIN attackA real BIN plus generated digitsIndustry name for card testing on generated numbers
Card testingStolen or generated card dataTrying 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 attackAny 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.

See how routing works

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.

CostWhat happens
DisputesSome test payments succeed; cardholders see them and report fraud, which brings early fraud warnings and fraud disputes
Declines on real customersMany declines tied to your business make all your transactions look riskier to issuers, "even after card testing ceases"
FeesAuthorization fees on some custom pricing plans, plus dispute fees
Monitoring programsEnough early fraud warnings or disputes can put you in a card monitoring program
Load and dataFloods 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 codeMeaningWhat it suggests
14Invalid account number (no such number)The generated number doesn't exist
54Expired card or expiration date is missingThe expiry date was guessed wrong
N7Decline for CVV2 failureThe CVV was guessed wrong
05Do not honorThe 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.

Nick Bonnassies

CMO at Tagada

CMO at Tagada. Before Tagada, Nick built direct-to-consumer brands that generated over $115M in sales, raised over $25M in crowdfunding and sold two of them. He also works as a fractional CMO on marketing operations and AI systems.

Frequently asked questions

Is a BIN attack the same as card testing?

It is one kind of card testing. Card testing covers any attempt to check whether card data works, including stolen cards. In a BIN attack the numbers are generated from a real BIN instead of stolen. Stripe lists enumeration, carding, account testing and card checking as other names for card testing.

What is an enumeration attack in Visa's rules?

Visa defines it as "the systematic or routine submission of Card-Absent Environment Transactions into the Visa system to fraudulently obtain or validate payment information." A BIN attack fits that definition. Visa monitors it through VAMP, separately from disputes and fraud.

Can a BIN attack hurt my business if every attempt is declined?

Yes. Stripe says card testing ties a large number of declines to your business, which can make issuers decline your real customers too, and it can add authorization fees on some pricing plans. Visa counts enumerated transactions whether they are approved or declined.

Sources

Checked November 2, 2026
  1. Stripe Docs, Protect yourself from card testing (read November 2, 2026)
  2. Visa Core Rules and Visa Product and Service Rules, April 18, 2026
  3. Stripe Docs, Dispute and fraud card monitoring programs (read November 2, 2026)
  4. Stripe Docs, Network decline codes (read October 14, 2026)
  5. 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.

  1. 01Tell us what you sell and how
  2. 02Underwriting reviews your business
  3. 03Process through TagadaPay alongside your other processors