Hyperswitch account updater for saved Visa and Mastercard cards

Hyperswitch Account Updater checks saved Visa and Mastercard cards before eligible merchant-initiated payments, so subscriptions can keep charging after reissued cards. This page covers how it works, what to configure and what to confirm before go-live.

On this page

How the Hyperswitch account updater keeps saved cards current

A subscription or card-on-file business often finds that stored cards go stale without any action from the customer. A card is reissued with a new number or expiry date, or the account is closed, and the next merchant-initiated charge fails. The Hyperswitch account updater addresses this by checking saved cards with an Account Updater service before eligible merchant-initiated payments are attempted. According to the Hyperswitch account updater documentation, the service supports Visa and Mastercard, and any updated details are saved under the same payment method ID, so the stored reference your billing logic already uses does not change.

Teams need this most where recurring charges run without the cardholder present: subscriptions, memberships, installment plans and stored-card checkouts. The updater can produce three outcomes. It can refresh the card number and expiry date, it can mark a saved payment method inactive when the account is closed, or it can leave the card unchanged when there is no actionable update. Each outcome affects what your billing system should expect, so plan how inactive methods are surfaced to customers and whether a closed account should trigger a request for a new payment method. Confirm with your Hyperswitch contact which card networks and processors are wired to the updater in your deployment, since coverage depends on the connectors you have enabled.

Before you rely on the updater, run a controlled test with a small set of saved cards, including one you know has been reissued and one with a closed account, if your test environment allows it. Check that the payment method ID is unchanged after the update, that the refreshed expiry and number appear where your reporting expects them, and that inactive methods are blocked from charging. Ask your team to document how the updater's outcomes map to your retry and customer messaging rules. The Hyperswitch account updater docs describe the request flow and fields to verify against your version.

How a merchant-initiated payment uses the account updater

The flow starts when a scheduler or merchant system triggers a merchant-initiated payment against a saved card. Before authorization, the Router asks the Account Updater service to check the Visa or Mastercard record. The service returns one of three results: refreshed card number and expiry, a closed account marked inactive, or no change. In every case the payment method ID stays the same, and the card data itself is read from the card vault, which remains the only store for card details. Check that the vault and the updater are both reachable before go-live.

Account updater check runs before each eligible merchant-initiated authorization.

Account updater outcomes and when each fits

This table compares the three outcomes Hyperswitch Account Updater can produce for a saved Visa or Mastercard card: a refreshed card number and expiry, an inactive payment method, or no change. Read each row as the situation that produced the result and the checks your team should run afterward. The main takeaway is that only the inactive outcome needs a customer-facing or retry decision, while the other two mostly need confirmation that the same payment method ID continues to work.

OutcomeBusiness situation it addressesWhat the team must check afterward
Refresh card number and expiryA customer received a replacement card with a new number or expiry date, so the stored details no longer match the account.Confirm the next subscription charge uses the same payment method ID and succeeds. Check that the stored expiry is correct in your records and that receipts or statements do not show stale card details.
Mark payment method inactiveThe card account was closed by the issuer or the cardholder, so the saved card can no longer be charged.Route the subscription to a customer request for a new payment method. Make sure retries stop for this method, notify the customer through your normal channel, and review any open invoices tied to it.
Leave card unchangedThe updater found no actionable change for the saved card, so the stored details remain valid as they are.No card-level action is needed. Keep normal retry and decline handling in place, since a failed charge can still come from issuer decisions, limits or funds rather than stale card data.
Check before eligible merchant-initiated paymentsRecurring or card-on-file charges where the merchant starts the payment without the customer present.Confirm which of your flows are eligible in your configuration and which Visa and Mastercard enrollment or processor setup your team must provide. Ask Hyperswitch and your processor which steps run before authorization.

How to set up the account updater in a self-hosted stack

