#Merino
1 messages ยท Page 1 of 1 (latest)
Hey toby, how are you mate?
Hi ๐ doing alright, hope the same is true for you as well.
Thank o/
My first doubt is when creating a subscription on the dashboard, I can't seem to do it with a billing threshold that'll apply to every customer on this subscription/plan/price. Do I need to update this attribute individually for each customer?
I've found the input where I can change a customer subscription billing threshold at the dashboard, but I intended to set this value for every customer
Should I create/update subscriptions via API?
We aren't as familiar with the dashboard side of this flow (we primarily focus on helping with API related questions), so I'm not entirely certain how to set this via the dashboard.
When setting a billing_threshold from the API, you do have to set it on a per-subscription basis.
So even with the API I need to set it for each customer?
'Cuz there isn't a way to set the threshold to the price or the subscription itself?
These details are not set on the Customer object, they are set in the billing_thresholds hash found on the Subscription object:
https://stripe.com/docs/api/subscriptions/create#create_subscription-billing_thresholds (for creating Subscriptions)
https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_thresholds (for updating)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I see, thank you very much! Have a good one mate