Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Dispute resolution rules


Dispute resolution rules

Learn about writing dispute resolution rules in Radar.

You can use Radar to automatically resolve specific disputes. If your plan supports dispute prevention, you can write resolution rules to refund a dispute. Radar evaluates each incoming dispute against the dispute resolution rules you create. If a dispute matches the criteria for any rule, we automatically resolve it.

Rule structure

Dispute resolution rules follow the same rules structure as other Radar rules. The rule structure has two components—the action to take and the condition to evaluate:

{action} if {condition}

Together they represent the predicate. A rule to automatically resolve all incoming disputes with a disputed amount of 10 USD or less appears as:

Resolve dispute if:amount_in_usd: <= 10.00

  • The action is Resolve dispute
  • The condition is :amount _ in _ usd: < 10. 00

For all dispute resolution rules, the action is Resolve dispute. Learn more about writing effective rules in Radar.

Supported attributes

Use the following attributes within Radar to write dispute rules.

AttributeTypeExample Value
accountCase Sensitive Stringacct_19KCB9AlaaEw6AgR
For Connect users creating destination charges or on_behalf_of charges, the account on whose behalf the charge is made. For destination charges with on_behalf_of set, on_behalf_of takes precedence.
amount_in_xyzNumeric50
The amount of the dispute, which could be different than the amount of the payment, converted to the currency specified by xyz (for example, amount_in_usd). Specify one of the following supported currencies and Stripe automatically calculates a converted amount to use: aed, ars, aud, brl, cad, chf, clp, cop, czk, dkk, eur, gbp, hkd, huf, idr, ils, inr, jpy, khr, krw, mxn, myr, nok, nzd, php, pln, ron, rub, sek, sgd, thb, try, twd, or usd. For decimal currencies (for example, usd), rules use the base currency unit rather than sub units (for example, dollars, not cents).
card_brandCase Insensitive Stringvisa
The brand of the card associated with the dispute. The supported values are: visa (Visa) and mc (Mastercard)
card_binCase Insensitive String483312
The Bank Identification Number (BIN) of the card associated with the dispute. The BIN is the first six digits of the card number.
card_countryCase Insensitive CountryUS
The two-letter code corresponding to the country where the card was issued.
currencyCase Insensitive Stringusd
The 3-digit currency code representing the currency in which the customer paid for the transaction.
is_fraudulentBooleantrue
Identifies whether the dispute was filed as fraudulent or non-fraudulent. Non-fraudulent disputes include disputes that were filed for reason code categories such as Product not received, Product unacceptable, and Subscription canceled.
network_reason_codeCase Insensitive String10.4
The reason code from the network. Currently, only Visa dispute network reason codes are supported.
statement_descriptorCase Insensitive Stringexample descriptor
The statement descriptor provided on a payment.

See also

Last verified 2026-09-24

Is this helpful?