#joshuacs94
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
maybe using billing_cycle_anchor https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_cycle_anchor would be the most appropriate
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But billing_cycle_anchor only accepts now or unchanged ๐ , how can I use it then?
I remember I tried to make an update to the billing_cycle_anchor using a timestamp and Stripe responded with an error.
hmm you're right, in update it doesn't take a timestamp ๐ฎโ๐จ
I just want to run an script and reset the billing_cycle_anchor so Stripe send invoices at 12 AM of the respective timezone next month
I think SubscriptionSchedules can help in that case
yeah, I read about them but got lost, can you provide me some guidance on how I could proceed? Should I create a schedule using from_subscription? How should I setup the phases? Should I release the schedule at some point?
@unique vine help me find myself in this jungle ๐
What about pausing payment collection and set resumes_at to 12AM of the users respective timezone?
https://stripe.com/docs/billing/subscriptions/pause#collect-payment-later
Hi there. Sorry for the delay
Looking into this
Hi recommend reading this section specifically: https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#resetting-anchor
Let me know if you have specific questions