#brdata-connect-webhooks
1 messages · Page 1 of 1 (latest)
brdata-connect-webhooks
Hello!
hello @earnest crag! s a platform you can not control the webhook endpoints of your connected accounts.
The fact that they are Standard accounts doesn't really change things, you have to use a Connect webhook endpoint instead. See our docs here: https://stripe.com/docs/connect/webhooks
That way you get all Events for all your connected accounts and can handle those in an aggregated way
So I have 1 single webhook that handles ALL of my different customers?
yes
How do I check to see the event that hits the webhook and what client it came from?
I'd recommend reading https://stripe.com/docs/connect/webhooks carefully first
As we state in the event object reference, each event for a connected account also contains a top-level account property. It identifies the account that the webhook is sent to and the data[object] it belongs to. Because these objects belong to other accounts, you must make the API requests as the corresponding connected account to access them.
for all my connected accounts do I just need to setup the webhook endpoint once on the stripe dashboard
or is it different webhook endpoints for each account
I'm sorry, please try to read that doc first, it explains everything. There's one endpoint on your account that gets all Events from all connected accounts and there's a clear account property on the Event to know which connected account the Event comes from
Perfect that makes sense thank you