#Sebastian Cortabarria -
1 messages · Page 1 of 1 (latest)
You can set any of the attributes that we list for the phases in our documentation. That being said I do not see the pause collection behavior https://stripe.com/docs/api/subscription_schedules/object#subscription_schedule_object-phases
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Can you tell me more about what you are trying to do here?
Many of the operations we do over subscriptions have been transitioning to schedules handled by us internally, but once saw the subscription schedule we thought it would be a good idea to try and centralize everything there.
Basically we allow our users to pause their subscription for a certain amount of time and we handle when to resume them ourselves. It would be great that when we start to use SubSchedules for upgrades and downgrades we could also schedule the pausing as well.
Gotcha. Yeah, at the moment, I think it would be best to set those on the subscription itself and schedule the unpausing with the resumes_at parameter. https://stripe.com/docs/api/subscriptions/update#update_subscription-pause_collection-resumes_at
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 will put in feedback about allowing that to be set via subscription schedule though. That makes sense to me as a use case
One thing I also want to mention is our note in the pausing doc that mentions scheduled updates will still happen while subscription payment is paused https://stripe.com/docs/billing/subscriptions/pause#pausing-subscription-schedules
I'm guessing you probably already read that but I figured it was worth point out