#bks_api

1 messages ¡ Page 1 of 1 (latest)

prime robinBOT
#

👋 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.

humble drift
#

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",)

frigid nacelle
#

Hi there - looking

#

but the request is failing because you deleted the Subscription

#

(or at least that is the request that would match the code you provided)

humble drift
#

I can see the subscription when I go under subscription and the status is listed as cancelled

frigid nacelle
humble drift
#

So if the subscription is cancelled, I can't call the resume subscription API to reinstate?

frigid nacelle
#

Yeah, that endpoint is for paused Subscriptions, not cancelled ones

#

Which is in the header for the endpoint at the doc you linked

humble drift
#

got it. Thanks for the clarification and help. I'll look at the docs.