#mochihealth
1 messages · Page 1 of 1 (latest)
You may use Radar to create custom list and set up block rules to block customer from making payment:
The steps will be:
- Create the customer list that you intend to block with steps here: https://stripe.com/docs/radar/lists#custom-lists
- Create a block rule with reference to the blocked customer list created in Step 1: https://stripe.com/docs/radar/rules#block-rules
if i create a rule like Review if :customer: in @customer_id_blocklist how do i add customers to that list
You can go to https://dashboard.stripe.com/test/settings/radar/lists, click on the blocked customer list and add item to it
yea but is there a way to did it from the api
After the value list is created, you can add value list item to the value list (rsl_xxx) with Create Value List Item API: https://stripe.com/docs/api/radar/value_list_items/create
i created a blocked list of customer ids and added an id and I was still able to create a subscription with it
Can you share the subscription ID (sub_xxx)?