Testing Stripe Radar
Use the following test credit card numbers to create payments in test mode with a specific risk level. Create test payments in either the Stripe Dashboard (in test mode) or by calling create a charge with your test API key.
Rules
Before you add or update a rule, weโll search for historical live mode payments that match the rule criteria. You can inspect that list of payments to verify the criterionโs intended behavior, and we also summarize those search results to help you estimate its future impact.
For block rules, the summary compares:
- Payments disputed or refunded as fraud that the rule wouldโve blocked (i.e., the payments you would want to match)
- Other successful payments this rule wouldโve blocked (i.e., the payments you would not want to match)
Itโs uncommon to find a perfect rule that only blocks fraudulent payments, so your decision to implement a rule is typically based on a trade-off: will this rule block enough fraudulent payments to be worthwhile compared to any good payments it incorrectly blocks? The trade-off thatโs right for you will depend on the particulars of your business. For a more complete discussion of exactly this trade-off in Stripeโs own fraud analysis, see our fraud detection primer.

Similarly, for review rules, we compare:
- Payments disputed or refunded as fraud that the rule wouldโve placed in review
- Other successful payments the rule wouldโve placed in review
Allow rules are somewhat trickier to evaluate because thereโs no way of knowing which previously-blocked charges would, if allowed, have turned out to be fraudulent. So, with these rules, itโs particularly important to review the list of matching historical payments to ensure these are payments youโd like to allow. For proposed allow rules, we summarize:
- Previously blocked payments that the rule wouldโve allowed
- Successful payments matched by the rule that were later disputed or refunded as fraud
In addition to reviewing this summary, you can click the Matching payment attempts over the past six months link to review the full list of matched charges. Weโll also warn you if your proposed rule:
- Appears to match a larger portion of your payments than is typically desirable for a custom rule
- Matches so few charges that it would be difficult to draw conclusions about its future behavior