This sequence takes a self-hosted Hyperswitch stack from confirming Account Updater availability to a tested, verified update cycle, so subscription cards stay current without changing payment method IDs.

  1. Confirm release and connector availability

    Before enabling anything, check the Hyperswitch releases page for the version you run and its compatibility matrix for Control Center and web client versions. Confirm with your Hyperswitch contact or the account updater documentation that the Account Updater service is available in your deployment and that your Visa and Mastercard connectors are eligible. Upgrade the router, Control Center and SDKs to matching versions in a non-production environment first. This step is done when you have a written record of the running versions and a yes or no on connector eligibility for each card network.

  2. Verify service dependencies are healthy

    Account Updater runs inside the same stack as your router, so confirm the components it relies on are running and reachable in the target environment. Check the router, the scheduler, PostgreSQL and Redis health endpoints, and confirm that the card vault can read and write saved payment methods. If your release requires other services, such as Superposition for the v1.124.0 line onward, confirm they are running before you change any configuration. This step is done when every dependency reports healthy and a test saved card can be retrieved from the vault.

  3. Enable account updater for the business profile

    In the Control Center, or through the API if your team manages configuration as code, enable Account Updater on the relevant business profile and limit it to merchant-initiated flows such as subscription renewals. Record who approved the change and which profile IDs are affected. Keep customer-initiated flows out of scope unless your documentation says otherwise. This step is done when the profile configuration export shows the setting enabled for the intended profile only, and the change is recorded in your change log.

  4. Map saved payment methods to subscription records

    Confirm that each saved card is linked to the subscription or customer record in your billing system by a stable customer ID and payment method ID. Account Updater keeps the same payment method ID after an update, so your billing system can keep referencing it. Identify any saved cards that lack a mapping or were stored under a different customer, and resolve them before testing. This step is done when a sample of subscriptions resolves to a single payment method ID each, with no orphaned or duplicate cards in the export you reviewed.

  5. Run a controlled test with sandbox cards

    Use test cards and the sandbox or a staging environment to simulate a merchant-initiated payment against a saved card, then trigger an update scenario supported by your test setup. Record the request, the authorization result and any updated card number or expiry returned. Repeat for a scenario with no actionable update and for a closed-account scenario if your test setup supports it. Confirm the expected behavior with your Hyperswitch contact before you rely on a specific test card. This step is done when each scenario produces the outcome documented for it and the results are saved with the test date and versions.

  6. Verify payment method IDs stay unchanged

    Compare the payment method ID before and after each test update. The ID must be identical, and only the card number, expiry or status should change. Check that your billing system still resolves the subscription to the same record and that a follow-on charge uses the refreshed card. If an ID changes, stop and investigate the mapping in the previous step before going further. This step is done when the before and after IDs match in every test case and the follow-on charge succeeds against the updated details.

  7. Confirm inactive methods are handled correctly

    Where the test shows a closed account, confirm that the saved payment method is marked inactive and that your billing system stops attempting charges against it. Decide, with the finance and support owners, how the customer is notified and how a new payment method is collected. Check the webhook or event your system receives for the status change, and confirm it reaches your reconciliation and dunning flows. This step is done when the inactive status is visible in both Hyperswitch and your billing system, no further charges go to that method, and the owner has a documented customer communication path.

  8. Monitor and recheck after each upgrade

    Set up monitoring for account updater activity, including the number of checks, updates and inactive markings, and review the results on a regular schedule. Repeat the compatibility check against the releases page and the test sequence whenever you upgrade Hyperswitch, because changes to router, Control Center or SDK versions can affect the flow. Keep the test evidence with your change records so an auditor or internal reviewer can trace the setup. This step is done when dashboards or logs show account updater events and the upgrade checklist includes this sequence.

Security and data handling for updated card details

Updated card numbers and expiry dates are cardholder data, so every change Account Updater makes touches your PCI DSS scope. The cards below cover where that data lives, who can see it, what you carry under the in-house model and how automated changes are recorded.

Card data stays in the vault

Account Updater writes refreshed card numbers and expiry dates back under the same payment method ID, and the stored card data sits in the Hyperswitch card vault, a separate Rust service built for PCI DSS requirements. Confirm which vault model you run before go-live, because that choice decides how much of the vault and its surrounding systems falls inside your PCI DSS scope.

Vault models docs

Merchant owns PCI DSS under in-house

If you use the self-hosted model with the native Hyperswitch Vault, the Hyperswitch docs state that you are fully responsible for PCI DSS certification and data handling. That covers the vault, the database, backups and the people with administrative access. Ask your assessor early whether the refreshed card data flows through your environment, and document each path the update takes.

In-house PCI docs

Outsourced vault narrows scope

