Hyperswitch for subscription businesses

Hyperswitch lets a subscription business retry failed renewals, route recurring charges across processors and keep its billing provider, with the vault, PCI and operations work planned up front.

On this page

How Hyperswitch helps subscription businesses reduce involuntary churn

A large share of subscription cancellations never involve a customer deciding to leave. A renewal fails because a card has expired, a bank issued a temporary decline, or a processor returned a soft error, and the subscriber loses access before anyone notices. Hyperswitch documents modules for revenue recovery, retries, payment orchestration and reconciliation, which together address this failure path. For a business that keeps its billing provider, the question is not whether Hyperswitch can sit beside that provider, but which recurring-payment events Hyperswitch will see, which ones it will act on, and which ones your billing system must still own. Before any design work, confirm with the Hyperswitch docs which recovery features your target release includes and how each one is configured.

If you keep your billing provider, Hyperswitch typically sits in the payment path rather than replacing the subscription logic. That split changes several things. Your billing system still decides when an invoice is due and what the customer owes, while Hyperswitch decides which processor receives a retry, how declines are classified, and how payment outcomes are written back. Map each failure code your billing provider returns against the codes Hyperswitch receives from each connector, and agree in writing which system sends the customer dunning emails, so the same customer is not chased twice or not at all. Confirm how account updater results, network tokens and stored credentials are handed between the two systems, since a mismatch there is a common source of avoidable declines.

Recovery claims should be tested on your own traffic, not taken from a vendor's summary. Set up a sandbox or staging environment with representative subscriber cohorts, run the retry and routing rules against historical decline data, and compare the outcome with your current process. Track recovered revenue, the number of customers reaching a final cancellation, and any duplicate charges, since over-aggressive retries can damage customer trust and card-network standing. Reconciliation is the control that proves the numbers: every retry, recovery and refund should trace back to a subscription invoice in your ledger. Ask your team or a partner to document this mapping before go-live so finance can close each billing cycle without manual matching.

Subscription requirements and what they mean for the build

This table maps the requirements a subscription business meets when it runs recurring billing on self-hosted Hyperswitch to the source behind each one and the build decision it creates. Read each row as a question to settle before design starts, and confirm open points with Juspay, your processors and your counsel. The main takeaway is that card refresh, fallback routing and vault placement drive most recurring revenue outcomes, while the EU rules shape contracts and exit planning.

RequirementSourceWhat it means for the build
Charges without the customer presentHyperswitch vault models and card vault docsStored credentials must live in a vault the scheduler can call, not only at checkout.
Card lifecycle updates (expiry and reissue)Hyperswitch revenue recovery moduleConfirm which card updater services your processors and vault provider support before promising automatic refresh.
Processor independenceHyperswitch intelligent routing docsSet a fallback route for renewals, and confirm how your rules handle declined recurring attempts.
Vault data stays in scopeHyperswitch vault deployment models and PCI DSS scopeThe in-house PCI model makes you fully responsible for PCI DSS certification and data handling.
Processing on documented instructionsGDPR Article 28(3)Processor contracts must limit processing to documented instructions and require Article 32 security measures.
Finance team accessHyperswitch Control Center SSO docsSSO uses OpenID Connect only, with no SAML, JIT or SCIM, so roles are set in Hyperswitch and need manual reviews.
Switching to another providerData Act Articles 23, 25 and 50Customers may switch with a maximum two-month notice period, so check how this applies to your service terms.
Switching chargesData Act Article 29From 12 January 2027 no switching charges may apply, and until then reduced charges cannot exceed direct switching costs.
Upgrades during billing cyclesHyperswitch v1.124.0 release notesSuperposition must be running before upgrading to v1.124.0, so schedule upgrades outside renewal runs.

Which Hyperswitch modules and settings matter for recurring billing

Recurring billing depends on a small set of Hyperswitch components: retry logic, the scheduler that runs it, routing that decides where each renewal goes, the vault that holds stored credentials, and the reporting that proves recovery. Each card below names what to configure and what to confirm with Juspay or in your own test environment before go-live.

Revenue recovery retries

Revenue recovery covers the retry schedule and logic applied after a renewal payment declines, which is where most recoverable involuntary churn sits. Decide the retry count, the spacing between attempts and which decline codes trigger a retry versus a dunning email. Confirm with Juspay how revenue recovery interacts with your billing provider's own retry engine, so two systems do not retry the same invoice.

