#elianbraja
1 messages ยท Page 1 of 1 (latest)
I currently have a subscription for a customer that has multiple subscription_items (all of them monthly). I want to switch everything to annual. But if customer is in the middle of the billing cycle, I want him to start the yearly bulling cycle at the end of the monthly cycle
๐ happy to help
sorry for the late reply, I must have totally missed your message earlier
discord has been busy in the last hour
I guess what you're looking for is in this doc https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
I want him to start the yearly bulling cycle at the end of the monthly cycle
you have a couple of options either use schedules, or an easier approach would be to use https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_cycle_anchor "unchanged"
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 want to know if user is in the middle of the month and then he is moved to annual, will he get his money back for the amount remaining in that month?
Yes, by default the already paid period would receive a prorated credit, but you can disable this if you prefer:
https://stripe.com/docs/billing/subscriptions/prorations