Multiple accounts & profiles
Create multiple merchant accounts and business profiles for seamless integration with your business.
Last updated
Create multiple merchant accounts and business profiles for seamless integration with your business.
Last updated
If there are more than one business_profiles
for a merchant account, then passing profile_id
when creating a payment is mandatory
PaySwitcher Architecture supports
Creating multiple merchant accounts under an organization.
Creating multiple business profiles under each merchant account.
Create multiple instances of a processor ( Stripe, Adyen etc ) under a business profile.
Here's how the architecture would look like.
Organization refers to the main business. Roles and permissions for users can be assigned at the organization level. When a new user registers, an organization is created and the user assumes the role of organization admin.
A merchant account is associated with an api_key
and publishable_key
which is used for authentication. There can be many merchant accounts that can be created under an organization by an organization admin.
A business profile serves as a logical separation of businesses for seamless integration and onboarding. Every business profile is uniquely identified by a profile_id
. All the payment settings can be configured at the profile level and will apply to all the payments make via the business profile. If there is more then one business profile, then profile_id
has to be passed when creating the payments. Business profile allows to configure
Routing Algorithm.
Only gateways that are available under the business profile can be used to configure the routing algorithm.
If a routing algorithm is not available, a default fallback, which consists of all the processors configured under the business profile based on priority order would be used. The priority of processors in the default fallback can be configured
Webhook url and Return url for payments.
There can be multiple processors configured under a business profile. Each processor is associated with a globally unique identifier merchant_connector_id
and unique identifier under a business profile called label
A processor created under one business profile cannot be used in another business profile to route payments.
Multiple merchant accounts - for merchants who need different API keys for each of their businesses
Consider a merchant A who has three different businesses - A_Shoes, A_Clothing, A_Bags. They can create three merchant accounts (Shoes, Clothing, Bags) on PaySwitcher and get separate set of API keys for each of them.
In case of Marketplace merchants with multiple sub-merchants, the parent merchant can create one PaySwitcher merchant account (with an API key) for themself and as many separate merchant accounts as they need for the sub-merchants under them with separate API keys for each of them
Multiple business Profiles - For merchants who want to manage all businesses with one API key
For a merchant A with three different businesses (A_Clothing, A_Shoes, A_Bags) they can create just one merchant account on PaySwitcher with three business profiles (Clothing, Shoes, Bags) under it. This way, the merchant can use only one PaySwitcher API key to manage transactions for all three businesses.
For Marketplace merchants with multiple sub-merchants, the parent merchant can create one PaySwitcher merchant account with an API key access and multiple business profiles under it to represent the different sub-merchants. This way the parent merchant will be able to manage their multiple sub-merchants tightly under one PaySwitcher merchant account and API key.
When you sign up on PaySwitcher, a merchant account is created under your Organization and every merchant account automatically has one profile created under it.
To create more merchant accounts, click the merchant account dropdown from the right top corner in your PaySwitcher dashboard.
On your PaySwitcher dashboard, visit Settings β Business Profiles, click βAdd' button to create another business profile. Here you will also see a list of already configured business profiles for your merchant account. As mentioned already, a βdefaultβ profile is already created during your merchant account creation. 'profile_idβ of various business profiles can also be found here.
Enter a name for your profile in the next pop-up screen and click βAddβ again. A new profile with the given βprofile_nameβ and an automatically generated βprofile_idβ is created.
How to route a payment to a particular merchant account and a particular profile?
When a payment is created under a business profile, it would use the routing algorithm ( if available) that is configured for that business profile, to choose an appropriate gateway. All the Refunds, Mandates that are created for a payment will be under the same business profile as the payment.
In order to route a payment to a specific merchant account, the call has to be made from the merchant server using the correct API key attached to the required merchant account. To route the payment to a particular profile, the profile_id
parameter of the required profile is to be passed.