Hyperswitch docs

Scheduler producer and consumer

Retries and scheduled payments run through the Scheduler service, which has a Producer and a Consumer and uses Redis for its queue. A backlog or a stalled consumer delays every renewal behind it. Check queue depth, consumer health and the Redis and PostgreSQL capacity they depend on before you rely on the schedule for billing-day volume.

Architecture docs

Default fallback and auth-rate routing

Auth-rate routing ranks processors by recent approval rates, which can lift renewal success for cards that a single acquirer declines. Default fallback routing applies when no rule matches or a processor is ineligible, so it decides where a renewal goes in those cases. Set the fallback explicitly, and test that a subscription renewal reaches a processor that supports the card's region and the merchant's recurring mandate type.

Routing docs

Card vault model for stored credentials

Subscriptions depend on stored card credentials, so the vault model determines who holds the card data and how much of your environment falls into PCI DSS scope. The in-house model keeps the card vault in your infrastructure and makes you fully responsible for PCI DSS certification. An external vault or the SaaS vault changes that split. Confirm which model fits your billing provider's token handling before migrating saved cards.

Vault models docs

Reconciliation and cost observability

Reconciliation matches each subscription charge, retry and refund to the processor settlement, and cost observability shows what each processor charges per renewal. Together they show whether recovery retries raise net revenue after fees. Define the reports you need before go-live, including recovered amount by retry attempt and processor, and confirm with Juspay which reconciliation exports are available in your deployed version.

Control Center roles and SSO limits

The Control Center supports single sign-on through OpenID Connect only, with no SAML, no JIT or SCIM provisioning and roles managed inside Hyperswitch rather than mapped from your identity provider. Users must be invited first. Plan who can change retry rules and routing, document the manual joiner and leaver steps, and confirm these limits against your identity policy before granting billing operations access.

SSO setup docs

How Hyperswitch sits beside your existing billing provider

Keeping your billing provider while Hyperswitch handles payment execution, retries and routing is the most common architecture for subscription businesses that do not want to move subscription logic. The billing tool keeps owning plans, invoices, proration, dunning schedules and customer records, while Hyperswitch owns the payment attempt itself: which processor receives it, how it is routed, whether it is retried and how the outcome is recorded. The integration boundary is the payment request, so the design question is which fields cross that boundary and which events come back.

In practice the billing tool sends a charge request that carries an amount, currency, customer reference and a stored payment method reference, usually a Hyperswitch token rather than card data. Hyperswitch returns the attempt status and sends webhooks for state changes, which the billing system consumes to update invoices and subscription status. Processor responses, decline codes and network data flow through Hyperswitch and reach the billing tool only in the form you map. Confirm every endpoint, field name, webhook event and retry behavior against your billing provider's own API and webhook documentation before design sign-off, because duplicate-event handling and idempotency rules differ between vendors.

Plan the exit path at design time. Under the EU Data Act, Regulation (EU) 2023/2854, data processing service providers must let customers switch to another provider or to on-premises infrastructure, and the switching charge rules change on 12 January 2027. Ask your billing provider how it exports subscriptions, invoices and stored payment references, and confirm whether those references can be reused with another processor.

A failed renewal crosses your trust boundary twice

A renewal starts when the billing provider sends a charge request to the Router, which retrieves the saved card from the vault. The Router authorizes against the primary processor. On a decline, the Scheduler places the retry on its queue and sends it to a fallback processor, and the outcome returns to billing and reconciliation through webhooks. Check where the vault sits in your chosen vault model and which hand-offs leave your infrastructure, because those hand-offs define your PCI DSS and GDPR scope.

Renewal path from billing request through retries to webhook and reconciliation.

Rolling out recurring payments on Hyperswitch

