#mmmmjjjj - multiple accounts

1 messages · Page 1 of 1 (latest)

brittle halo
#

You'd want to use separate webhook endpoints for each account

#

They can be in the same project and on the same server

#

But you'd want different endpoints

final ginkgo
#

Can I do sth like insert the region in the meta data? it isn't consistent and increases the maintenance difficulty when I am going to connect more and more account.

brittle halo
#

When you say connect are you referring to Stripe Connect?

#

What's the use case for having so many accounts on one server?

final ginkgo
#

I will create different stripe accounts for each merchant to get the money from their customers.

brittle halo
#

Ok

final ginkgo
#

no. I am using the basic one. StripeApi

brittle halo
#

Oh ok

#

Well no the only way is to use multiple endpoints

final ginkgo
#

Okay. Thank you so much

brittle halo
#

Metadata doens't help you because you can't access event data until after you've used the signature to construct the event

#

You'd need to know the proper webhook secret to use

#

And no problem!

final ginkgo
#

Sorry @brittle halo one more question. Can we use query string in the webhook endpoint so that i can use the querystring to determine the region

brittle halo
#

You mean can you configure stripe to set a query string?

#

That's not possible

final ginkgo
#

Like I set a webhook endpoint with query string at the end ‘&region=us’

brittle halo
#

Oh yeah you can do that

#

That might be good compromise for the solution

final ginkgo
#

Thanks duchess. Have a nice day