Self-hosting Hyperswitch orchestration with the SaaS vault: what it is and when to choose it
Self-hosting orchestration with the SaaS vault means you run the Hyperswitch app server, routing, retries and observability in your own infrastructure while card numbers are stored in the hosted Hyperswitch Vault. Choose this model when your payments or platform team wants control over routing logic, retry behavior and the app server, but does not want raw card data to land in systems you operate. The Hyperswitch docs list three self-hosted vault models: the native Hyperswitch Vault run in-house, orchestration with an external PCI vault provider such as VGS or Tokenex, and orchestration with the SaaS Hyperswitch Vault. This section concerns the third. It sits between the other two: you keep the orchestration layer, as with the external vault model, but you do not take on the card storage build that the in-house model requires.
The in-house model is documented as one where the merchant is fully responsible for PCI DSS certification and data handling, including the locker, its keys and its database. Moving card storage to the hosted vault changes which components fall inside your cardholder data environment, so the scope question becomes a set of concrete checks: which services in your cluster ever receive a full primary account number, whether tokenization happens in the browser or on your servers, and what your logs, traces and Control Center exports capture. Confirm these with your QSA or the assessor you plan to use, because the PCI DSS scope decision is theirs to validate and depends on your data flows. Also confirm with Juspay, in writing, the hosted vault's PCI attestation status and the data residency of stored cards before you commit.
How the app server, Router, Scheduler and SaaS vault divide the request and data flow
The diagram starts with the customer browser or SDK, which sends card details to the hosted Hyperswitch Vault rather than to your servers. The vault returns a token that crosses the trust boundary into your Router, which handles routing, retries and calls to processors. Router and Scheduler both write to PostgreSQL (primary and replica) and use Redis, all inside your infrastructure. Check that no raw card data reaches your side of the boundary, and confirm which Control Center and SDK paths touch the vault.
Card data goes to the hosted vault. Your Router only handles tokens.
Which vault model fits your PCI scope and residency needs
This table compares the three self-hosted vault models Hyperswitch documents across who holds card data, who carries PCI DSS obligations, what you operate and what dependency you add. Read each row against your own card data flow, and treat the SaaS vault row as the item to confirm in writing with Juspay before you commit.
| Question | Native in-house PCI vault | External PCI vault provider | SaaS Hyperswitch Vault |
|---|---|---|---|
| Who holds the card data | Your own Hyperswitch card vault (locker) in your environment | The external PCI vault provider, such as VGS or Tokenex | The hosted Hyperswitch Vault operated by Juspay |
| Who carries PCI DSS obligations | You, as the docs state the merchant is fully responsible for PCI DSS certification and data handling | Shared with the external provider, scope depends on the contract and integration design | Confirm with Juspay how responsibility is divided and what evidence it provides |
| What you operate | Vault service, its database, TLS, key backends and the full card data environment | Orchestration and the app server, with the provider's vault as the card store | Orchestration, routing and the app server, while cards stay in the hosted vault |
| Dependency you add | Your own infrastructure and key custodians, with no vendor vault dependency | A third-party vault provider on the card path | A runtime dependency on Juspay's hosted vault for saved cards and payments |
| Where card data resides | Inside your infrastructure and chosen region | At the external provider's locations, confirm regions in the contract | In the hosted vault, confirm the hosting regions with Juspay for residency needs |
| Effect on your PCI scope | Full card storage scope sits in your environment | Scope reduces only if your integration keeps raw card data away from your servers, confirm with your assessor | Your scope depends on whether raw card data touches your systems, confirm the boundary with your QSA |
| Key management you own | Master and custodian keys, unlock sequence and backend choice are your responsibility | Mostly the provider's, confirm key custody and rotation terms | Confirm which keys, if any, you hold for connector credentials and tokens |
| Questions to settle with Juspay first | Not applicable, all vault work is in your hands | Provider SLAs, exit and data return terms, and region of processing | Hosting regions, uptime commitments, audit evidence, data deletion and what happens if the hosted service is unavailable |
How to set up self-hosted orchestration against the SaaS vault
This sequence takes you from confirming the vault model with Juspay to a sandbox-verified stack where your app server and Control Center route payments while card data stays in the hosted Hyperswitch Vault.
Confirm the vault model with Juspay
Before any install, agree in writing with Juspay that your deployment uses self-hosted orchestration with the SaaS Hyperswitch Vault, and confirm which vault endpoints, account and contract terms apply to your region. Your compliance team should also confirm how the hosted vault's PCI responsibilities are documented for your organization. Done means you hold a written record of the model, the vault endpoint and the responsibility split, and no one on the project is still assuming a different model. Confirm these details against the vault deployment models page in the Hyperswitch docs.
Deploy the app server and Control Center
Follow the documented self-hosting path to deploy the Router app server, its PostgreSQL and Redis dependencies, and the Control Center in a non-production environment you control. Use the Helm or Docker option that matches your platform, and confirm the release and Control Center versions are compatible using the compatibility matrix on the releases page. If your target version requires a dependency such as Superposition, deploy it first. Done means the health endpoints respond, the Control Center loads, and an admin user can sign in.
Configure the connection to the hosted vault
Set the vault connection and credentials in the app server configuration as the self-hosting docs describe, keeping secrets in your own secrets store rather than in plain values files. Limit network egress from the app server to the hosted vault endpoint and nothing else in that path. Your security team should review which identities can read these credentials and who can change the endpoint. Done means the app server reports a successful connection to the vault on startup and a test request completes without errors in logs.
Wire the client SDK tokenization flow
Integrate the client SDK on your checkout so card fields post directly to the hosted vault from the browser or app, and your servers receive only a token reference. Confirm the SDK version against the same compatibility matrix you used for the Control Center. Check that no card number, expiry or CVC is written to your logs, proxies or analytics tools during form submission. Done means a test card entered in the sandbox returns a token, and your server-side request contains the token and never the raw card number.
Verify tokens across the vault boundary
Using sandbox test cards, save a payment method, then confirm the token is stored in your app server database as a reference and that a repeat payment succeeds using that token. Also test a token that is invalid or expired to see the error path. Check that logs show token references only. Done means saved-card reuse works end to end and failure handling produces clear errors without exposing card data.
Run end-to-end payment flows in sandbox
Exercise authorization, capture, refund, and a webhook callback through your configured processor connectors in the sandbox. Confirm that routing decisions appear in the Control Center and that webhooks reach your endpoint with valid signatures. Test a vault outage by blocking the vault endpoint and confirm the app server fails safely without retrying card submissions in a way that duplicates charges. Done means every flow is recorded in the dashboard with expected states and the outage test produces a documented, safe failure.
Record evidence and approve go-live
Compile the vault model confirmation, the data flow diagram showing where card data is and is not present, the configuration review, the sandbox test results and the outage test outcome into one go-live pack. Have your compliance lead confirm the PCI DSS scope assessment against the hosted vault model with your assessor before any live traffic. Done means the pack is signed off, the live credentials are issued through your secrets store, and a rollback path to the previous state is written down.
What the SaaS vault model does to your PCI DSS scope
PCI DSS scope follows the data and the systems that could affect it, not the label on your architecture. The PCI Security Standards Council defines the standard as applying to entities that store, process or transmit cardholder data or sensitive authentication data, and to entities that could affect the security of the cardholder data environment. That second clause matters here. Merchants, processors, acquirers, issuers and service providers all fall under it. With the SaaS Hyperswitch Vault, raw primary account numbers are collected and held by the hosted vault, and your self-hosted Router receives tokens. That can remove the card database, card-handling code paths and most card-data flows from your environment. It does not remove your obligations for the app server, the Router and Scheduler services, PostgreSQL, Redis, the Kubernetes cluster, network segmentation, logging and access control, because those components sit in the same path as the payment flow and could affect the security of whatever handles cards.
Scope is a determination you must document and have confirmed, not one you assert. Check which requirements still apply to your environment, which controls the hosted vault provider covers, and what evidence that provider can supply for its own assessment. Confirm in writing with your Qualified Security Assessor, or with the assessor your acquirer or payment brand accepts, how each component is classified, including the Control Center, the encryption service, any custom connector code and any tooling that can see request bodies. Validation is done through a Report on Compliance completed by a Qualified Security Assessor, or through the Self-Assessment Questionnaire that fits your profile, and each is accompanied by an Attestation of Compliance. A certificate of compliance is not validation. PCI DSS v4.0.1 is the only active version, so your scope analysis should be against it, and the assessment should cover the specific SAQ or ROC type that matches your architecture.
Security and operational risks to control in this model
Running orchestration yourself while the vault is hosted by Juspay moves some risks to a boundary you must manage. The cards below cover the credentials, browser flow, identity settings, change control, outage handling and vendor oversight that connect your app server to the hosted vault.
Vault API credentials and rotation
Your app server authenticates to the hosted vault with credentials that let it store, retrieve and use card tokens. Treat these keys like production secrets: keep them out of configuration files and CI logs, scope them to the minimum environments and merchant accounts, and record who can read them. Confirm with Juspay how keys are issued, rotated and revoked, and how a revoked key behaves for in-flight payments. Rotate on any suspected exposure, and test the rotation path before you need it.
Deployment models docsBrowser tokenization boundary
In this model, card entry should happen in a hosted vault element or SDK so raw card numbers do not pass through your servers. Your front end still controls the page that hosts that element, so a script injected into it could capture card data before it reaches the vault. Ask your team to confirm which fields are collected by the vendor frame, which scripts load on checkout pages, and how a content security policy restricts them. Any change to the checkout page can move the scope boundary.
Control Center SSO limits
The Control Center accepts single sign-on through OpenID Connect only, with no SAML, no just-in-time or SCIM provisioning, and roles managed inside Hyperswitch rather than mapped from your identity provider. Each operator must be invited before first login, and removing someone in your directory does not remove their Hyperswitch access. Build an offboarding step that disables the Hyperswitch account, and review roles on a fixed schedule. Access removal is a manual task in this setup.
Control Center SSO docsApp server change control and access logs
You own the routing rules, connector settings and deployment of the app server, so every change that affects which token goes to which processor needs a review and an audit trail. Keep Kubernetes and Helm changes in version control, restrict who can deploy to production, and retain logs that show who changed routing and when. Confirm that the logs you need can be exported from your environment and that they do not contain card data or full vault tokens. Routing changes are the most common way a stable setup drifts out of its approved scope.
Vault outage and degraded routing
If the hosted vault is unreachable, saved-card payments, token creation and token-based retries can fail even though your app server is healthy. Define in advance whether checkout should fall back to a different vault, pause saved-card flows, or show a clear retry message, and test each path in a non-production environment. Agree with Juspay on the incident contact, status channel and expected response process before go-live. Your own dashboards will not show the vault fault unless you add a health check for it.
Vendor access and periodic reviews
Juspay staff may have access to parts of the hosted vault and to support tooling, and that access sits outside your environment. Ask for written information on who at the vendor can reach your data, how that access is logged and approved, and how you will receive notice of changes. Review this access on a fixed schedule alongside your own key and role reviews, and keep the results with your PCI DSS evidence. Record each review so an assessor can see the boundary was checked.
Latency and dependency trade-offs of a hosted vault
Every tokenize and detokenize call that reaches the hosted vault adds a network hop and a dependency on Juspay's availability, so your payments path now depends on two operators. Your app server, routing and retries run in your infrastructure, but card storage and token resolution run in the SaaS Hyperswitch Vault. An incident on either side can stop a payment that would have succeeded on a fully self-hosted stack. Before you commit, map which calls cross that boundary: saving a card, paying with a stored token, and any flow that resolves a token outside the normal authorization path. Each one is a place where latency and availability are set by a party outside your change control.
Measure the added latency in the Hyperswitch sandbox before you size anything for production. Run the same payment flows with a saved card against the hosted vault and against a self-hosted vault in a test environment, and compare p50 and p95 timings for tokenization, token-based payment creation and the connector call that follows. Record the network path, region and time of day, because a sandbox measurement only predicts production if the regions and routes match. Ask Juspay to confirm which regions the hosted vault serves, what its availability targets are in writing, and where its status and incident communications are published. Those answers belong in your vendor risk file, not in an assumption.
Outages need an explicit degradation plan. Fallback routing does not replace the vault. Default fallback routing decides which processor to use when no rule applies or a processor is ineligible, but it cannot retrieve a card that the vault cannot return. Design what happens to checkout, recurring billing and refunds when vault calls fail: whether you decline cleanly, queue work for retry, or require the customer to re-enter card details. Confirm with Juspay the timeout values the client uses, whether retries on vault calls are automatic, how many attempts are made, and whether retries can cause duplicate charges. Then test those behaviors in a planned failure drill.
Data residency questions to answer before choosing this model
The hosted vault holds the card data, so where that data lives and who is legally responsible for it decide whether this model fits your obligations. Each question below should be answered in writing, with the answer tied to the contract and the region you will actually use.
Where the hosted vault stores and processes cards
Ask Juspay which regions and data centers hold encrypted card records, which regions process them during tokenization and detokenization, and whether any support, logging or backup copy leaves those regions. Get the answer for the specific Hyperswitch Vault environment you will connect to, not for the product in general. Record the answer in your data flow diagram, because your auditors will trace the card path from browser to vault to your app server.
Vault deployment modelsWhat stays in your PostgreSQL and Redis
Even with cards in the hosted vault, your self-hosted router still writes payment records, tokens, connector metadata and scheduler data to your own PostgreSQL and Redis. Ask Juspay to confirm in writing that no raw card number, CVV or full track data is ever written to those stores, and map every field that holds personal data. Your data inventory should list each table and cache key that can carry a token or customer identifier, along with its retention and backup policy.
Cross-border transfers and the Juspay role
Ask whether Juspay acts as a processor or sub-processor for the cardholder data it receives, and which transfer mechanism covers any movement outside your region, such as standard contractual clauses or an adequacy basis. Request the sub-processor list and the notice period before changes. Your records of processing should name Juspay in the role the contract actually assigns, because a mismatch between contract and records is a common finding.
Regions and contract terms that apply
Confirm which regions are available for hosted vault service, whether you can pin data to one region, and which contract documents govern residency, breach notification and data deletion at exit. Ask what happens to vaulted cards if you stop using the service, how deletion is evidenced, and how long Juspay keeps backups. Treat these answers as contract terms, since a verbal assurance does not bind the provider.
Questions buyers ask before choosing this vault model
How much more effort is self-hosting orchestration than using the SaaS-only option?
Self-hosting the orchestration layer takes meaningfully more work than the SaaS-only option, because your team owns the deployment, the data stores, the upgrades and the evidence. With a SaaS-only setup, the provider runs orchestration and you integrate through its API. In the self-hosted model, your team runs the Router and Scheduler services, PostgreSQL with a master and replica, Redis and the Control Center, and keeps them patched and monitored. Hyperswitch documents Helm charts for Kubernetes, which reduces setup work but not ongoing ownership. Ask any vendor or partner to list each component you would operate, who carries on-call duty for each, and which tasks are one-time versus recurring. Also confirm which parts Juspay still runs in the hosted vault model.
What drives the cost of self-hosting Hyperswitch orchestration?
Cost comes from four places: the infrastructure your Router, Scheduler, PostgreSQL, Redis and Control Center run on, the people who operate the database and cluster, the upgrade and testing cycles, and the assessor time your PCI DSS evidence requires. Infrastructure and database operations recur every month. Initial deployment, configuration and integration are mostly one-time. Upgrades recur at the pace of the release cycle, and Hyperswitch ships roughly monthly minor releases. Assessor time depends on whether your assessment uses a Report on Compliance or a Self-Assessment Questionnaire, and that choice depends on your card flows. Ask Juspay or your vault provider for the vault fee as a separate line. Request a quote that splits one-time work from recurring costs and names every cloud service and license it assumes.
What does our team need to run self-hosted orchestration?
Your team needs Kubernetes and Helm skills if you use the documented chart path, plus PostgreSQL operations that include replication and backups, Redis, identity integration and monitoring. Someone must own the change process, because connector credentials, routing rules and Control Center roles all touch the payment flow. Security and compliance staff must be able to show who can access the Control Center, how roles are set, and how logs are kept. The Control Center supports single sign-on through OpenID Connect only, and roles are managed inside Hyperswitch, so access reviews happen in two places. Plan a named payments operations owner, an on-call rota, and a reviewer who understands PCI DSS scope before you start.
Can an in-house platform team run Hyperswitch orchestration alone?
An in-house team can do it if it already runs production Kubernetes, managed PostgreSQL and a secrets or key management process, and if it can staff the work continuously. The hardest parts are rarely the first install. They are keeping the stack upgraded on schedule, keeping the Superposition dependency running, proving that cards stay in the vault model you chose, and producing evidence for the assessor. Ask whether at least two people can follow the runbooks, because one departure can create a gap. A partner fits when the team lacks one of these skills, when the deadline is fixed, or when you want an outside review of the design before go-live. Build a skills matrix first, then decide which gaps to fill internally and which to contract.
How long does a self-hosted Hyperswitch deployment take?
Duration depends on the environment you deploy into, the scope of integration and the evidence you need at go-live. A local Docker setup or a Minikube trial is a different exercise from a production cluster on AWS, GCP or Azure, which Hyperswitch documents as separate guides. Scope adds time: the number of processors and connectors, wallets, SSO for the Control Center, networking and TLS choices, the database high availability design, monitoring and the go-live checks. No single duration applies across these cases, so ask for a milestone plan in the written scope. The plan should list dependencies on your cloud accounts, change windows and approvals, and it should include a staging environment that matches production.
How do Hyperswitch upgrades interact with the Superposition dependency?
Hyperswitch v1.124.0 made Superposition a required configuration dependency, so a Superposition service must be running before you upgrade to that version. Treat it as a prerequisite that must be in place first. Hyperswitch ships roughly monthly minor releases, and each GitHub release lists a compatibility matrix for Control Center and web client versions, so check that matrix for every target version. A safe sequence is to deploy the required dependencies, upgrade in staging, verify Control Center and SDK compatibility, then roll forward in production with a tested rollback plan. Read the release notes for each version before you schedule the change, because one missed dependency can block a deployment window.
When should we bring in a partner for self-hosted Hyperswitch?
Bring in a partner when your internal team cannot cover the deployment, operations and evidence work on the timeline you need. DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and ongoing support, upgrades and continuous testing are available as retainers. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or attestations. Your assessor or certification body does that. Ask for a written scope that lists what the partner operates, what you keep, and how handover works.
Does keeping the SaaS vault change our PCI DSS scope?
Keeping cards in the hosted Hyperswitch Vault reduces what your own systems store, but it does not remove your PCI DSS obligations. PCI DSS applies to entities that store, process or transmit cardholder data, and to entities that could affect the security of the cardholder data environment. The PCI Security Standards Council does not enforce compliance. Your payment brands and acquirer decide who must validate, and your assessor decides how your card flows map to scope. Whether your servers still touch card data, for example through a checkout page, a log or a support tool, largely determines the size of the assessment. PCI DSS v4.0.1 is the only active version. Ask your assessor to review the data flow diagram, and confirm with your acquirer which validation level applies before you build.
Limits to confirm in your environment before go-live
The hosted vault sits outside your infrastructure, so its availability, regional footprint, connector support and data handling set limits on your design. Confirm each one in writing with Juspay and in your own test environment before you accept live cards.
Hosted vault availability terms
The SaaS vault is a dependency your checkout cannot route around for card storage and token retrieval. Ask Juspay for the written availability commitment, the support hours, the incident notification process and the remedies if the vault is unavailable. Map what happens to saved-card payments and new card collection during an outage, and decide whether your app server can accept a fallback path. Do not assume a commitment exists until it appears in the contract.
Vault deployment modelsSupported hosting regions
Confirm which regions the hosted Hyperswitch Vault operates in and where cardholder data is stored and processed. Compare that list with your data residency obligations, your customers' locations and any contractual commitments on where card data may sit. If your required region is not offered, the in-house or external vault models may be the only options, and that changes your scope and build plan.
Connectors that accept hosted tokens
Not every processor connector necessarily accepts tokens issued by the hosted vault. For each processor in your planned mix, confirm in writing whether it can charge a vault token, whether recurring or network-token behavior is supported, and whether any feature you depend on requires a raw card or a different vault. Run a test payment per processor before you rely on the mix in production.
Processor mix under this vault model
Confirm that the self-hosted orchestration with SaaS vault model permits the exact combination of processors, wallets and routing rules you plan to run. A rule that routes a token to a processor the vault model does not support will fail at runtime. Write down each routing path, test it end to end and keep the list with your go-live evidence.
Intelligent routing docsRetention and deletion behavior
Ask Juspay how long card records and tokens are kept after a customer deletes a saved card, after a merchant closes an account and after a contract ends. Confirm how deletion requests are executed, how they are confirmed to you and whether backups are purged on a stated schedule. Your privacy notices and records of processing must match these answers, so get them in writing before any customer data is stored.
Version compatibility for your release
Pin the app server, Control Center and client SDK versions you plan to run and confirm each combination against the compatibility matrix published with the release. Check whether the hosted vault API version supports your app server version, and plan a test upgrade path for each monthly minor release. Record the pinned set and the test result so an upgrade does not silently break card collection.
Hyperswitch releasesHow DeployOpen works on this
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure. For a self-hosted Hyperswitch orchestration stack that uses Juspay's SaaS Hyperswitch Vault, the work starts with a written scope that fixes which data sits on your side of the boundary and which sits with the hosted vault.
How we scope
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- We map which components run in your cloud, data center or air-gapped network and which calls leave for the hosted vault.
- We confirm the data residency, PCI DSS scope and vendor terms with your compliance and legal teams before any build.
How we build
- We deploy the Router, Scheduler, PostgreSQL, Redis and Control Center in infrastructure you control, with TLS and network paths set up.
- We configure processor connectors, routing rules and fallback behavior, and test each path against your sandbox credentials.
- We check the vault integration end to end, including token handling, webhook delivery and failure behavior when the hosted vault is unreachable.
How we hand over
- You receive architecture, configuration and runbook documentation written for your platform and security teams.
- We document the scope boundary, evidence for your PCI DSS assessor and the access, logging and SSO settings in use.
- Handover includes a walkthrough with your operators covering upgrades, release compatibility and incident steps.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Retainers can cover Hyperswitch release upgrades, including checks against the Control Center and web client compatibility matrix for each release.
- We can retest the integration after processor, vault or configuration changes so your scope documentation stays current.