This sequence moves recurring billing from a provider-agnostic design to a live Hyperswitch stack, proving retries and renewals in parallel with your current flow before any traffic moves. The result is a cutover you can reverse if a renewal cohort behaves unexpectedly.

  1. Scope subscription flows and billing integration

    Map every recurring path in your product: trial conversions, plan upgrades and downgrades, proration, dunning emails, card updates and cancellations. Document which system owns each state, such as your billing provider for subscription status and Hyperswitch for payment attempts and tokens. Agree the webhook and API contract between them with your billing engineers. Done when a written scope lists each flow, its owner, and the events that move money, signed off by product, finance and engineering.

  2. Deploy a non-production Hyperswitch stack

    Stand up a non-production environment using the Helm chart on Kubernetes documented by Hyperswitch, with the PostgreSQL and Redis dependencies, the card vault and the Control Center configured for your cloud. Confirm the Superposition service is running if the release you choose requires it, as the v1.124.0 notes require. Run your platform or infrastructure team, with DeployOpen if engaged, to own the deployment. Done when the sandbox processes test charges end to end and health checks pass.

  3. Configure processors and retry rules

    Connect the processors you intend to use for recurring charges, load credentials for each, and confirm which networks and regions each one covers. Define the retry schedule and the conditions that trigger a retry, separating soft declines from hard declines so you do not retry cards that will never succeed. Set up the account updater or network token options only where your processors and card networks support them, and confirm this with each provider. Done when test subscriptions in the sandbox show the expected routing, retry timing and fallback processor behavior.

  4. Wire the recurring token flow

    Connect the billing provider or your own scheduler so each renewal sends a payment request that references a stored token rather than card data. Confirm that the token is issued at first payment, stored in the vault model you chose, and reused for every renewal and retry. Verify that webhooks for success, failure and dispute events reach your billing system and update subscription state correctly. Done when a test subscription renews across several simulated billing cycles without any card data leaving the vault.

  5. Run parallel reconciliation against live renewals

    Keep the existing payment path active for live customers while Hyperswitch processes a shadow or limited cohort of renewals, depending on what your billing setup supports. Compare every attempt across both paths for amount, outcome, processor reference and subscription status, and reconcile settlements against processor reports. Record every mismatch and classify it as a configuration, data or processor issue. Done when the mismatch log is empty or every entry has an owner and a fix, and finance signs off the reconciled totals.

  6. Cut over with a rollback plan

    Move renewal cohorts to Hyperswitch in stages, starting with the smallest group, and keep the prior payment path configured so traffic can return to it. Write the rollback trigger, the person authorized to invoke it, and the steps to reroute new attempts and reconcile any in-flight retries. Monitor failure rates, retry outcomes and webhook lag at each stage before expanding. Done when the full base renews on Hyperswitch, the prior path is retired only after a full billing cycle is reconciled, and the rollback procedure has been rehearsed.

Compliance duties that come with stored subscription cards

A subscription business that keeps cards on file for renewals takes on card data handling every billing cycle, not just at sign-up. The duties below depend on which vault model you run, who signs the processor contracts, and how you prove controls to customers and auditors.

PCI DSS scope by vault model

Where card numbers sit decides how much of your environment falls under PCI DSS. In the self-hosted, in-house PCI model, the Hyperswitch docs state that the merchant is fully responsible for PCI DSS certification and data handling, so your stack carries the full assessment. With an external PCI vault such as VGS or Tokenex, or the SaaS Hyperswitch Vault, card data lives outside your cluster and your scope usually shrinks. Ask your QSA to confirm the scope for the model you pick before you design recurring billing flows.

In-house PCI model docs

In-house vault ownership

Running the native Hyperswitch card vault means your team owns the vault service, its keys, its database and its access logs. Renewal jobs that charge stored cards will read tokens from that vault on a schedule, so outages and key rotations affect billing directly. Confirm who holds key custodian roles, how key rotation is tested, and whether the vault is isolated on its own network segment.

External vault contracts

An external PCI vault provider becomes a service provider in your payment flow, so its responsibilities need a written agreement. Check which card data the provider stores, how it returns tokens to Hyperswitch, its own PCI DSS attestation, and what happens to stored cards if you switch providers. Subscription renewals depend on these tokens, so ask how a provider change would migrate them without a gap in billing.

GDPR Article 28(3) processor terms

When a vendor processes subscriber personal data for you, GDPR Article 28(3) requires a contract that limits processing to your documented instructions, including for transfers, and that requires the Article 32 security measures. Map every processor in the renewal path: the hosting provider, the external vault, the processors Hyperswitch routes to and any support vendor. Ask each one for a data processing agreement that covers stored card tokens and subscriber records.

GDPR text on EUR-Lex

