#eener_docs
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/1370048311146451047
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
I'm not immediately finding a doc that maps the API statuses to the dashboard statuses but am still looking. If you retrieve that payout by its ID in the API that should show its API status properly though
https://docs.stripe.com/api/payouts/retrieve
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 not sure how to retrieve it since in the dashboard it still does not have a payout ID. I can't click it and it just says 'Upcoming'.
If I may share an example of what I'm referring to, this is how it looks like in the dashboard. The payouts have values but I covered them and they are just marked as 'Upcoming'.
If you use the list payouts API call do you see those payouts listed? https://docs.stripe.com/api/payouts/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.
Alright I found an answer, these are not payout object yet, and unfortunately there isn't a good way to reproduce what our dashboard is doing with our current API.
It is possible to get pending balances via the API but that can be a bit brittle itself. The way to do that is list the balance transactions for an account and loop through them to look for transactions with an status of pending and summing up their amounts
So we can't also query their individual estimated arrival since they are not payouts?
The balance transactions have an available_on property so the info is technically available, the difficulty comes with that timestamp itself being an estimate and that there are other complicating factors like refunds, weekends, bank holidays, etc into account. So the logic would be pretty intense to write oneself and can still be fairly brittle. So that's why we largely reccommend just summing up pending balance and showing that
Ok, that makes sense. Thanks for clarifying this.
Glad I could clarify at least, and I will definitely add to the feature request for this