Before you write a rule: custom rules require Radar Plus or Pro. Attribute names below are from Stripe's supported attributes and rules reference pages; Stripe adds attributes often, so treat those pages as the final word.

Rule syntax in 60 seconds

A Radar rule is {action} if {condition}, where a condition is attribute operator value. Attributes are wrapped in colons:

Block if :amount_in_usd: > 1000.00 Review if :card_country: != :ip_country: Block if :card_country: IN ('CA', 'DE', 'AE')
OperatorMeaningWorks on
= / !=Equal / not equalStrings, countries, states, numbers, metadata
< > <= >=Numeric comparisonNumbers and numeric metadata only
INValue is in a groupEverything
INCLUDESString containsStrings, not numbers
LIKEPattern match, % as wildcardStrings, not numbers
  • Booleans take no operator: Review if :is_anonymous_ip:. Writing :is_anonymous_ip: = 'true' is invalid.
  • Combine with AND, OR, NOT (or &&, ||, !) and parentheses. Precedence is standard: X OR NOT Y AND Z means X OR ((NOT Y) AND Z) — use parentheses.
  • Strings are single-quoted. Countries are two-letter codes ('US', not 'United States'). States are ISO subdivision codes without the country prefix ('CA').
  • Lists are referenced with @: Block if :card_country: in @card_countries_to_block.
  • Metadata uses double colons: Review if ::Customer Age:: < 30. Customer and destination metadata: Allow if ::customer:Trusted:: = 'true'. Metadata strings are case-sensitive.
  • Amounts are in whole currency units — :amount_in_usd: > 50 means $50, not 50 cents — and are converted, so a €45 payment can match a USD threshold.

Missing values: the silent rule-killer

If an attribute is missing for a payment, any comparison against it is false — including !=, and NOT of a missing comparison is also false. So Block if :ip_country: != 'US' does nothing on payments with no IP (common for wallet and server-side payments). Booleans are the exception: a missing boolean is simply false. Test explicitly with is_missing():

Review if is_missing(:email_domain:)

Evaluation order

Request 3D Secure rules run first and don't stop evaluation. Then allow, block and review rules run in that order, and the first allow, block or review match ends evaluation. A broad allow rule therefore switches off your block rules for everything it matches. More in how Stripe Radar works.

Risk score attributes

Stripe now marks three specific scores as recommended over the general risk_score. They let you write rules against the outcome you actually care about — fraud, fraud disputes, or early fraud warnings — rather than one blended number.

AttributeTypeWhat it returns
:fraudulent_payment_score:Number 0–99Likelihood the payment is fraudulent, including unreported fraud. Cards. Recommended by Stripe.
:fraudulent_dispute_score:Number 0–99Likelihood of a fraudulent dispute. Cards, ACH and SEPA Direct Debit. Recommended.
:early_fraud_warning_score:Number 0–99Likelihood the cardholder reports fraud as an early fraud warning. Cards. Recommended.
:risk_score:NumberThe general Radar risk score. Defaults: 65+ elevated, 75+ highest. Still supported.
:risk_level:Stringnormal, elevated, highest or not_assessed.

Card attributes

AttributeTypeWhat it returns
:card_country:CountryTwo-letter country of the card issuer.
:card_bin:StringFirst six digits of the card number.
:card_brand:Stringamex, visa, mc, dscvr, diners, interac, jcb, cup.
:card_funding:Stringcredit, debit, prepaid or unknown.
:card_fingerprint:String (case-sensitive)Stable identifier for the card number.
:is_new_card_on_customer:BooleanThe card hasn't been used by this Customer on your account before.
:digital_wallet:Stringe.g. apple_pay, android_pay, samsung_pay, none.
:is_3d_secure_authenticated:BooleanPayment was authenticated by a completed 3D Secure flow.
:has_liability_shift:BooleanApproximation of whether liability shifted (Stripe notes it can be inaccurate).
:cvc_check / address_zip_check:StringIssuer result: pass, fail, unavailable, unchecked, not_provided. Post-authorization.

:cvc_check:, :address_zip_check: and :address_line1_check: are post-authorization: they're evaluated after the issuer responds, after rules that don't use them. Stripe also warns that requiring a strict 'pass' is overly restrictive, because wallet payments often carry no CVC.

Email, IP, address and customer attributes

AttributeTypeWhat it returns
:email_domain:StringDomain of the email supplied with the payment.
:is_disposable_email:BooleanThe email is from a known throwaway provider.
:ip_country:CountryCountry from IP geolocation.
:is_anonymous_ip:BooleanIP is a known proxy or Tor exit node.
:distance_between_ip_and_billing_address:Number (km)Distance between the IP location and the billing address.
:billing_address_country:CountryCountry of the billing address.
:hours_since_customer_was_created:NumberAge of the Customer object (also in minutes/seconds).
:customer:String (case-sensitive)The Customer ID on the payment.

Payment attributes

AttributeTypeWhat it returns
:amount_in_usd:NumberAmount converted to USD, in dollars (33 other currencies: amount_in_eur, amount_in_gbp…).
:is_recurring:BooleanRecurring payment, such as a subscription renewal.
:is_off_session:BooleanBilling payment not triggered by the customer, or confirmed with off_session.
:is_free_trial_transaction:BooleanStripe determined this is a free-trial transaction (Checkout or Billing).
:is_checkout:BooleanProcessed through Stripe Checkout.
:payment_method_type:Stringcard, sepa_debit or us_bank_account.