Article 32 security of processing

Article 32 requires you to choose security measures suited to the risk, such as encryption, access control, resilience and the ability to restore data. For recurring billing, the main exposures are the vault keys, the PostgreSQL and Redis stores that hold payment metadata, and the scheduler that triggers retries. Document how each measure is applied and test restores of the billing data, not only the application.

SOC 2 and ISO/IEC 27001 evidence

Enterprise customers often ask for a SOC 2 report or ISO/IEC 27001 certification before they approve a subscription vendor. DeployOpen prepares the systems, controls and evidence for these assessments, but independent auditors issue the SOC 2 report and accredited certification bodies certify ISO/IEC 27001. Ask your auditor which Trust Services Criteria or Annex A controls apply to your billing flows, and plan evidence collection for access reviews, change records and backup tests.

ISO/IEC 27001 standard page

Data Act switching duties

Under the EU Data Act, data processing service providers must let customers switch to another provider or to on-premises infrastructure, with a maximum two-month notice period and a 30-day transitional period. From 12 January 2027, providers may not impose switching charges. If you run a subscription business in the EU, confirm with your hosting and vault providers how they will export tokens, subscriber records and renewal schedules during a move.

Data Act text on EUR-Lex

What do subscription teams ask before self-hosting Hyperswitch?

What drives the cost of a self-hosted Hyperswitch implementation?

The main drivers are how many processors and billing touchpoints you connect, whether you run the card vault yourself or use an external vault provider, and how much of the recovery logic you want to tune. Infrastructure is a recurring cost you pay to your cloud or data center provider, since Hyperswitch is Apache 2.0 licensed and the software itself carries no license fee. Services work is one-time planning, build and testing, plus any ongoing support you choose. Ask any provider for a quote that separates one-time implementation from recurring infrastructure, upgrades and monitoring, and that names the billing system and processors in scope.

How long does a Hyperswitch rollout for subscriptions take?

Duration depends on scope: whether you need a single processor with retries, or several processors, account updater flows and reconciliation back to your billing system. Teams usually lose the most time to billing API access, processor onboarding and webhook testing rather than to the Hyperswitch deployment itself. Use a written scope with milestones and a cutover plan, and confirm with your provider how they staff the work and what happens if a processor approval slips. No duration in this page is a promise; treat any timeline as something to agree in the statement of work.

What does our team need to provide before a Hyperswitch project starts?

Four inputs decide whether the project moves on schedule:

  • API access to your billing platform, with a test environment and webhook events for invoices, payment failures and subscription changes
  • Credentials for each payment processor, including test and live keys and the webhook settings they require
  • A PCI DSS decision: whether cards are stored in the in-house Hyperswitch Vault, an external PCI vault provider, or the SaaS Hyperswitch Vault, since the in-house model makes you fully responsible for PCI DSS certification and data handling
  • An infrastructure target: a Kubernetes cluster, PostgreSQL and Redis, plus owners for identity and secrets

Confirm these with your billing and security leads before scoping.

Can our in-house engineers run Hyperswitch without an implementation partner?

Yes, many teams do, and Hyperswitch documents self-hosting with Helm charts on Kubernetes, along with a Docker-based local setup and a hosted sandbox for testing. The harder parts for a subscription business are the billing integration, retry and dunning policy, reconciliation, and the PCI scope decision, not the install itself. Ask whether your team has Kubernetes operations experience, staff for on-call coverage of payment paths, and time to own upgrades. A partner can fill gaps in any of those areas, and the split between your team and a partner should be written down before work starts.

How do Hyperswitch upgrades affect a self-hosted subscription stack?

Hyperswitch ships roughly monthly minor releases, and each GitHub release lists a compatibility matrix for the Control Center and web client versions. Upgrades are a recurring task you own unless you contract for them. Some releases add required dependencies: the v1.124.0 release notes made Superposition a required configuration dependency, and deployments must have a Superposition service running before upgrading to that version. Recurring billing traffic makes these changes higher risk, so plan staging tests against retry and webhook flows before each production upgrade.

Can we get a promised recovery rate from a self-hosted Hyperswitch setup?

