#atal-balance-transfer
1 messages · Page 1 of 1 (latest)
Can you share detailed information on this too so that I can help you
atal-balance-transfer
Yes.
Here is the Id of the connected account acct_1MjpJ1DFdhYu9yQc with a total balance of 13,067.37kr DKK
When I try
payouts->create([ 'amount' => 444, 'currency' => 'dkk', 'description' => 'asdf', ], ['stripe_account' => 'acct_1MjpJ1DFdhYu9yQc']);
I get "Insufficient funds"
Can I check if a succeeded transfer is available for payout or not?
A Transfer of funds is instant by default unless you use source_transaction. In that case the funds are available based on the original Charge's fund
What you need to do is look at the BalanceTransaction's available_on property to know when the funds will be available
why aren't you just using Automatic Payouts and letting us do the Payout for you as the money becomes available daily?
We have venue bookings, and need to make sure that bookings are passed, and only then payout the host.
gotcha then you have to track funds availability in that case
It's a bit complex. Every object that moves money has its own BalanceTransaction. So you can look at the original Charge's BT, the Transfer's BT and the Charge on the connected account's BT, each will have their own logic
You Transfer for $100 to a connected account will create a Charge on the connected account py_123. That's called the destination_payment: 'py_123' in the API, it can be expanded, and it has its own BalanceTransaction that you can look at
I can't retrieve the py_123.. using the charges API
Don't the charges begin with a ch_