Search code examples
stripe-paymentswebhooksstripe-connect

Create stripe webhooks using API


Is it possible to create webhook in stripe account using API if we have client secret key of destination account?


Solution

  • 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.