#lkjhgfdsa

1 messages · Page 1 of 1 (latest)

wide wedgeBOT
mild cradle
#

Unfortunately in this case, webook endpoints listen to events for the whole account and do not differentiate by API key. Can you tell me more about what you are trying to do here? I assume you are trying to separate things based on which server made a call or something?

tiny spruce
#

i am going to deploy a new app

the old secret key is for a website acting on our behlf

I want to assign the webhooks to spesicice event cased by a API KEY

mild cradle
#

Gotcha, unsure what the best way forward for you is

#

Depending on what you are doing, it may make sense to set metadata on your objects when creating them. You could set different metadata on the calls for each site and then have your webhook endpoint code check the metadata so see if the event is relevant to it

#

If you want them fully separate, you can make a new Stripe account and use Stripe Connect to connect them.

tiny spruce
#

Thank you so much!