#matthew_code
1 messages ¡ Page 1 of 1 (latest)
đ 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/1305948028217196575
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! What you're trying to do isn't possible, you would need to make an individual request to get each Payment Intent by ID.
Hi, thanks for your reply! Maybe there's something else I can try? I am trying to find a list of unpaired transactions: paid in Stripe, but left as opened on our end. For each opened old transaction, I need to check the status, but cannot do separate api calls for obvious reasons.
Is there a way to get a list of all intents, with a limit larger than 100?
Yeah, have a look at auto-pagination: https://docs.stripe.com/api/pagination/auto
Also, have a look at the search endpoint for Payment Intents, which might be of use: https://docs.stripe.com/api/payment_intents/search
Thanks! There's a way to provide a list of ids as a query param using the search endpoint?
No.
Oh, and is there a way to set a limit to a number larger than 100?
No, but auto-pagination will handle retrieving all of the results regardless of the number.
The SDK will make as many requests as required to get the full list you're requesting.
Oh, I get it, thank you for your help!