#SJ057
1 messages ยท Page 1 of 1 (latest)
It's possible to create Webhook endpoint API: https://stripe.com/docs/api/webhook_endpoints/create
Why do you need to create webhook endpoint for connected accounts?
We need to automate creation of webhook endpoint url with respect connected account...let's say new account comes with integrated account...we need to set connected account webhook url end point
If you're a platform account, you could just set one connect webhook endpoint to receive all connected account events by enabling Events on Connected accounts instead of setting on the connected account individually
ok... in case of deauthorize one of my connected account how we can do that with respect to webhook endpoint url
Or in case ,i want to set different event for different connected accounts how we can do that ?
By listening to Events on Connected accounts, it will listen to same event types across all connected accounts. This webhook endpoint is set on platform. De-authorising a connected account doesn't have any impact to it
If you wish to set different event for different connected accounts, then it would only be possible to set the webhook endpoint on each connected account
ok... it would only be possible to set the webhook endpoint on each connected account>>>>Can we create a webhook url dynamically for connected accounts?
or Programmatically from backend
Didn't I share the API earlier to create the webhook endpoint here? https://stripe.com/docs/api/webhook_endpoints/create
You could add Stripe-Account header to access each connected account: https://stripe.com/docs/api/connected_accounts
ok ,Got it..Thank you @karmic magnet ๐
No problem! Happy to help ๐