#dalton-balance-available

1 messages · Page 1 of 1 (latest)

halcyon leafBOT
worthy flare
halcyon leafBOT
fossil merlin
#

dalton-balance-available

uncut sluice
#

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.

fossil merlin
uncut sluice
#

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?

fossil merlin
#

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

uncut sluice
#

I see, so that isn't just an estimate?

#

And not nullable I'm assuming?

fossil merlin
#

it's not nullable and it's the day of the release. There isn't really a better way