#antonio-giano_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1247167725512429670
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi, let me help you with this.
can only retrieve the available balance
How are you doing it now?
through this function: https://docs.stripe.com/api/balance/balance_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.
of course i meant for connected account
Do you get the pending balance too?
Yes, but i meant for the total balance. So, it should consider not only the available funds on the stripe platform but also those trasferred to the bank
I don't know how Dashboard calculates the total balance, but I assume it's pending + available.
Pending, however, refers an other context. It refers the pending transactions. In fact, recovering the balance of a connected account, i have the pending quantity fixed at 0
Hi there ๐ jumping in as my teammate needs to step away soon.
So, it should consider not only the available funds on the stripe platform but also those transferred to the bank
We don't track the funds that have left the Stripe Account's balance, only the funds that are in it and on the way to it. If you'd like to track funds that have left the account as well, you will need to build logic to either track or calculate that.
Got it. So the logic used by the dashboard is to do the sum of transfers, I guess?
I'm not too sure. We focus on helping developers with the API in this forum, we aren't too familiar with everything in the dashboard though.