#sj-connect-webhook

1 messages · Page 1 of 1 (latest)

idle edgeBOT
slow kelp
#

sj-connect-webhook

#

Hey @leaden warren ! You are not allowed to create a WebhookEndpoint on a connected account. If you did that, you'd need one per connected account, handling failures separately, etc.
What you should do instead is create a WebhookEndpoint on your own platform account. The WebhookEndpoint should be of type Connect. What this means is that it will get all Events from all of your connected accounts, not your own account. Your own account's Events would be sent to the Account WebhookEndpoint instead (usually a platform has both)

You can read more about this here https://stripe.com/docs/connect/webhooks

leaden warren
#

@slow kelp what does it mean...>>>You are not allowed to create a WebhookEndpoint on a connected account. If you did that, you'd need one per connected account, handling failures separately, etc.

slow kelp
#

what is unclear in that sentence?

#

Like if you have 1000 connected accounts, you'd need to create a WebhookEndpoint on each one, you'd need to deal with cases where your server is down and now you have 1000 endpoints failing or erroring and maybe being disabled

#

you'd have to update the list of Event types whenever you want a new one, across all accounts. It doesn't really scale

#

Hence why we built the Connect WebhookEndpoint feature, that lets you automatically aggregate all Events for all your connected accounts

leaden warren
#

ok..Got your point ..Thanks @slow kelp