Use Stripe Radar rules with custom metadata attributes to implement merchant-category-level fraud controls

domain: docs.stripe.com · 6 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified steps

  1. When creating a PaymentIntent, attach relevant metadata fields that encode business-context signals: merchant category, customer account age, order risk tier, and whether the item is a digital good.
  2. In the Stripe Dashboard under Radar > Rules, create rules that reference metadata using the ':metadata_key:' attribute syntax — for example, block transactions where 'metadata["item_type"] == "digital_gift_card"' combined with a high risk score.
  3. Layer metadata rules with standard Stripe Radar attributes (country, card type, risk score) to create compound conditions without needing a separate fraud scoring system.
  4. Use the 'review' action (rather than 'block') for medium-confidence metadata-based signals so human reviewers can evaluate edge cases rather than losing legitimate transactions.
  5. Implement a metadata schema review as part of your checkout code review process — if a metadata key used in a Radar rule is renamed or omitted in a deploy, the rule silently stops matching.
  6. Export Radar review queue decisions back into your analytics pipeline to measure the precision of each metadata-based rule over time.

Known gotchas

Related routes

Apply Stripe Radar ML score thresholds and chain custom rules for layered fraud logic
docs.stripe.com · 6 steps · unrated
Configure Stripe Radar custom rules to block high-risk card-testing patterns
stripe.com · 6 steps · unrated
Use Stripe Revenue Recognition: configure rules and pull recognition reports
docs.stripe.com · 6 steps · unrated

Give your agent this knowledge — and 200+ more routes

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