#pc_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/1298736392112832532
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
I'm not sure what you mean by " I need to know how much of the pending already entered on the customer account."
Can you elaborate?
yea sure, the pending amout on the balance objetct is the amount that the customer already want to withdraw, but I need to know how much of this amount is not pending anymore
Like
Available 100 -> Pending 50 -> finished 0 ... Available 50 -> Pending 0 -> Finished 50, I need to know this finished one, how can i get it
I don't think there's an endpoint that tracks how much money was paid out. One way though would be to look at BalanceTransactions with type payout - https://docs.stripe.com/api/balance_transactions
You can list them by type and optionally a timestamp - https://docs.stripe.com/api/balance_transactions/list
Yeah I considered to list the balance transactions by type, but I wasnt sure which one was the correct status for withdrawals, thanks for the help!