#nextplayerrr_subscription-update-cancel
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1289264615535939688
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
If you use the Cancel API it will immediately cancel the Subscription. If you want to only cancel the subscription at the end of the current billing period then you can use the Update API and specify cancel_at_period_end: 'true' https://docs.stripe.com/api/subscriptions/update#update_subscription-cancel_at_period_end
So I just call that endpoint and itll cancel?
No need to call any actual cancel endpoint?
And then if the user wants to uncancel, I again call the endpoint setting it to false?
So I just call that endpoint and itll cancel?
You need to Update the Subscription with the correct parameter and it will cancel the Subscription at the end of the current billing cycle
If the user wishes to un-cancel, you can set the cancel_at_period_end to 'false' prior to the canceling of the subscription
Ok awesome thanks a lot
Happy to help ๐