Search code examples
stripe-payments

How to specify which webhook to be used when using same stripe account on 2 websites?


I need to use 1 stripe account on 2 different websites (2 different domain names).

I can add 2 webhooks. But how can I specify

site1.com -> use webhook1
site2.com -> use webhook2

(I use standard php lib)


Solution

  • You can’t do this using a single account, you should use instead multiple accounts. Reference

    For each account (that represents a website in your case), you can separately configure the webhook settings to use different endpoints