#pradip_bobde
1 messages · Page 1 of 1 (latest)
Hi, how can I help?
I want to update subscription current period end date using API, Is there any way to update it?
Could you please describe your use case in more detail please?
Ok
I have one subscription which current period end date is 30th Nov but I want to update it to 1st Dec Withput any charge using API
Do you want all the subsequent cycles to charge on the 1st of the month?
In my case it's every month end, But last month we have faced some issue with this because last month end date was 31st not 30th, So we want to update it manually using API to last day of month end
So you want the last day or the 1st day?
last day with handle the Feb, Oct, Nov month scenarios
We don't support "last day", unfortunately. It's more reliable to use the 1st day of the month.
You can, you need to update the billing_cycle_anchor: https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_cycle_anchor
However, you can only set it to now so you will need to wait until your current cycle ends and then update it on the 1st of the month.
I want to correct it before renewal process which is last day of the every month
so that renewal can happen on correct date
As I said, I don't think it's possible in this cycle.
Alternatively, you can cancel this Subscription and start a new one on the 1st
Ok Thanks
Happy to help.