#Fulco
1 messages · Page 1 of 1 (latest)
Hi there
You would get those rules from your Dashboard. Don't believe we surface these in the API
Let me double check on that though
I'm able to get some of the Radar lists using https://api.stripe.com/v1/radar/value_lists
Those list items have IDs on them
But there are also Radar rules that are not tied to any list, so that'd be a different API endpoint if it exists
So what you actually want to do here is expand the outcome.rule: https://stripe.com/docs/api/charges/object#charge_object-outcome-rule
That should give you the details of the rule if I remember correctly beyond just the rule ID
Is there an example payload I can find for outcome.rule?
I don't think we show one. I just tested though and it will look like: rule: { id: 'ssr_1MlzyTBpF9kEgTScaou8AHTA', action: 'block', predicate: ":card_country: != 'US'" },
I'll flag internally that we don't have an example of this
Ok great, that's helpful, thanks
As we should have something in our docs for that
Yeah and if I could somehow get the IDs of the rules that I have implemented, that would be helpful too
For now we'll get there with trial and error
We'll just do some testing
Yeah will include that as feedback as well.
Thanks for the feedback!