#steveo_webhooks
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/1506618847887753358
π Have more to share? Add more details, code, screenshots, videos, etc. below.
if I updated my Bank Account details, would I receive an 'External_Account_Updated' Event (or similar)
You should yes
Developing a platform App and need to know if i need to identify 'my Account events' from 'Connected Account events' as they would need to be handled differently.
Likelihood is, that as a Connect platform you'll configure two different webhooks β one for activity on your platform, one for activity on your connected account(s)
Thankyou. Yes I see that
*yes i see that I can setup multiple webook endpoints to receive events but if i set up an endpoint that receives an 'External_Account_Updated' event (for example) wouldnt I receive that event regardless of wether the account belonged to me or a connect account. So there would be no way of isolating my events from connect events? Or am I missing something?
Well, it depends on which webhook you configure to receive those events. If you enable that event type only on the webhook for your account's events then you'd only receive them there. Otherwise if you enabled it on the Connect webhook then you'd receive it for connected accounts yes
So there would be no way of isolating my events from connect events? Or am I missing something?
You can use theaccountproperty in the event payload: https://docs.stripe.com/api/events/object#event_object-account
Sorry, bear with me im still in the process of understanding Webhook behaviour. I was under the impression that when you create a webhook you can only specify which collection of events to subscribe to (Eg Account_Created/Updated/Deleted etc). How do i specify that i want to receive an event only if MyAccount is the account Id? Or are there different types of webhooks that automatically filter out Account events from connect events?
Yes, before you choose which events types to recieve on the webhook you must first choose the webhook type. Talk about it here: https://docs.stripe.com/connect/webhooks
This part in the Dashboard UI
Yes, so this is where im a bit confused. The select option to scope the event destination to 'Your Account' still means it receives events about connected accounts. As an example, if a connected account updated its name or some other configuration value, the event raised would still be sent to the 'Your Account' endpoint (as well as to the connected account endpoint I presume?). So all events I receive at the 'Your Account' endpoint would still need to be assessed by me as to wether it is an event about my account or the connect account. Its not a problem if thats true, I just need to know about it before screwing everything up!
π Hi there! I'm taking over for my colleague
Yes, you'd have to assess whether each event is for your account or a connected account.
You can check the account property on the Event payload, to see whether it's for a connected account: https://docs.stripe.com/api/events/object#event_object-account
Ok, cool. Sorry if i broke your colleague.
Haha, no worriesβ¦ they're definitely fine π
Is it fair to summarise it as so: I am the primary intended recipient of Events sent to 'MyAccount', akin to being sent an email by someone specifically to me, but Connect Accounts are the primary intended recipients of Connect Events, I am also receiving them as a courtesy, akin to being cc'd in an email?
Yeah, something like that
I think the easiest way to see how it all works in practice is to create some connected accounts, make some payments and updates, and see what the events look like that you receive
awsome. thanks for the help π
hello long time no see ARRAN
Hi there. If you want to ask a question, please see the #help channel
You're welcome!
no questions, wanted to say hi to you ARRAN