#web40moon-transfer
1 messages · Page 1 of 1 (latest)
Hi @prisma prawn! Yes that can happen if you don't have sufficient available balance.
We have an article in our documentation that explain how to avoid this issue by using source_transaction when creating the transfer: https://stripe.com/docs/connect/charges-transfers#transfer-availability
Hi @pliant whale
I checked and I passed charge_id and it works fine.
But now point is, Is it the only way to do this?
What about if I have charge amount $10 and I need to pay $15? I checked this and it throws an error that I can't go beyond $10. Which make sense and correct as well. However, it's not going fit in my case.
Do you have any other update on this?
The documentation states "The amount of the transfer must not exceed the amount of the source charge". So if you have a $10 charge you cannot do a $15 transfert. This makes sense, otherwise where would the extra $5 come from?
$5 might be come from another user while doing some stuff in our app
I'm stiil pondering for the same.
then the only way really is to not use source_transaction, switch your platform to manual payouts(so you accumulate balance instead of it getting paid out) and closely monitor the amount of balance in your platform account and transfer the lump sums. It's pretty complicated.