#bks_api
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/1372686662286704732
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Here is the code that is making the API call for resuming the subscription.
sub_resume = stripe.Subscription.resume(f"{subid}",billing_cycle_anchor="now",)
Hi there - looking
I think this is the request you're referring to: https://dashboard.stripe.com/test/logs/req_G084madgJhSrwv
but the request is failing because you deleted the Subscription
in this request: https://dashboard.stripe.com/test/logs/req_YVjTjMqyafcvNh
(or at least that is the request that would match the code you provided)
I can see the subscription when I go under subscription and the status is listed as cancelled
Yeah, you can't update it after cancellation - https://docs.stripe.com/api/subscriptions/cancel?lang=php&api-version=2025-04-30.basil
So if the subscription is cancelled, I can't call the resume subscription API to reinstate?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yeah, that endpoint is for paused Subscriptions, not cancelled ones
Which is in the header for the endpoint at the doc you linked
I'd recommend going over this guide to get a feel for the different states - https://docs.stripe.com/billing/subscriptions/overview
got it. Thanks for the clarification and help. I'll look at the docs.