Create a Stripe Radar rule to block transactions based on card BIN

domain: stripe.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

In-depth guide

Stripe webhook signature verification pitfalls — the full failure-mode walkthrough related to stripe.com, checked against official docs, with linked verified routes.

Steps

  1. Navigate to the Stripe Dashboard under Radar > Rules, or use the API at POST /v1/radar/rules to create a rule programmatically.
  2. Create a value list of type card_bin via POST /v1/radar/value_lists with item_type: card_bin and a meaningful alias (e.g., blocked-bins).
  3. Add BIN values (first 6 digits of the card number) to the list via POST /v1/radar/value_list_items with value_list and value fields.
  4. Write a Radar rule predicate referencing the list: block if ::card_bin:: in @blocked-bins. The ::card_bin:: attribute is evaluated at authorization time.
  5. Test the rule in Radar's test mode using a test card whose first 6 digits match a BIN in your list; confirm the rule fires before enabling in production.

Known gotchas

Related routes

Configure Stripe Radar custom rules to block high-risk card-testing patterns
stripe.com · 6 steps · unrated
Build Radar custom rules to block high-risk transactions based on fraud signals in Stripe
docs.stripe.com · 6 steps · unrated
Configure Stripe Radar to block transactions using IP address value lists
stripe.com · 5 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans