#Mahdi_SN - API Keys

1 messages · Page 1 of 1 (latest)

uneven patrol
#

Hello! Generally we recommend one Stripe account per website/domain, but there are no technical restrictions preventing you from using API keys across domains. Can you provide more details about what you're trying to do?

cold current
#

i have the main domain for eampl aaa.com added to my stripe account , and now i will develop other website how use the some publickey , secretkey to accept payment

uneven patrol
#

Yeah, we don't recommend that, but it's technically possible.

#

You must use separate Stripe accounts for projects, websites, or businesses that operate independently from one another. When you activate a new account, it is subject to Stripe’s standard policies and pricing—it doesn’t inherit any special status or other similar considerations that may apply to your existing account.

cold current
#

but for me , i have a server side how create the payment intent ,so all new domains want to create all paymentintent from this server...Now , i want my stripe account accept all payment from the new domains

ebon matrix
#

👋 I'm just hopping in for @uneven patrol

#

Even if you have a single server for all your domains, you can still use mutiple API keys - you would just swap out the secret key you need depending on where the payment intent creation request came from

cold current
#

so it's possible ?

ebon matrix
#

yes, you can use multiple Stripe API keys on a single server

cold current
#

no need to add the new domains on my stripe dashboard?

#

and other question , so i need to add the domain of the server side as main domain?

ebon matrix
#

Sorry let's back up for a second - just to clarify, we still recommend you create MULTIPLE stripe accounts each with their own API key.

#

I'm not exactly sure what you mean by "so i need to add the domain of the server side as main domain?"

cold current
#

ok , i have the server side how create the paymentIntent for each payment (domain ccc.com)
the domain added to my stripe account is fff.com
Now i want to develop other webites(uuu.com) how create a payment intent from the server side , and comfirm the payment

the problem is , can my stripe account accept the payment from the new website ?

ebon matrix
#

You wouldn't add an additional domain to your existing stripe account - you'd create a new, separate account for the new domain