#kacy_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฑ๏ธ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!
๐ 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/1212581737075441715
๐ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
โฒ๏ธ 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. Thank you for your patience!
Hello! We'll be with you shortly. 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.
- luzzardik, 5 days ago, 7 messages
When call Retrieve Subscription, you want to expand items.data.price
Let me try !
Just to check, the right query using Node.JS SDK would be
let _a = await stripe.Stripe.subscriptions.retrieve("sub_1OoywuHKQ1MO1mAIoxnoi1uJ", {expand: ['items.data.price']});
I think so
I still don't have the pricing then ๐
I think I forgot to mention it, it's a tiered subscription, maybe that's why ?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You could try expand a bit more
like "items.data.price.currency_options"
Still no amount
It does, should I fetch directly items and expand from there ?
You can take the Price Id first and then call Retrieve Price API and expand from there
OK I'll do that, just a sec !
I have the tiers now, I guess I could just compare against them now !
Thanks for the help !
np and good luck!