Recovery results depend on your customer base, card mix, issuers, processors and dunning policy, so no provider can promise a specific figure before the system runs on your traffic. What you can do is define the measures up front: involuntary decline rate, recovered revenue, retry success by attempt and processor, and card account updater hits. Ask for a measurement plan that compares a baseline period with the new setup, and confirm which reports you will receive. Treat any recovery figure you see elsewhere as unverified until it is measured in your own environment.

Does Hyperswitch support SSO for the team that manages subscriptions?

The Control Center supports single sign-on through OpenID Connect only. SAML is not supported, there is no just-in-time or SCIM provisioning, users must be invited first, and roles are managed in Hyperswitch rather than mapped from your identity provider. Plan for manual user onboarding and offboarding in the dashboard, and document who approves access. Check the SSO configuration guide before you commit to an identity design, and confirm whether your identity provider can meet OpenID Connect requirements.

What to ask a partner before you commit

Put the vault decision in the written scope first, because every other answer depends on it. Ask the partner which of the three documented vault models they will build: self-hosted with the native Hyperswitch Vault, where the merchant carries PCI DSS responsibility for the in-house vault, self-hosted orchestration with an external PCI vault provider such as VGS or Tokenex, or self-hosted orchestration with the SaaS Hyperswitch Vault. Ask who owns the PCI DSS assessment under each option, and get the answer in writing. For a subscription business, the vault also decides how saved cards move if you change processors later, so ask how token migration is handled and who runs it.

Ask how the billing integration will be tested before go-live. Recurring charges depend on the handoff between your billing provider, the Hyperswitch router and the Scheduler, so the scope should name the test cases: successful renewals, soft declines that enter retries, hard declines, expired cards and webhook delivery. Ask who maintains the test environment and whether the partner will run a retry simulation against your real decline codes. On upgrades, ask how the partner handles the Superposition requirement introduced in v1.124.0, which says a Superposition service must run before upgrading to that version. Require a written upgrade plan that covers the compatibility matrix for Control Center and web client versions in each release on the Hyperswitch releases page.

Confirm the SSO limits before you assume your identity provider will govern access. The Control Center supports OpenID Connect only, with no SAML, no JIT or SCIM provisioning, invited users only, and roles managed in Hyperswitch rather than mapped from your identity provider. Ask the partner how joiners, movers and leavers will be handled in that model, and who removes access when someone leaves. Then ask what compliance evidence is delivered: access reviews, admin change logs, configuration baselines, vault and key handling records and retry-rule change history. DeployOpen prepares systems, controls and evidence for assessments but does not issue audit reports or certifications, so ask which independent auditor will consume the evidence. Finally, ask for retainer options covering upgrades, continuous testing and on-call support, with what each one includes and excludes.

How DeployOpen works on this

DeployOpen plans, implements, integrates, documents and supports self-hosted Hyperswitch inside your own infrastructure, so the recovery, retry and billing-provider decisions in this guide become a written, tested configuration. Engagements start with a written scope that fixes deliverables and timelines before any build work begins.

How we scope

  • Map your billing provider, current processors and recurring plan types before agreeing the integration boundary.
  • Record which retry, account updater and dunning flows will run in Hyperswitch and which stay in your billing system.
  • Document the card vault model and PCI DSS scope decisions, so compliance owners sign off before build starts.
  • Agree deliverables, timelines and acceptance tests in writing; most engagements are fixed-scope.

How we build

  • Deploy the Hyperswitch router, scheduler, PostgreSQL, Redis and Control Center in infrastructure you control.
  • Configure processor connectors, routing and retry logic for recurring transactions against your agreed rules.
  • Integrate webhooks and billing events so failed renewals, updated cards and recovery outcomes reach your systems.
  • Test declined, expired and retried payment paths in a non-production environment before any live traffic.

How we hand over

  • Deliver architecture diagrams, runbooks and configuration records covering every recurring payment flow.
  • Document the upgrade path, including the Superposition dependency required from v1.124.0, and compatibility checks.
  • Run a go-live review with your finance, billing and security teams, with each open item recorded and owned.
  • Train operators on Control Center views for failed payments, recovery queues and dispute handling.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after go-live.
  • Track monthly Hyperswitch releases and plan upgrades in staging before they reach recurring billing traffic.
  • Re-run recovery and retry tests after processor, connector or billing-provider changes.
  • Ask any support partner to confirm response scope, hours and escalation paths in the written agreement.

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.