#andreas4031

1 messages · Page 1 of 1 (latest)

vapid lagoonBOT
chrome summit
#

Hello! No, not to my knowledge.

severe karma
#

Then I have a problem.

#

Our company uses a saas system to charge our clients clients. When a client is created we provide our api keys to create a payment gateway on our system which creates associated webhook on our strip account via stripe api. furthermore every client can have multiple gateways as well.

#

All charge need to us first and the the money is distributed to the clients.

#

Is it possible to create multiple accounts with their own keys all under the control of us which point back to our company?

chrome summit
#

You could perhaps use Connect for that, but you might want to set up a server that acts as a webhook proxy instead.

severe karma
#

we have the webhook proxy

chrome summit
#

I'm not sure I fully understand why you need more than 16 Webhook Endpoints though.

severe karma
#

we have a microservice to process webhooks under /api/stripe/webhooks/0037a9a28fe1389ba1a58dda380d6a61?liveMode=0

#

where the hash represents a specific customer gateway all created with the same sk key

#

we test the hash against our db in the micro service

chrome summit
#

Why can't you set up a single /api/stripe/webhooks endpoint and accept all Events there, then filter/route on your end?

severe karma
#

to make this check I have to look inside the pi.succeeded meta data from the payload before I can even validate the wh request to get the object via sdk

#

0037a9a28fe1389ba1a58dda380d6a61 is the lookup key to pull the secure key from the db to validate the wh request specific to the cutomer

chrome summit
#

So 0037a9a28fe1389ba1a58dda380d6a61 is in the metdata and that's how you link it back to a specific user on your end?

severe karma
#

no it's not right now and it should not be

#

only the webhook has this token

chrome summit
#

That's not going to work though, you can't have more than 16.

severe karma
#

ok is there a limit on how many accounts can be pointed to a single business entity?

chrome summit
#

The solution to this problem is not to create hundreds of different Webhook Endpoints.

#

You should be able to do what you want with a single Webhook Endpoint.