Reputation: 746
Is it possible to create webhook
in stripe account using API if we have client secret key
of destination account?
Upvotes: 8
Views: 3737
Reputation: 17505
No, webhook endpoints can only be created, edited or removed via the dashboard, not via the API.
EDIT: This is no longer true. Webhook endpoints can now be managed via the API: https://stripe.com/docs/api/webhook_endpoints.
If you want to receive events emitted from accounts that are connected to your platform, you need to set up a Connect webhook endpoint on the platform's account, not add endpoints to each connected account. See the documentation here for more information.
Upvotes: 8