Running multi-tenant Hyperswitch for resellers and payment facilitators

Serving several tenants from one self-hosted Hyperswitch instance is possible, but isolation, admin boundaries and card scope must be designed before the first tenant goes live.

On this page

Running multi-tenant Hyperswitch for resellers and payment facilitators: what it involves

A reseller or payment facilitator serving several tenants from one payments stack needs to decide early whether those tenants share a single Hyperswitch instance or each get their own deployment. The documented organization model gives you a way to separate tenants inside one stack: organizations, merchant accounts and business profiles, with connectors, routing rules and API keys attached at the levels the docs describe. In this context, a tenant is the business you are serving, such as a merchant, a sub-brand or an end customer of your platform, and the question is which of those levels maps to each one. Hyperswitch's platform model is built for facilitators onboarding many merchants, so a shared instance is the natural starting point when tenants run similar payment flows, you control the operations team, and one blast radius across all tenants is acceptable to your risk owners. Separate deployments make more sense when tenants have different data residency needs, contractual isolation requirements, or processor agreements that must not share infrastructure.

Do not assume a particular isolation model until you have confirmed it. Ask the Hyperswitch maintainers or your implementation partner, in writing, how tenant data is separated in the database, whether isolation is logical or schema-level, how the shared Router and Scheduler services handle one tenant's load and failures, and which Redis and PostgreSQL resources are shared. The answers decide whether one tenant's outage, misconfiguration or data request can affect another, and they feed directly into your PCI DSS scope and GDPR analysis, since a shared database can widen what a single assessment must cover.

Before go-live, write down the tenant model as a decision record. List every tenant type, the organization, merchant account and profile it maps to, who administers each one, which connectors and routing settings may differ per tenant, and how you will prove separation during an assessment. Then test it: create two tenants with different connectors, confirm that one tenant's API keys and dashboard users cannot read the other's payments, and confirm that an admin scoped to one tenant cannot change another's configuration. Plan for these checks to be repeated at every Hyperswitch upgrade, because the isolation you verified on one release is only confirmed for that release.

How tenants, organizations, merchants and profiles map onto one instance

The diagram starts with the operator team, which runs one Hyperswitch instance: the Router handles API calls, the Scheduler works from a Redis queue, and PostgreSQL holds the records. Card data goes to the card vault, and tenant admins never reach it directly. Each tenant organization sits outside the operator boundary. Its admins sign into the Control Center through OpenID Connect, and its merchant accounts and business profiles call the Router with scoped API keys. Check that each tenant admin role stops at its own organization, and that any operator access to tenant data is logged and limited to what the tenant has agreed to.

One operator-run instance serving two tenant organizations, with trust boundaries drawn around each.

Tenant isolation and configuration options and when each fits

This table compares three ways to serve several tenants: a shared instance, separate instances per tenant, and a platform-organization model for many merchants. Read each column against isolation, operating load, upgrade coupling, configuration, card scope and fit. The main takeaway is that a shared stack is the simplest to run but couples every tenant to one upgrade cycle and one PCI DSS scope, while separate instances buy isolation with repeated operating effort.

FactorShared instanceSeparate instance per tenantPlatform organizations
Isolation strengthTenants share one database, cache and scheduler. Confirm with Hyperswitch how tenant boundaries are enforced in the schema.Strongest boundary, with separate databases, keys, secrets and network paths for each tenant.Merchants sit in one organization hierarchy. The platform operator can see all connected merchants.
Operational loadOne stack to deploy, monitor and patch. A heavy tenant can affect capacity for the others.Each tenant adds a full stack to deploy, upgrade, back up and monitor.One stack, plus onboarding and configuration handled through APIs for each merchant.
Upgrade couplingEvery tenant moves on each release, so one test and change window covers all of them.Tenants can move on different schedules, but each instance needs its own compatibility check and rollout.Merchants share the instance version, so upgrades affect all of them together.
Per-tenant configurationSettings vary by tenant only where the product exposes it. Confirm the Superposition setup needed for your tenants.Full control per deployment, with drift between stacks that someone must manage.Settings are scoped to organizations, merchants and business profiles inside the hierarchy.
Card scopeOne vault and one cardholder data environment cover all tenants. Confirm with your assessor how tenant separation affects scope.Each instance has its own cardholder data environment and PCI DSS scope to document.One vault and one scope for all connected merchants, so the operator carries scope for every tenant.
Admin and access modelTenant admins share one Control Center. Role boundaries depend on Hyperswitch roles, since SSO roles are not mapped from the identity provider.Separate user lists and SSO setup per deployment, which adds identity administration work.Merchant users are managed per merchant within the hierarchy. Confirm the role model with Hyperswitch before onboarding.
When it fitsA small number of tenants with similar requirements and a team that accepts a shared upgrade window.Tenants with contractual or regulatory demands for dedicated infrastructure and data.A single operator onboarding many merchants that needs programmatic control and merchant-level settings.
What to confirm with HyperswitchHow tenant data is separated in the database, cache and queues, and whether that separation is tested.Minimum footprint per instance and whether upgrade compatibility holds across instances.Which account types, onboarding APIs and on-behalf-of operations your model needs.

Who runs what: operator, tenant admin and tenant user responsibilities

The operator runs the Hyperswitch instance that all tenants share. This team owns the Router and Scheduler services, the PostgreSQL and Redis dependencies, the Control Center deployment, and the encryption and card vault components. Because one upgrade or outage reaches every tenant at once, operator decisions carry the widest impact, and tenant admins should not be expected to perform these duties.

  • Instance upgrades: Track the monthly minor releases on the GitHub releases page and check each compatibility matrix for Control Center and web client versions before changing the stack.
  • Superposition service: Confirm that a Superposition service is running before upgrading to v1.124.0, because that release made it a required configuration dependency.
  • Shared monitoring: Watch router, scheduler, PostgreSQL and Redis health across the whole instance, since a per-tenant view will not reveal a shared bottleneck.
  • Key custody: Hold and document the encryption and vault keys, name the key custodians, and choose the vault model that determines which card data falls inside your PCI DSS scope.
  • Tenant lifecycle: Define how a tenant is created, what configuration it starts with, and how it is removed, so that onboarding does not depend on ad hoc changes.

Before go-live, check that a named person performs each upgrade step and that a second person can answer a key custody question during an incident.

Setting up a shared Hyperswitch instance for several tenants

This sequence takes a self-hosted Hyperswitch stack from a documented deployment to a shared instance where each tenant has its own organization, branding, admins, connectors and routing, with isolation checked before any tenant goes live.

  1. Deploy the stack through the documented self-hosting path

    Your platform engineers deploy Hyperswitch using the self-hosting guides in the Hyperswitch docs, which cover Helm on Kubernetes and a Docker-based local setup for evaluation. Confirm the Router, Scheduler, PostgreSQL, Redis and Control Center components are healthy in the environment you control. Before any upgrade to v1.124.0 or later, confirm that a Superposition service is running, because the v1.124.0 release notes make it a required dependency. The step is done when the Control Center loads, a test merchant can log in, and the Superposition check passes for the version you run.

  2. Confirm the Superposition service before upgrades

    Superposition is required for v1.124.0 and later, so check it before you move any shared instance to that version or newer. Ask your platform team to verify that the service is reachable from the Router and that its configuration store is backed up. Record the Hyperswitch version and the Control Center version together, since the GitHub releases page publishes a compatibility matrix for each release. The step is done when the version record, the matrix check and the service health check are stored with your change ticket.

  3. Create tenant organizations and merchant structures

    Create one organization per tenant so that each tenant's merchant accounts and business profiles sit under its own boundary. Within each organization, create the merchant accounts and business profiles that match the tenant's brands, legal entities and regions. Decide up front which settings belong to the platform and which belong to the tenant, because connectors, routing and API keys live at different levels of this hierarchy. The step is done when each tenant organization lists only its own merchant accounts and profiles in the Control Center, and a platform administrator can see the full set.

  4. Configure white-labeled Control Center and payment endpoints

    Set the branding and endpoint values for each tenant so that the dashboard and payment pages reflect that tenant rather than the platform. Confirm with your own engineers and with the Hyperswitch docs which white-label settings the version you run supports, and test them on a single tenant first. Publish the tenant-specific API and payment page endpoints through your own gateway or DNS, and confirm that TLS and host routing send each tenant's traffic to the right instance. The step is done when a test tenant's dashboard and payment page load under its own domain and show no other tenant's branding.

  5. Configure SSO and invite tenant admins

    If tenants will sign in through single sign-on, note that the Control Center supports OpenID Connect only, with no SAML, no JIT or SCIM provisioning, and no role mapping from the identity provider. Set up the OIDC application for the tenant, then invite each tenant admin by email, because users must be invited before they can sign in. Assign the admin role inside Hyperswitch and keep a named list of who holds it. The step is done when each tenant admin signs in through the expected identity provider, and an admin from one tenant cannot open another tenant's organization.

  6. Set per-tenant connectors and routing

    For each tenant, connect the processors and payment methods that tenant has agreed to use, using credentials that belong to that tenant. Then set routing for each profile, choosing from the documented strategies (rule-based, volume-based, auth-rate, multi-objective, least cost for debit networks, or default fallback) and confirm that the fallback behavior matches what the tenant expects. Record which connectors and routing rules belong to which tenant so that changes can be traced later. The step is done when a test transaction for each tenant routes to a connector that tenant owns, and the routing decision matches the configured rule.

  7. Verify isolation with test tenants

    Create at least two test tenants with distinct test credentials and attempt cross-tenant access through the API, the Control Center and the payment page endpoints. Check that a key, token or session from one tenant cannot read or change another tenant's payments, customers, connectors, routing or users, and that logs and webhooks carry the correct tenant identifiers. Involve your security team in the review and ask them to record the results. The step is done when every cross-tenant attempt is refused, the results are recorded, and any gaps are closed and retested before a real tenant goes live.

How white-labeled API, payment page and dashboard endpoints are exposed

For a reseller or payment facilitator, a tenant-facing endpoint is any address a tenant's systems or customers reach. That includes the API host that tenant servers call, the base URL that customer browsers reach through the payment page or client SDK, and the Control Center URL that tenant staff use to sign in. Each tenant authenticates with its own secret API key and publishable key, and the client SDK is configured with the publishable key and the backend it should call. Decide early which hostnames are shared across tenants and which are unique to one tenant, because that decision sets the certificates, DNS records and ingress rules you must run. The Hyperswitch self-hosting guide covers the Helm-based deployment. Confirm there how the Router and Control Center are exposed through ingress and which settings a second hostname requires.

The Control Center is a separate open source dashboard under Apache 2.0, and each release lists compatible Control Center and web client versions, so per-tenant presentation must be tested against that matrix. Confirm in the Control Center repository whether logos, colors and URLs can vary per tenant within one deployment, or whether you must build and run separate dashboard instances. Sign-in matters too. The Control Center supports single sign-on through OpenID Connect only, with no SAML, and users must be invited before they can log in. Roles are managed inside Hyperswitch and are not mapped from your identity provider, so confirm how tenant admin roles are scoped and test that one tenant's admins cannot see another tenant's payment or dispute data.

Do not promise a branded domain to a tenant until you have confirmed four things for the version you run: whether the Router API and payment page accept a custom hostname, whether the client SDK can be pointed at a custom base URL, whether the Control Center can be themed without a separate build, and who owns certificate issuance and renewal for each name. The sources reviewed for this page do not document per-tenant hostnames, so treat all four as open questions. Verify each one on a staging deployment with one test tenant on a branded name, then run a full payment and dashboard sign-in. Record the versions you tested, since minor releases can change these paths. Write only the commitments you have verified into the tenant contract.

Security risks in a shared multi-tenant payments instance

When one Hyperswitch instance serves several tenants, the operator carries the isolation, key handling and access controls that keep each tenant's data and payment credentials separate. The cards below name the controls to design and verify before onboarding the first tenant.

Cross-tenant data exposure

Each tenant's payments, customers, refunds and disputes sit in the same PostgreSQL and Redis services, so isolation depends on how the instance separates tenant data and how your API and dashboard calls are scoped. Test that a tenant's admin and API keys cannot list, read or modify another tenant's records, including through search, exports and reports. Ask Juspay and your own platform team to confirm how schema-level isolation is implemented in your release and which queries are tenant-filtered.

Architecture docs

Per-tenant secret API key handling

Each tenant's secret keys authorize payment creation, refunds and connector configuration, so a leaked key is a direct money-movement risk. Decide who in your organization or in the tenant may create, scope and rotate keys, where they are stored, and how they are kept out of browser code. Verify that keys issued to one tenant cannot be used against another tenant's merchant account or profile.

SSO and invite controls

The Control Center supports single sign-on through OpenID Connect only, with no SAML, no just-in-time or SCIM provisioning, and roles managed in Hyperswitch rather than mapped from your identity provider. Users must be invited first, so every tenant admin account is an explicit, manual grant that you must review and remove during offboarding. Document who may send invites for each tenant and run a periodic access review against the Control Center user list.

SSO setup docs

Shared card vault scope

The vault model decides which tenants' card data sits inside your PCI DSS scope. In the self-hosted, in-house PCI model, the merchant is fully responsible for PCI DSS certification and data handling, so every tenant's cards are your obligation. An external PCI vault provider or the SaaS Hyperswitch Vault can move that storage out of your environment, but you still need to confirm the contractual and technical split with each tenant before sharing one vault.

In-house PCI model

Audit logging of tenant admin actions

Tenant admins can change connectors, routing rules, webhook endpoints and user roles, and each change can alter how a tenant's payments are processed. Confirm which of these actions the Control Center and API record, who can read those records, and how long they are kept. Without an audit trail that names the tenant, the admin and the change, you cannot investigate a disputed configuration or show an assessor who approved it.

Operator access to tenant data

As the operator, your platform staff can often see every tenant's merchant accounts, configuration and payment data, which makes your own access the largest insider risk in the instance. Define which operator roles may view tenant payment data, require a documented reason and approval for elevated access, and log those sessions. Confirm with your tenants in writing what the operator may access, since that answer shapes both your contracts and your PCI DSS scope.

Questions resellers ask before running multi-tenant Hyperswitch

What does running multi-tenant Hyperswitch cost, and what drives it up?

The cost has three layers: the platform work (design, build, configuration of tenant isolation and white-label endpoints), the infrastructure you pay your cloud or data center provider for, and any ongoing support. The biggest drivers are the number of tenants, how many environments you run, how many processors and payment methods each tenant needs, and whether you choose the in-house PCI vault model, which adds PCI DSS certification work the merchant carries. Ask any partner for a quote built from a written scope that lists tenants, environments, connectors, identity integration and vault model, and separate one-time setup from recurring retainer and infrastructure costs.

How long does multi-tenant setup take for a given number of tenants?

Duration depends on the number of tenants, your deployment environment and how much isolation design is new to your team. Setup usually splits into the base deployment on Kubernetes, the tenant model and per-tenant configuration, the white-labeled API, payment page and dashboard endpoints, and testing of each tenant boundary. Adding tenants after the platform is stable is faster than the first build, but onboarding each new tenant still needs its own admins, connectors and routing settings. Hyperswitch ships roughly monthly minor releases, so ask for a timeline that includes an upgrade rehearsal. Request a dated plan from any provider rather than a single number.

What must our team supply before a multi-tenant build can start?

You supply the infrastructure, the identity provider and the compliance decisions. Infrastructure means cloud accounts or data center capacity for Kubernetes, PostgreSQL with a master and replica, Redis and the card vault service. The Control Center supports single sign-on through OpenID Connect only, with no SAML, no JIT or SCIM provisioning, and roles managed in Hyperswitch, so you need an OIDC provider and a process for inviting each tenant admin. Finally, you decide the vault model and your PCI DSS scope with your assessor, because the self-hosted in-house PCI model leaves certification and data handling with you.