With self-hosted orchestration and an external PCI vault provider such as VGS or Tokenex, card data is held by the provider rather than in your vault. Account Updater still needs to reach the Visa and Mastercard services, so review what your orchestration layer logs and stores around each update. Ask the provider for its own PCI DSS evidence and confirm the data flow in writing.

External vault docs

Keep card numbers out of logs

Refreshed card details should never appear in application logs, traces, webhook payloads you forward to other systems, or Control Center exports. Review your logging and observability pipeline, including the Router and Scheduler output, for masking rules. Test a sample update end to end and search the log stores for the new card number before you call the setup finished.

Audit trail for automated updates

Account Updater changes saved cards without a customer or merchant action, so you need a record of what changed, when, and which payment method ID was affected. Confirm with your Hyperswitch deployment team how update events are recorded and retained, and whether they can be exported for review. Hyperswitch does not promise a specific retention period in the supplied material, so set your own retention to match your policy.

Control Center access to saved methods

Control Center SSO works through OpenID Connect only, SAML is not supported, and roles are managed in Hyperswitch rather than mapped from your identity provider. Users must be invited before they can sign in, so review who holds roles that can view saved payment methods. Remove access on a schedule and check each role change against your access review process.

SSO setup docs

When account updater is not enough

The account updater reduces failed renewals for eligible saved Visa and Mastercard cards, but it does not replace customer communication, network tokens or retry logic. Its job is narrow: before an eligible merchant-initiated payment, it checks whether the card number or expiry has changed, refreshes the saved details under the same payment method ID, or marks the method inactive when the account is closed. Cards outside that scope, and updates that never arrive, still fail. Plan for those cases before you switch the feature on, not after the first wave of declines.

Several failure paths sit outside the updater. A customer may have replaced a card with one from a network the updater does not cover, may have a closed account with no replacement, or may have a card that is declined for reasons unrelated to expiry. For these, you need a customer-facing path to update payment details, and you need to decide how an inactive payment method is communicated to the customer and to your subscription system. Confirm with your Hyperswitch team which card brands and regions the Account Updater service covers for your connectors, and how often you can expect updates to be returned, since that determines how much work falls to the other layers.

Before choosing the configuration, map the overlap with smart retries and revenue recovery. Account updater runs before authorization, smart retries decide whether and how a failed attempt is retried, and revenue recovery handles failed recurring payments alongside your subscription system. Two layers can act on the same declined renewal, so settle which one owns each decline code, what the retry count is, and where the audit trail for a changed card is kept. Document those decisions in a test plan that covers an updated card, a closed account and an unchanged card, so the team can verify each path before renewals depend on it.

Questions teams ask before enabling the account updater

What does it cost to enable the account updater on Hyperswitch?

The cost is mostly the work of enabling it, not a line item in Hyperswitch itself, so ask for a quote built from a written scope. The cost components are the platform team's configuration and integration effort, the connector and Account Updater service setup for your processor, the test effort to confirm refreshed and closed-account outcomes, and any compliance review. The one-time work covers configuration, mapping and testing. Recurring costs depend on how you run the stack and on your processor's own terms for the service. The main cost drivers are your connector and vault model, the number of saved cards to validate, and how many subscription flows call the updater. Ask any partner to separate one-time and recurring items and to state which processor fees you will still owe.

How long does an account updater rollout take?

Duration depends on your environment and how many flows need changes, so no fixed timeline applies across teams. The main drivers are whether your current vault model and processor connector already support the updater, how many merchant-initiated flows (subscriptions, card-on-file, recurring top-ups) must pass through it, and how long your test plan takes to cover Visa and Mastercard outcomes: refreshed card details, unchanged cards and closed accounts marked inactive. Teams with a single billing integration and a clear subscription map usually move faster than teams that must reconcile several billing systems first. Ask for a schedule that lists each gate, the test cases it depends on and who signs off each one.

What must our team provide before the work starts?

Three inputs matter most. First, a subscription mapping that links each stored payment method in Hyperswitch to the customer, plan and billing system record it serves, so you can confirm that updates land on the right subscription. Second, a test plan that covers each Account Updater outcome for both Visa and Mastercard, including test cards for refreshed numbers and expiry dates, unchanged cards and closed accounts. Third, a compliance review with your security and payments teams, because the updater handles card data and your PCI DSS scope depends on your vault model. Also provide access to a non-production environment and the owners who can approve changes to production.

