#dalton-balance-available
1 messages · Page 1 of 1 (latest)
Hi, you can retrieve the Balance Transaction, https://stripe.com/docs/api/balance_transactions/retrieve to attain the level of data you're looking for. A balance transaction let's you know that fund were moved on your account.
Cool. Thanks for that. The way I'm creating the transfer is via transfer_data attached to a payment intent. Is this transfer ID returned anywhere when making that call? Can't seem to find it.
@uncut sluice I recommend watching https://www.youtube.com/watch?v=Wn9YrnLnPz4
Thanks, that video was helpful, but I still don't see a way of automatically detecting the balance that is available from a specific charge. I can use the chargeID returned by the payment intent to get the balanceTransactionID, but in order to associate a balance.available event I would need to query all ongoing-transactions and read their balance balanceTransaction availability?
When a BalanceTransaction is created, it has available_on set on it which tells you the day it's going to be released at. That's what developers rely on really, you cache all of this in your database
it's not nullable and it's the day of the release. There isn't really a better way