#edilson2ibi_api

1 messages ¡ Page 1 of 1 (latest)

rigid pumiceBOT
#

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

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

empty pawn
#

Hi we can only support developers in English in here

dim obsidian
#

the API usage is free?. Doesn't the number of calls have any influence on billing?

empty pawn
#

We aren't familiar with pricing in here

#

We just help with api questions

#

Recommend you talk to support

dim obsidian
#

Thank you for the answer
Taking advantage of the opportunite.
When i retrieve a payment intent from stripe i always want the associated products
But i have to search based on the id in invoices or checkout sessions then checkout list items to find it
i want to know if there is a simple way to get the payment intent with its products??

empty pawn
#

Payment Intents don't have products

#

They only have amounts

#

That's by design

#

You should refer to invoices to find products

dim obsidian
#

Yes i got it
But not all payment intent are associated with an invoice

empty pawn
#

Yes exactly

#

Payment Intents are meant to be used with only an amount not a product

#

Invoices are built on top of payment intents

#

So under the hood the invoice just passes an amount to the payment intent