Can our internal team run multi-tenant Hyperswitch without a partner?

Yes, if you have engineers who can operate Kubernetes, PostgreSQL, Redis and Rust-based services, and who can read the Hyperswitch architecture and release notes closely. Most in-house teams struggle with the tenant boundary design, the upgrade path and the security review of white-labeled endpoints, not the first install. A common pattern is to have a partner design the isolation model and runbooks, then have your team run upgrades. Check your team's capacity for an on-call rotation and for the upgrades that come with each monthly release before deciding.

How do Hyperswitch upgrades affect every tenant at once?

A single Hyperswitch instance means one upgrade touches every tenant, so the rollout must be planned as a shared change. Check the compatibility matrix for Control Center and web client versions on each release, and test tenant-specific configuration against the new version in a staging environment first. Some releases carry breaking dependency changes: the v1.124.0 release notes made Superposition a required configuration dependency, and a Superposition service must run before you upgrade to that version. Ask your provider for a documented upgrade procedure, a rollback plan and a test run of each tenant's critical payment flows.

Does a fixed-scope engagement cover ongoing operations after go-live?

A fixed-scope engagement covers only the deliverables written into the agreed scope, such as the deployment, tenant model, configuration, documentation and testing. Ongoing upgrades, monitoring, tenant onboarding after go-live and continuous testing are available as retainers. Before signing, confirm which tenant onboarding steps are included, what documentation and runbooks you receive, how the handover is tested, and what happens to changes requested after the scope is fixed. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and prepares systems and evidence for compliance assessments without issuing audit reports or certifications.

How do we keep one tenant's data and settings away from another?

Isolation is a design decision you make before the first tenant is onboarded, and it has to cover the database schema, API keys, roles, connectors, routing rules and dashboard access. Test it by attempting cross-tenant reads and writes with each tenant's admin and API credentials, and record the results as evidence. Keep card data in the vault and check which tenant data each service can reach. Confirm with your provider and your assessor how the chosen model affects PCI DSS scope before going live.

How DeployOpen scopes and supports multi-tenant Hyperswitch

DeployOpen plans, implements, customizes, hardens, documents and supports self-hosted Hyperswitch inside your own infrastructure, so the tenant model, white-labeled endpoints and admin controls can be reviewed by your compliance and security teams. Each multi-tenant engagement starts with a written scope that names the tenants, the isolation model and the deliverables before any build work begins.

How we scope

  • Written scope lists every tenant type, reseller and sub-merchant boundary, and the isolation model agreed for your instance.
  • Scope maps which Control Center, API and payment page endpoints each tenant admin can reach, and which must stay internal.
  • Scope names the connectors, routing settings and per-tenant configuration to be delivered, with the decisions you still need to make.

How we build

  • We deploy the Router, Scheduler, PostgreSQL, Redis and Control Center in your infrastructure, following the Hyperswitch documented self-hosting paths.
  • We configure white-labeled API, payment page and dashboard endpoints per tenant and test that one tenant cannot read another tenant's data.
  • We check each tenant admin role against least-privilege settings in Hyperswitch, since Control Center roles are managed there rather than mapped from your identity provider.

How we hand over

  • Deliverables include runbooks for onboarding and offboarding a tenant, rotating credentials and reviewing tenant admin access.
  • Documentation records the tenant isolation design, the configuration keys used per tenant and the evidence your auditors will ask for.
  • Handover includes a retest of tenant boundaries and a walkthrough with your operations team before the scope closes.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, so tenant boundaries are retested as Hyperswitch releases ship.
  • Upgrade planning covers compatibility between the router, Control Center and client SDK versions for every release you adopt.
  • Ask in your quote which support hours, response paths and retest frequency are included, and how additional tenant onboarding is priced.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.