#manuel_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1252776699792326706
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
hello! do you mean the price for an invoice for the subscription?
you can calculate it from the price(s) itself if you want to look at the subscription, but the subscription itself doesn't have a total price
ohh... ok ty
usually most folks would look at the invoice.paid event because that's the info that they would want to save. Can you share more on why you want to see the total amount from a Subscription instead?
i just wanted to show to the users how much are they paying for their subscriptions
aaah, in that case, you can look into this API instead : https://docs.stripe.com/api/invoices/create_preview
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.