In a card testing attack, bots run large batches of stolen card numbers through your checkout to find the ones that work. Every attempt that reaches the gateway is a decline on your MID, which drags down your approval rate and can get the merchant account flagged. Protect your MIDs in two ways: pause a MID automatically when declines pile up, and block the traffic before it reaches the gateway.
Step 1: Set Decline Limits on Your MIDs
Go to Merchants > Management.
Click the Edit Rule icon on the rule that covers your products.
Select the round you want to protect.
In the processors table, enter a Consecutive Decline Limit for each MID, and a Decline Limit if you also want a total cap.
Click Save.
The two limits work differently:
Consecutive Decline Limit — the number of declines in a row before the MID is paused. Every approval on the MID resets the count to 0, so normal traffic rarely reaches it, while a burst of bot declines does.
Decline Limit — the total number of declines before the MID is paused. Approvals do not reset it.
Step 2: Keep Real Sales Flowing
A paused MID stops receiving orders, so make sure other MIDs can take over:
Add at least one more active MID to the same round. When one MID is paused, the load balancer sends its share to the others.
Add MIDs to a Retry Round as well, so orders still have somewhere to go if every MID in the round is paused.
Step 3: Block the Traffic Before It Reaches the Gateway
As soon as you spot a pattern in the attack — the same IP address, email domain, or card BIN — add it to the blacklist:
Go to Administration > Blacklist System.
Click New.
Choose the Type (IP Address, Email, or Card BIN), enter the value, and click Save.
Admoji rejects blacklisted orders with REF:0007 Declined. before they are sent to any gateway, so they never count as declines on your MIDs.
Step 4: Resume a Paused MID
Once the attack has stopped, bring the MID back into rotation:
Go to Merchants > Management and open the rule with the Edit Rule icon.
Find the MID with Paused in the Declines Status column.
Click the play icon (Resume from Declines Pause) in the Activate Declines column.
Click Save. Resuming resets both decline counts of the MID to 0.
Related articles