#sean_trustap
1 messages · Page 1 of 1 (latest)
hi there!
do you mean creating an Account Debit? https://stripe.com/docs/connect/account-debits
Yes, I believe so
you could do that yourslef then: check the balance of the connected account with https://stripe.com/docs/api/balance/balance_retrieve using the Stripe Account header
and based on the availablce balance, create the Account Debit or not
I see, but is there a way of doing the check atomically to avoid race conditions?
not really, the only option is the one I sahred above