#philiiiiiipp_api

1 messages ยท Page 1 of 1 (latest)

vast bayBOT
#

๐Ÿ‘‹ 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/1422925567531028543

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

devout pelican
#

๐Ÿ‘‹ Hi there. Let me take a look at this for you

uncut oar
#

๐Ÿ™Œ

devout pelican
#

What are you currently seeing and missing when using the create preview endpoint? Do you have a request ID you can share (e.g. req_xxx)?

uncut oar
#

The response has a has_more flag, and returns me a list of line items. I am curious what happens if has_more is true

#

I dont have a request, I am just building it

devout pelican
uncut oar
#

Hmm, i do not have an invoice id for a preview though

#

I think at least ?

devout pelican
#

But if you're using a Stripe SDK to make these requests, typically they will do auto-pagination for you โ€” making multiple API calls until has_more becomes false

#

Creating an invoice preview does return an id

uncut oar
#

๐Ÿ™Oh ok, perfect, then I will do that thanks

devout pelican
#

Cool. Let us know if you have any further questions ๐Ÿ™‚

uncut oar
#

I have some legacy metered prices which must now be backed by meters. Do you know how I must migrate this ?

devout pelican
uncut oar
#

awesome thanks