#Merino

1 messages ยท Page 1 of 1 (latest)

mystic nebulaBOT
mellow osprey
#

Hey toby, how are you mate?

gusty knoll
#

Hi ๐Ÿ‘‹ doing alright, hope the same is true for you as well.

mellow osprey
#

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?

gusty knoll
#

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.

mellow osprey
#

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?

gusty knoll
#

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)

mellow osprey
#

I see, thank you very much! Have a good one mate