#hannes_best-practices

1 messages ¡ Page 1 of 1 (latest)

novel bronzeBOT
#

👋 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/1332443144549302298

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

signal pendant
#

To get the stripe balance by the way we sum balance.available[0].amount and balance.pending[0].amount

novel bronzeBOT
random dawn
signal pendant
#

Hi @random dawn , thanks for the response. We did find that, however, in that webhook we don't get any info on which charges can be paid out... We'd like to track this on a charge basis

idle wolf
#

Unfortunately we don't offer that on a per charge basis. We do have a transfer_availability parameter when creating Transfer that tells us to wait for the funds to land before sending them to your connected account, but unfortunately we don't have an event for that.
https://docs.stripe.com/connect/separate-charges-and-transfers?platform=web&ui=stripe-hosted#transfer-availability
The balance transaction associated with the payment intent does have an available_on that which tells you when the funds will become available on your account.
https://docs.stripe.com/api/balance_transactions/object#balance_transaction_object-available_on