#Mahdi_SN - API Keys
1 messages · Page 1 of 1 (latest)
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?
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
Yeah, we don't recommend that, but it's technically possible.
See the info box here: https://stripe.com/docs/multiple-accounts
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.
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
👋 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
so it's possible ?
yes, you can use multiple Stripe API keys on a single server
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?
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?"
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 ?
You wouldn't add an additional domain to your existing stripe account - you'd create a new, separate account for the new domain