Velocity and count attributes

Most of Stripe's attribute list is counters, and they follow predictable naming patterns once you see them:

PatternCountsExample
{outcome}_charges_per_{dimension}_{window}Card charges by outcome — total, authorized, declined, blocked — per billing address, card number, customer, email, shipping address or IP:total_charges_per_card_number_hourly:
{outcome}_transactions_per_{dimension}_{window}Same, across all supported payment methods and setup attempts (no all_time):declined_transactions_per_customer_daily:
card_count_for_{dimension}_{window}Distinct cards seen per IP, email, customer, billing or shipping address:card_count_for_ip_address_hourly:
email_count_for_{dimension}_{window}Distinct emails per card, IP, billing or shipping address:email_count_for_ip_daily:
dispute_count_on_{card_number|ip}_{window}Fraudulent disputes linked to the card or IP:dispute_count_on_card_number_yearly:
efw_count_on_{card|ip}_{window}Early fraud warnings linked to the card or IP:efw_count_on_card_all_time:
{hours|minutes|seconds}_since_{event}Time since a card, email or customer was first seen:hours_since_card_first_seen:

Windows (from the rules reference): hourly ≈ the last 65 minutes in 5-minute buckets; daily ≈ 25 hours; weekly ≈ 7 days; yearly ≈ 366 days; all_time = up to five years. Two gotchas: counters exclude the payment being evaluated (the first charge of the hour sees 0), and many are bounded at 25, so > 30 can never match.

Radar Pro attributes

These need Radar Pro. Two of them target subscription businesses directly.

AttributeTypeWhat it returns
:bot_score:Number 0–99Likelihood the payment was made by a bot. Cards.
:free_trial_abuse_risk_level:Stringnormal or highest. Cards.
:refund_abuse_risk_level:Stringnormal, elevated or highest. Cards.
:name_verification:Stringpass, fail, partial_match, unavailable, not_provided.

Example rules for subscription businesses

Starting points built only from documented attributes. Thresholds are illustrative — backtest every rule against your own last six months before switching it from Review to Block. The subscription Radar rules guide explains how to size them.

GoalRule
Card testing from one deviceBlock if :card_count_for_ip_address_hourly: > 3
Rapid retries on one cardBlock if :total_charges_per_card_number_hourly: > 4
Throwaway signups on trialsReview if :is_free_trial_transaction: AND :is_disposable_email:
Geography mismatch with a second signalReview if :card_country: != :ip_country: AND :fraudulent_payment_score: > 50
Prepaid cards on first chargeReview if :card_funding: = 'prepaid' AND NOT :is_recurring:
Cards with fraud historyBlock if :dispute_count_on_card_number_yearly: > 0
Trusted customers (use sparingly)Allow if ::customer:Trusted:: = 'true'

Want to learn the vocabulary by doing? Try the Radar attribute drill, or generate copy-paste rules from 20 patterns in the Radar rule generator.

Radar set up for one-time ecommerce, not subscriptions?

I rebuilt the Radar rule set on a 200K-user subscription app — chargebacks went from 13% to under 1%, and out of Mastercard ECM.

The 90-day Chargeback Rescue program rebuilds your Radar rules around your real fraud patterns, adds dynamic 3D Secure and dispute interception, and tunes precision so legitimate customers convert while fraud stays out.

Book a Free Consultation →

See the Chargeback Rescue program →

Sources: Stripe documentation and pricing pages as published on 27 November 2026 — linked inline. Stripe changes Radar regularly; check the linked page before relying on a specific number.

Frequently asked questions

What are Stripe Radar attributes?
Named signals you can use in Radar rules, written between colons — :card_country:, :ip_country:, :amount_in_usd:, :fraudulent_payment_score:. A rule compares one to a value, e.g. Block if :card_country: != :ip_country:. Custom rules need Radar Plus or Pro.
Should I use risk_score or fraudulent_payment_score?
Stripe now marks fraudulent_payment_score, fraudulent_dispute_score and early_fraud_warning_score as recommended over risk_score (still supported). Pick the one that matches the outcome you want to prevent.
Why is my Stripe Radar rule not matching?
Usually one of: a missing attribute (comparisons against missing values are false, even !=); an allow rule matching first; a threshold above a counter's cap of 25; forgetting counters exclude the current payment; or writing = 'true' on a boolean.
What time windows do Radar velocity attributes use?
Hourly ≈ last 65 minutes (5-minute buckets), daily ≈ 25 hours, weekly ≈ 7 days, yearly ≈ 366 days, all_time up to five years. Cross-payment-method _transactions_ counters offer hourly, daily and weekly only.
Which Radar attributes are only on Radar Pro?
bot_score, free_trial_abuse_risk_level, refund_abuse_risk_level and name_verification, all for card payments.
Georges Rayess
About the author

Georges Rayess is a Product Manager & AI/Fraud Consultant. Product Manager since 2020 at a privacy-focused subscription mobile app with 200,000+ active users — drove the chargeback rate from 13% to below 1% and exited Mastercard ECM with compliance documents accepted by the processor.