#jchannon
1 messages · Page 1 of 1 (latest)
they do if you use Connect yes
https://stripe.com/docs/connect/webhooks
In addition to the documented response properties in the event object reference, each event for a connected account will also contain a top-level account property. It identifies the user for whom the webhook is being sent.
https://stripe.com/docs/api/events/object#event_object-account
but not on the main/platform type accounts?
no
why would you have the same URL recieving events for multiple accounts? you wouldn't know which webhook secret to use
you can have like https://jchannon.com/webhook?merchant=A https://jchannon.com/webhook?merchant=B as your webhook endpoints though set up in the corresponding Stripe accounts if you wish, and then you know from the URL param in your code which Stripe webhook is being invoked, if the code is shared on that webhook endpoint
hopefully that makes sense