Skip to main content
In a card-testing attack, someone uses your checkout as a test bench: they send many small charges with stolen or generated cards to find out which ones are still live. Every approved attempt is a card that will later be used somewhere else, and every declined attempt raises your costs and muddies your authorization rate. Fraudeg recognizes the pattern in the transaction and returns a decision before you charge. Who it’s for: merchants with a card checkout, gateways that process for many merchants, and issuers that want to see attacks on their BINs.

Signals that matter

These are the public codes that appear in flags[].code and in decision.reason during this kind of attack. The last column says what to send so that the signal’s category gets evaluated (see Fields). Always send payment_method with a value from the card rail (see Payment methods). Without a recognizable rail, the evaluation falls back to unknown and card signals don’t fire.

How Fraudeg solves it

Your system acts on decision.type, never on the score. When your team blocks an entity, subsequent attempts with that entity carry entity_block:<kind>:<value> in decision.reason.

Implementation

1

Send every payment attempt

Call POST /analyze before charging, with one X-Idempotency-Key per attempt (see Idempotency). Include the fields from the table above: without card_hash, device_id, or ip_address the engine can’t relate an attempt to the previous ones.
2

Act on the decision

BLOCK: don’t charge. STEP_UP_AUTH: request the verification that comes in conditions. HOLD: don’t ship until it’s reviewed. If the attack volume doesn’t let you wait for the response, use asynchronous analysis.
3

Tune rules, thresholds, and lists

In Decision Engine, check which rules are active in Rules and create a custom rule for your case, for example: if is_guest_checkout is true AND cc_is_foreign_bin is true, Step-up. Leave it in shadow mode before activating it. The decision bands are tuned per payment method.
4

Work alerts and blocks

In Alerts, when you Close an alert as Confirmed fraud you can block the entity in the same step. The entries land in Entity lists, where you also see Fraud rings: groups of cards, devices, and IPs that transact together.
5

Measure and watch

Create a monitor on % blocked or Transactions per hour scoped to your merchant or BIN, so you find out when an attack starts.

What to measure

Go-live checklist

  • You send card_hash, device_id, and ip_address on every attempt, not just the approved ones.
  • Your code branches on decision.type and treats an unknown reason code as a generic signal.
  • Every retry uses the same X-Idempotency-Key.
  • Your custom rules went through shadow mode and a backtest before being activated.
  • Someone on your team has CASE_RESOLVE and ENTITY_LISTS_MANAGE to close alerts and block.
  • You have a monitor on % blocked that notifies by Email or Webhook.
  • You reviewed Going to production.

Next steps

Account takeover

When the attacker isn’t testing cards, but getting into a real account.

Entity lists

Block cards, devices, and IPs, and review fraud rings.