#daveglo

1 messages · Page 1 of 1 (latest)

meager quartzBOT
oak cave
#

Hi looking

#

Hm you try to initiate the transfer 1 day later after the charge was created

#

Error message is You have insufficient funds in your Stripe account. One likely reason you have insufficient funds is that your funds are automatically being paid out;

#

Could be that the funds were paid out already?

#

Let me ask a colleague actually

runic tree
#

Thanks @oak cave but I should not get this response at all. As per the docs i linked above:

The default behaviour is to transfer funds from the platform account’s available balance. Attempting a transfer that exceeds the available balance fails with an error. To avoid this problem, when creating a transfer, tie it to an existing charge by specifying the charge ID as the source_transaction parameter. With a source_transaction, the transfer request returns success regardless of your available balance. However, the funds don’t become available in the destination account until the funds from the associated charge are available to transfer from the platform account.```
oak cave
#

Ok talked to my colleague

#

The charge was an account debit, not a normal credit card charge

#

Funds never went into pending

#

They went to the balance immediately

#

So source_transaction wouldn't work for that charge

#

You'd need to pull from available balance, which wasn't sufficiently large at the time

runic tree
#

ahh, ok. I did'nt realise, that makes my life a bit more difficult 😆 . Thanks a million.

oak cave
#

No problem

#

yeah source_transaction is meant to be used for pending funds

runic tree
#

makes sense.