@rough forge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
How to adjust subscription billing cycle based on paused time?
If I've paused a monthly subscription for 10 days with "mark_uncollectible" and "resumes_at" and either (a) it's in between invoices or (b) spans an invoice—how can I adjust the billing cycle to effectively push the next invoice 10 days?
In (a) we need to delay the upcoming invoice by 10 days and in (b) we need to invoice earlier since we already passed the previous, right? Is there a consistent pattern for handling this?
Related Request ID(s)
req_MvwXwjpA0J2YmL, req_jQ2a7TM7O4s7EL
What have you already attempted?
I tried `stripe.Subscription.modify(sub_id, billing_cycle_anchor=new_anchor, proration_behavior='none')`, but it doesn't accept timestamps.