#Yure
1 messages · Page 1 of 1 (latest)
hi! you need to set up a specific Connect webhook endpoint so you receive events that happen on a connected account. https://stripe.com/docs/connect/webhooks
Could I change the existing webhook to be Connect type or I can only create a new one?
you'd create a new one
and you should definitely use a different URL/route and different code on the backend for the Connect endpoint
are the breaking changes in the webhook request body for connected account? how is it different from the platform's?
by 'breaking' what are you imagining exactly?
the body is the same, in that it's an Event object containing data[object] field which is a CheckoutSession object
the difference is that there is an additional account field in the Event object to tell you which connected account the event came from(the docs I linked mention that)
gotcha, thank you for the help!