Why a Hyperswitch v1.124 platform version upgrade starts with Superposition
A team running a self-hosted Hyperswitch stack on an older release needs to know one thing before anything else: what has to be running before the router can move to v1.124.0. The answer is a Superposition service must be active before the upgrade. Hyperswitch v1.124.0 made Superposition a required configuration dependency, so a deployment that treats it as an optional add-on will not reach the new version cleanly. Superposition is the configuration service that the release now expects to hold settings the router previously read from its own configuration sources. Planning therefore starts with the dependency, not with the router image tag.
The supported path, at a high level, is to stand up Superposition in the environment you control, confirm it is healthy and reachable from the router, and only then move the Hyperswitch app services to v1.124.0. The v1.124.0 release provides a migration package that seeds required dimensions and moves supported database configurations into Superposition as overrides, so the database-side work is part of the same plan. Before committing to a sequence, confirm the exact prior release you can upgrade from, and any intermediate versions you must pass through, against the v1.124.0 release notes and the compatibility matrix published with that release.
Treat the release notes as the authority for the path. Check the Superposition service requirement, the migration package contents, and the router image variant you intend to deploy, since v1.124.0 publishes a build with AWS SES support and a standalone build without it. Record the answers in your change plan, and ask your platform vendor or internal owner who will operate Superposition after go-live, because that service becomes a dependency your upgrades and incident response must now account for.
What changes in v1.124.0 and what each change requires from you
This table lists each change in the v1.124.0 release and compares what it does to your stack with the action you need to take before upgrading. Read it top to bottom: the Superposition service must be running before any router image is changed, and the remaining rows cover the migration package, the seed file and the image variant you pick.
| Change | Impact | Action needed |
|---|---|---|
| Superposition becomes a required configuration dependency | Configuration management now depends on Superposition, so the router expects it to be present in every deployment that runs v1.124.0. | Confirm in the v1.124.0 release notes that your target stack meets the new dependency, and plan the Superposition service as part of the upgrade scope. |
| Active Superposition service before upgrading | The release notes require an active Superposition service to be running before you move to v1.124.0, so an upgrade attempted without it is expected to fail or leave configuration unreadable. | Deploy and verify Superposition in each environment first, then confirm it is healthy before changing the router image. |
| superposition_migration.zip package | The package holds a script that seeds the required dimensions, a script that moves supported database configurations into Superposition as overrides, and the SQL query used to find those configurations. | Download the package from the v1.124.0 release, review the SQL query against your database, and run both scripts in a non-production environment first. |
| config/superposition_seed.toml | This file in the Hyperswitch repository lists the configurations that are migrated into Superposition, so it defines what changes in your database. | Read the file before migration, compare each listed config with your current values, and record any config your team sets that is not on the list. |
| Router image v1.124.0 (with AWS SES support) | Published on docker.juspay.io, this variant includes AWS SES support for email delivery. | Choose this image if your deployment sends email through AWS SES, and confirm the image reference in your Helm values or deployment manifests. |
| Router image v1.124.0-standalone (without AWS SES support) | Published on docker.juspay.io, this variant omits AWS SES support, so it suits deployments that do not use that email path. | Choose this image only if you do not depend on AWS SES, and confirm that your email and notification setup works with it in testing. |
| Control Center and web client compatibility matrix | Each release lists which Control Center and web client versions it supports, and mismatches can break the dashboard or checkout flows. | Check the compatibility matrix on the GitHub releases page before choosing versions, then upgrade the router, Control Center and web client as a set. |
Superposition must be running and seeded before the upgraded router starts
The diagram starts at the PostgreSQL master, where the configs to migrate are read. The Superposition migration package seeds the required dimensions and moves those configs into the Superposition service as overrides. Only after that service is running should the upgraded Router start, since v1.124.0 makes Superposition a required configuration dependency. The Router reads and writes PostgreSQL and uses Redis for caching, while the Scheduler Producer and Consumer share the Redis queue. Check the order before any pod restarts.
Startup order and data hand-offs for the v1.124.0 upgrade.
Preparation before the first upgrade run
Four things must be in place before anyone runs the v1.124.0 migration against real data: a restorable backup, a complete inventory of the configs the migration reads, a reachable Superposition service, and a test environment that behaves like production. Each card below is a gate, and the upgrade should not start until all four are closed.
Restorable PostgreSQL and Redis backups
Take a PostgreSQL backup and a Redis snapshot immediately before the upgrade window, and prove that the PostgreSQL backup restores into a scratch instance. Hyperswitch keeps payment state in PostgreSQL and uses Redis for caching and the scheduler queue, so a backup you have never restored is not a rollback plan. Confirm with your database team who owns the restore, how long a restore takes in your environment, and whether the scheduler queue can be drained or must be replayed.
Architecture docsInventory of database configurations
List every configuration row the migration will read, using the SQL query shipped in the v1.124.0 migration package, and record the current value of each. The migration moves supported database configs into Superposition as overrides, so a config you did not inventory can change behavior silently after the upgrade. Confirm which entries appear in config/superposition_seed.toml for your release and flag any custom entries that the seed file does not cover.
v1.124.0 release notesSuperposition running and reachable
Deploy a Superposition service in a non-production environment and confirm that the Router can reach it over the network path your production Router will use. The v1.124.0 release makes Superposition a required configuration dependency, so the Router expects an active service before the upgrade. Check network policies, service discovery, TLS settings and health endpoints, and confirm with your platform team who operates Superposition after go-live.
Test environment that matches production
Build a non-production stack with the same topology as production: Router and Scheduler services, PostgreSQL with its replica, Redis, Superposition and the Control Center version you plan to run. Load it with a copy or representative subset of the configuration rows from the inventory, so the migration script exercises the same data. Confirm which router image variant you need: v1.124.0 includes AWS SES support, while v1.124.0-standalone does not, and the choice should match your email delivery requirements.
How the superposition_migration package moves database configs
The superposition_migration.zip package from the v1.124.0 release does two jobs and provides a third tool you should run first. The first script seeds the dimensions that Superposition needs before any configuration can be stored in it. The second script takes database configurations that the release supports and migrates them into Superposition as overrides, so the router reads them from the configuration service instead of the database. The third item is the SQL query the migration script uses to find those configurations. Because the query is published, your team can run it on its own, which is the safest way to see what the package will touch before it changes anything.
Start with config/superposition_seed.toml in the Hyperswitch repository at the v1.124.0 tag. The release notes list the configurations that are migrated, and that file is the authoritative list for this version. Compare it with the configuration rows in your own database. Any setting you have changed that is not on the list stays where it is, and you must decide whether it still applies after the upgrade and how it will be managed. Do not assume the package covers every configuration in every deployment, particularly custom values added by your team, values set through environment variables, or settings from earlier releases that were never migrated.
Before any production run, restore a recent copy of your database into a staging environment and run the SQL query against it. Save the result, then run the seed script and confirm that the dimensions it creates match the dimensions your query output depends on. Record each migrated key, its value and the override it becomes, and check that the router reads the same effective value from Superposition as it did from the database. Confirm with Juspay or in the release notes if any step is unclear, and keep the output with your change record, since it is the evidence your reviewers will ask for.
Upgrade sequence for v1.124.0 with checks and rollback points
This sequence gets a self-hosted Hyperswitch stack from its current release to v1.124.0 in an order that keeps Superposition available before the app server needs it, with a verification check and a rollback point at each stage. Your team can confirm each check before moving on.
Take and verify database and configuration backups
Your platform or database team takes a full PostgreSQL backup and a copy of the current Helm values, environment variables and TOML configuration before anything changes. Restore the backup to a separate instance and confirm that the Hyperswitch tables and merchant configuration are readable. This step is done when a restore test succeeds. Rollback point: this backup is the only reliable way back if a later schema or config change cannot be reversed, so keep it until the upgrade is accepted.
Deploy and verify the Superposition service
Your platform team deploys a running Superposition service in the same environment as the router, with its own database and network path reachable from the router. The v1.124.0 release notes require an active Superposition service before the upgrade, so the router cannot start without it. Confirm the service health endpoint responds from inside the cluster and that the router configuration points to it. Rollback point: Superposition is additive at this stage, so the existing router keeps running on its current version and this service can be removed without affecting payments.
Run the dimension seed script
Run the seed script from the superposition_migration.zip package released with v1.124.0 against the Superposition service in a non-production environment first. The script seeds the required dimensions that the new configuration model depends on. Compare the seeded dimensions with the list in config/superposition_seed.toml in the release tag and confirm none are missing. Rollback point: seeded dimensions can be removed or re-seeded in the Superposition service, and no router traffic depends on them yet.
Run the config migration script and review output
Run the migration script that moves supported database configurations into Superposition as overrides, first against a restored copy of the backup. Before accepting the result, run the SQL query supplied in the package to list the configurations the script should have found, and reconcile that list against the migrated overrides. Investigate any mismatch, including configurations the script does not support, and record them for manual handling. Check: the counts and keys match, and a sample of merchant settings reads back correctly from Superposition. Rollback point: restore the database from the backup taken in the first step, then clear the overrides in Superposition.
Start the upgraded router and scheduler
Roll out the v1.124.0 router and scheduler images in a staging environment first, choosing the variant that matches your need for AWS SES support (the release publishes both a standard image and a standalone image without it). Confirm the router starts, connects to Superposition, and reads the migrated configuration. Then run a test payment, a refund and a webhook delivery through a sandbox processor connector. Check: each request succeeds and the logs show configuration reads from Superposition rather than fallback values. Rollback point: image rollback is quick, but it will not undo any database migration already applied, so the database restore from step one is the true reversal point for production.
Upgrade Control Center to the matrix version
Use the compatibility matrix in the v1.124.0 release to find the Control Center and web client versions that match the router. Upgrade the dashboard to that version only after the router is confirmed healthy, and log in with a test merchant account to confirm connectors, payments and API keys display correctly. Check that the dashboard version matches the matrix entry and that no page returns errors against the upgraded router. Rollback point: the dashboard is stateless, so reverting its image is low risk as long as the router version it expects still runs.
Decide rollback before production cutover
Before promoting to production, agree in writing which checks trigger a rollback and who authorizes it. Schema changes make some rollbacks harder than redeploying images, because reverting the application may not revert the database. The dedicated rollback topic in this group explains how to plan blue/green cutback and the decision criteria in detail. Confirm the backup from step one is restorable in the production environment, and record the time window in which restore would be needed. Done when the rollback decision owner and the criteria are documented and signed off.
How to test the v1.124 upgrade before production
This environment answers one question: does the router start with Superposition running and reach a healthy state? Use a Docker-based local setup or a Minikube cluster, following the self-hosting guides in the Hyperswitch docs. Run Superposition first, then the v1.124.0 router, and confirm the application logs show a clean start with no missing configuration errors. It proves that the image, the required service and the basic startup path work together. It cannot prove anything about your real configuration volume, your data, your network policies or your load.
- Start order: Bring up Superposition and confirm it is healthy before starting the router, because v1.124.0 requires it to be running.
- Image choice: Record whether you used the v1.124.0 image (with AWS SES support) or the v1.124.0-standalone image, and match it to your email setup.
- Startup logs: Save router startup logs and any warnings about configuration keys that are missing or unexpected.
- Smoke calls: Run a small set of API calls against a test merchant to confirm the router responds.
- Evidence to record: Image tags, Superposition version, startup log excerpts and the exact commands used, so the run can be repeated.
Before moving on, confirm that a clean local start is repeatable from a fresh environment, not just from one that was already partly configured.
Staging should be built from the same Helm values as production, so that differences between the two are limited to the environment itself. Restore a copy of production data into a separate PostgreSQL instance and run the migration package from the v1.124.0 release in that copy. The package includes a script to seed the required dimensions, a script to migrate supported database configurations into Superposition as overrides, and the SQL query used to find those configurations. This environment proves that the migration runs against real data shapes and that the migrated configurations are readable by the upgraded router. It cannot prove performance at production volume, and a data copy may hold stale or masked values that behave differently in production.
- Helm parity: Diff the staging values file against production and document every difference that remains.
- Migration dry run: Run the seed and migration scripts, and keep the SQL output that lists the configurations found.
- Config review: Compare the migrated entries with the list in config/superposition_seed.toml to confirm which configurations moved.
- Rollback rehearsal: Restore the database copy from backup and repeat the migration to confirm the procedure is repeatable.
- Evidence to record: Row counts before and after, the migrated configuration list, script logs and the diff of Helm values.
Confirm with the vendor or the release notes which configurations the script handles, so that any configuration it does not cover is identified before production.
This environment runs the upgraded router under conditions close to production, with the same node sizes, PostgreSQL and Redis topology, and the same Superposition deployment pattern. Run smoke tests for the payment paths your business depends on, then a load test that reflects your expected peak traffic. Include the Control Center and client SDK versions that your compatibility plan requires, because a router upgrade alone does not prove the wider stack works. It proves that the upgraded router handles realistic request patterns and that configuration reads from Superposition do not become a bottleneck. It cannot prove behavior with processors you have not connected in this environment, and it cannot replace a live change window.
- Smoke paths: Test authorization, capture, refund and webhook handling for each connector you use in production.
- Load profile: Write down the request rate, payment mix and duration used, and the source of those figures in your own traffic data.
- Configuration reads: Watch latency and error rates on the configuration path, since v1.124.0 moves configuration handling into Superposition.
- Dependency health: Check Superposition, PostgreSQL and Redis metrics during the run for saturation or connection exhaustion.
- Evidence to record: Test scripts and versions, load results with error breakdowns, dashboards captured during the run, and a signed list of open defects.
Approve the production window only when the smoke results, load results and staging migration evidence all point to the same versions and configuration.
Checks that decide whether to roll back
Rollback planning depends first on whether database changes were applied, because a schema or configuration migration that has already run is harder to undo than a redeployed image. The four checks below tell you when the upgrade is failing and whether reverting the images is still a safe option. For the full procedure, see the rollback guide for Hyperswitch upgrades.
Superposition health or missing dimensions
Before the router is trusted, confirm that the Superposition service is running and healthy, and that the dimensions the seed script was supposed to create actually exist. A router that starts against a Superposition service with missing dimensions can fail on configuration reads, or serve defaults where you expected your migrated values. Treat a failed health check or missing dimension as a stop condition and decide on rollback before any traffic moves.
v1.124.0 release notesMigrated configs changing payment behavior
Compare routing outcomes, retry behavior and processor selection for a sample of transactions against your pre-upgrade baseline. The configs moved into Superposition as overrides can change which connector a request reaches, so a payment that succeeded before may now route differently or fail. Any unexplained difference in routing or authorization behavior, even one that looks minor, is a reason to hold the cutover and investigate before continuing.
Router or Scheduler errors after first start
Watch the router and Scheduler logs and error rates closely after the first start on v1.124.0. Errors that appear only after the new version boots, such as failed configuration reads, connection problems with PostgreSQL or Redis, or scheduler queue failures, indicate that the new code and the current data do not agree. Set a threshold for error rates and recovery before the upgrade so the decision is not made under pressure during the window.
Control Center and client compatibility failures
Confirm that the Control Center and the web client versions you run are the ones listed in the v1.124.0 compatibility matrix. A component running ahead or behind the router can fail in ways that look like payment problems, such as broken merchant screens or checkout errors. If the mismatch cannot be fixed by aligning versions within the change window, that is a rollback signal for the affected component.
What makes the v1.124 upgrade longer or shorter
This table lists the factors that change how much work the v1.124 upgrade takes, with the reason each matters and what to check in your own environment. Read it before estimating the work, because the drivers vary far more between deployments than the release steps do.
| Driver | Why it matters | What to check |
|---|---|---|
| Number and shape of database configs | The migration script moves supported database configurations into Superposition as overrides, so more configs means more records to verify. | Run the SQL query from the release package and count the rows it returns, grouped by config type. |
| Custom routing or connector configuration | Configs outside the supported set may not be covered by the migration, so they could stay in the database and behave differently after the upgrade. | Compare your routing rules and connector settings against the list of migrated configs in config/superposition_seed.toml. |
| State of the existing configuration service | Superposition must be running and reachable before the router starts on v1.124.0, so an unhealthy or unversioned instance adds work. | Confirm the Superposition version you run, its database health, access from the router and whether any seeded dimensions already exist. |
| Helm and TOML customizations | Chart values and config files change between releases, and local overrides can silently conflict with new required settings. | Diff your current Helm values and TOML files against the v1.124.0 defaults and list every local override. |
| Number of environments to test | Each environment needs the seed, migration and verification steps run, and differences between them can hide failures. | List every environment (dev, staging, pre-production) and confirm which ones mirror production configuration and data volume. |
| Database size for backup and restore | Restore time sets how long a rollback or a test restore takes, and a large database makes trial restores slower. | Measure current PostgreSQL data size and time a test restore into a non-production instance before the change window. |
| Control Center and SDK versions | The Control Center and client SDKs are matched to router versions, so a version gap can break dashboards or checkout during the upgrade. | Check the compatibility matrix in the v1.124.0 release and list the Control Center and web SDK versions in use. |
Questions teams ask before upgrading to Hyperswitch v1.124
What drives the cost of upgrading to Hyperswitch v1.124?
The cost depends on how much of the stack you run, how many configurations you must migrate, and how much testing you need before production. The main drivers are the number of environments, the number of database configs that move into Superposition, the complexity of your Helm or Argo CD setup, and the depth of your pre-production test plan. You also pay for any new infrastructure to host the Superposition service and for the people who review config changes. Costs are one-time for the upgrade itself, while running Superposition afterward is recurring operational work. When you request a quote, ask the provider to itemize discovery, the Superposition deployment, migration runs, test environments, cutover support and handover, and to state which items are fixed and which depend on findings. DeployOpen does not publish a price list. A quote follows from the written scope.
How long does a Hyperswitch v1.124 upgrade take?
Duration depends on the drivers above, so no single figure applies to every deployment. A team with one environment, a short list of configs and a ready Superposition service will move faster than a team with several regions, a long config inventory and strict change windows. The migration package moves supported database configurations into Superposition as overrides, and the time needed to review and verify those overrides often sets the pace. Ask for a timeline in a written scope that lists the phases, the environments covered, the test gates before production and the change windows you must book. A timeline that does not tie back to these items is a generic estimate and should not be relied on.
What does the upgrade need from our team?
The work needs your team to provide access and decisions that only your organization can give. Expect to provide access to the Kubernetes cluster, the PostgreSQL database, and the Redis instance used by the stack, along with a current backup you have tested. You will also need change windows for the Superposition deployment and the router upgrade, plus staging environments that resemble production. Most importantly, name one owner who reviews configuration changes, because the migrated configs control live payment behavior. Confirm with the vendor and in your own environment which access rights, network paths and approval steps apply before the schedule is fixed.
Can our internal team run the v1.124 upgrade alone?
An internal team can run the upgrade if it has engineers who know the Hyperswitch architecture, Kubernetes, PostgreSQL and Redis, and if it can staff a named config reviewer and a test cycle before production. The architecture includes Router and Scheduler services, so the team must understand how a new required service changes startup order. Teams that lack this experience, or that run a payment stack where a failed config move would affect live transactions, often bring in a partner for discovery, test planning or cutover support. DeployOpen plans, implements, tests and documents self-hosted platforms inside your own infrastructure, so a split of work between your team and a partner can be agreed in the written scope.
Must a Superposition service run before any other upgrade step?
Yes. The Hyperswitch v1.124.0 release notes state that Superposition became a required configuration dependency, and deployments must have a Superposition service running before upgrading to that version. Deploy and verify Superposition first, then run the seeding script that creates the required dimensions, then run the migration that moves supported database configurations into it. Only after those steps should you roll the router to v1.124.0. Check the release notes for the exact order and the current migration package before you schedule any change, because the order is part of the release contract and not a suggestion.
What should a partner's quote for this upgrade include?
A useful quote lists the work in the order it will be done and says who performs each step. It should cover a discovery review of your current version, configuration files and Helm values, the Superposition deployment and its dependencies, the seed and migration runs with their verification checks, a test plan that runs in non-production environments, the production change plan, rollback steps, and handover documentation for your operators. It should also name the assumptions, such as the environments in scope and the number of configs, and state what triggers a change order. Ask for the timeline, the client responsibilities and the acceptance criteria in the same document. DeployOpen issues quotes from a written scope, so this is the document to compare against other proposals.
How should we test the migration before production?
Test the upgrade in an environment that mirrors production in its database schema, configuration, service topology and network paths. Start with a fresh Superposition deployment, run the seed script, run the config migration and compare the resulting overrides with the original database values using the SQL query from the release package. Then run the router v1.124.0 image against that copy and exercise payment flows, webhooks, refunds and any routing rules your business depends on. The container image choice matters: v1.124.0 includes AWS SES support, while v1.124.0-standalone does not, so confirm which one your email setup needs. Record each test result and keep the rollback path ready until the production checks pass.
How DeployOpen scopes and delivers a Hyperswitch upgrade
DeployOpen approaches the Hyperswitch v1.124 upgrade as a planned change to a live payments stack, starting with the Superposition service that must be running before the router moves to v1.124.0. The work is scoped in writing, built and tested in a non-production environment inside your infrastructure, and handed over with runbooks your team can follow.
How we scope
- Written scope names the current Hyperswitch version, the target release and every component that moves with it.
- We inventory the router, Control Center, web SDK and Superposition service versions, plus the database configs that need migrating.
- Scope states which environments are touched, who approves the production change, and what evidence is delivered at the end.
How we build
- We stand up a running Superposition service in a staging environment and confirm the router can reach it before any version change.
- We run the superposition_migration.zip scripts against a restored copy of your database and review what the seeding and override steps change.
- We check the config keys listed in config/superposition_seed.toml against your own configuration and record any differences before cutover.
How we hand over
- You receive a dated upgrade runbook covering the order of Superposition, database migration and application rollout, with the commands used.
- Test results from the staging upgrade are documented, including failed checks, the fixes applied and the retest outcome.
- A rollback plan is written and walked through with your team so the decision point and backup restore steps are clear before production.
How we support
- Fixed-scope engagements end with agreed deliverables, and any follow-on work is priced from a new written scope.
- Ongoing support, upgrades and continuous testing are available as a retainer for teams that take each monthly Hyperswitch release.
- Before you commit, confirm with us which Superposition and router versions your environment runs and who in your team owns the config migration.

