#raimund_api
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/1356780922770292887
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi @azure blade , I'm basically looking for the query to retrieve the marked information in a connected account.
Hi @untold widget https://docs.stripe.com/api/payouts/list#list_payouts-status can you call this API with status set to in_transit ?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I don't know, can I? The docs don't mention that status there. Also, how do I call that for one particular customer?
So I just tried, and I'm getting back paid Payouts instead of in_transit ones.
Another idea?
Do you have any payouts that are currently in in_transit status?
Unlikely.
But if I try with e.g. pending, the response array is empty. Whereas with in_transit, I'm getting all kinds of paid payouts back.
Alternatively you'll want to call the API without specifying status to get all payouts, and find the payout with status=in_transit in your own code.
Wow. That could be a potentially long list.
https://docs.stripe.com/api/payouts/list#list_payouts-created you can speicfy a date interval to shorten the list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I'm afraid not
Plus, I wouldn't even know how to query for a particular customer. The parameter in the list query allows for an external account, but not for a set of external accounts belonging to the same person.