Can an internal team enable the account updater without a partner?

Yes, a capable internal platform team can do it if it has Hyperswitch administration experience, access to the connector and Account Updater configuration, and time to run the test plan. The work is configuration and verification more than new code, so the gap is usually knowledge of how the updater interacts with your vault, retries and billing records. A partner is most useful when the team lacks that experience, must move quickly around a billing cutover, or needs an independent review for compliance evidence. DeployOpen plans, implements, tests and documents self-hosted platforms in your own infrastructure, and can scope either the full build or only the verification work, with the division of responsibilities agreed in writing before work starts.

How does the account updater fit with our existing billing system?

Hyperswitch keeps the saved payment method and checks the Visa or Mastercard account before an eligible merchant-initiated payment. When an update is found, the card number or expiry is refreshed under the same payment method ID, so a billing system that stores that ID does not need a new token. When the account is closed, the saved payment method is marked inactive, and the billing system should stop charging it and prompt the customer for a new method. Your billing system keeps the subscription ledger and plan logic, while Hyperswitch handles the card update, authorization and retry path. Confirm in testing how your billing system reacts to an inactive method, because that reaction is set by your integration, not by the updater.

Which processor and vault setup do we need for the account updater?

Start by confirming that your processor connector and Account Updater service support Visa and Mastercard for your merchant accounts, since the Hyperswitch account updater documentation describes those two networks. Then confirm which vault model you run. In the self-hosted, in-house PCI model, the merchant is fully responsible for PCI DSS certification and data handling, so the updater adds to a scope you already carry. In the external vault and SaaS vault models, the scope and responsibilities differ. Ask your processor and Hyperswitch contacts to confirm each connector detail, and document the answer before you choose a vault model.

What should we test before turning the account updater on in production?

Test each outcome in a non-production environment before any production traffic uses the updater. Cover a refreshed card number and expiry that keeps the same payment method ID, a card with no actionable update that stays unchanged, and a closed account that is marked inactive. For each outcome, check that the billing system, retry logic and customer notifications behave correctly. Also test failures from the Account Updater service, since a slow or unavailable check should not block a payment you intend to make. Record the results as evidence for your change review and your compliance team, and keep the test cases so you can rerun them after each Hyperswitch upgrade.

Does the account updater replace a retry or dunning process?

No. The account updater checks stored card details before a merchant-initiated payment, so it reduces failures caused by expired or reissued cards. It does not decide whether a failed payment should be retried, how often, or what customers hear about it. Those decisions belong to your retry configuration and, if you use it, the revenue recovery module. Plan both together so that an updated card is not retried against a stale plan, and so that a closed account triggers the right customer message rather than repeated attempts.

How DeployOpen scopes and delivers account updater work

DeployOpen plans, builds, tests and hands over the Hyperswitch account updater setup inside your own infrastructure, so the saved-card refresh logic runs where your compliance and security teams can review it. Work starts from a written scope that names the card flows, connectors and environments in question.

How we scope

  • Inventory which saved cards and merchant-initiated payment flows, such as subscriptions, should pass through the Account Updater check.
  • Confirm which connectors and card networks are in use, and which Visa and Mastercard updates your processors pass back.
  • Agree in writing how the account updater behavior will be tested, documented and signed off before any build starts.

How we build

  • Configure the Account Updater integration in your self-hosted Hyperswitch environment and connect it to the payment flows agreed in scope.
  • Test each outcome: refreshed card number and expiry under the same payment method ID, inactive status for closed accounts, and unchanged cards when no update exists.
  • Confirm that card data handling stays within the vault model your team selected, and record where the card data sits.

How we hand over

  • Deliver configuration records, test results and a runbook that explains how merchant-initiated payments use the updated card details.
  • Document the operating decisions your team must own, including monitoring of updates and how closed accounts are handled in your business.
  • Walk your engineers and compliance staff through the evidence so they can review and maintain the setup after handover.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, so account updater behavior is rechecked as Hyperswitch releases change.
  • Review each Hyperswitch upgrade against the account updater configuration before it reaches production, following the compatibility notes in the release.
  • Ask any provider about response times, support hours and coverage in writing before you sign, since these depend on the retainer agreed.

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.