#robotlos
1 messages · Page 1 of 1 (latest)
With the transfer that already failed, you would need to retry. That being said, there is a parameter that tells Stripe to wait for the balance to become available https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-availability
It is in the doc that I linked, source_transfer
It means the transfer API call will succeed and the funds will be sent over as soon as they land on your account
apologies, i dont seem to find that param in that page you sent i scanned the whole page
oh yeah i see that source_transaction
The section that I linked to also talks about this functionality in more depth
Highly recommend reading the section
Okay so this requires creating a charge?
Yes, if you don't have charges assosciated with these payments then you will need to implement logic to wait until the balance is available. There is a balance.available webhook event that will notify you when new balance is available on your account https://stripe.com/docs/api/events/types#event_types-balance.available
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I see and would we get a webhook notification when that transfer succeeds or fails if using the source_transfer?
Good question. Not immediately sure. Will see if I can find this in a doc. I think at the least you would get balance.available on the connected account, not sure if you would get a transfer based event
Hey apologies for dropping off on this. Unfortunately I did not find a doc, if you test this in test mode it will fire the proper events though. So I would recommend testing to see what events other than balance.available you can use here