#boggerss_subscription-item-endpoints

1 messages ¡ Page 1 of 1 (latest)

valid templeBOT
#

👋 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/1328400574189801513

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

weak kiln
#

Hello, what version of stripe-node are you using?

cedar fern
#

Ah yes good question

weak kiln
#

And by interface I assume we are talking about the Typescript definition for the params that can be passed to that method?

cedar fern
#

Yeah exactly the function only takes an ID and options

Even the docs don't seem to make a mention of it

"stripe": "^16.11.0",

weak kiln
#

Which docs?

cedar fern
#

These docs mention params for proration but the code shown for node.js doesn't show that it can be used

valid templeBOT
cedar fern
#

If there is someway for me to add a body to the delete call the SDK makes that would be good otherwise I guess my options are to use a rest client like axios and cicrumvent the issue?

weak kiln
#

There is a way to do that but you may not have to here, looking further into this

cedar fern
#

Okay thank you for the update

weak kiln
cedar fern
#

Thats cancelling a whole subscription though, I just need to remove an item from a subscription that yet to be paid for

#

But I don't want proration applied on an invoice that has yet to be paid for

weak kiln
#

And it was added 3 years ago which is well before your current library version was created

#

Do we actually error when trying to build/run your code? Or is this just an intellisense error?

cedar fern
#

Weird ebcause my IDE doesn't show any parameter for it to fit into

#

Yeah its intellisense but even the docs for this function don't show options

#

Ugh

#

my bad

#

There are two definition for it

#

Thanks for putting up with that!!

weak kiln
#

Ah there we go

cedar fern
#

Have a good one!

weak kiln
#

No worries, glad we could solve it!