#jon-nelson_connect-transfers-webhook-events
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1394351739963969717
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
typo above, I check in both the platform account and the connected account (I can see it is paid from both sides of the transfer)
HI ๐
Did you check the list of webhook event types we emit? https://docs.stripe.com/api/events/types
You can see there are only three related to transfers
thanks that is consistent with what I am seeing, and confirms AI is halucinating ๐คฆโโ๏ธ
As for understanding when the transfer is complete
What you really want to listen for is the balance.available event on the Connected Account: https://docs.stripe.com/api/events/types#event_types-balance.available
This informs you of when the funds land in the available_balance for the Connected Account.
Correct
how do I find that event in the Developer workbench?
IOW - the events I see there are for my platform account (I assume)
Correct. You would need to setup a Connect webhook endpoint to receive webhook events from your Connected Accounts. https://docs.stripe.com/connect/webhooks
Here is the event related to that Transfer: https://dashboard.stripe.com/test/events/evt_1RkoVORK4qvtUKgA66R1ppgn
I get this at that link
Right, because no one was listening for the event
You can navigate to the Connected Account in your Dashboard
and scroll down to the bottom of the main page
You should see something indicating you can view their logs. Although we are not experts in the Dashboard here at this server.
Yup I clicked on the Connected Account link and that brought up workbench for this account
It can be tricky to tell, just from looking at them, that the logs/events are from the CA and not your platform
ah, thanks
so I understand to look for balance.available
but for my situational awareness
is the transfer instant? (and that is why there aren't async events)
Since Transfers move funds from Stripe balance to Stripe balance, they are faster but they can fail async if they are linked to payments and those payments fail.
To be honest, I wish we had better documentation for just how Transfers work. Currently all we have is < https://docs.stripe.com/connect/separate-charges-and-transfers?platform=web&ui=stripe-hosted#create-transfer>
perfect, you've been a huge help!
how do we close out this thread?