Hyperswitch zero-dollar authorization for card verification

A $0 authorization lets a self-hosted Hyperswitch stack validate a customer's card and save it for later charges. This page covers what the docs describe, when to use it, and what to confirm before you build.

On this page

When a zero-dollar authorization is the right way to verify a card in Hyperswitch

The Hyperswitch docs describe a $0 authorization as a way to validate customer payment data and charge the customer later. That fits a situation where you need to confirm that a card is usable and store it for a future charge, without taking money from the customer today. The usual cases are subscription sign-up where the first invoice is free or starts after a trial, card-on-file flows where the amount is not known until the service is used, and deferred billing where the charge is scheduled for a later date. In each case the question is not how much to charge now but whether the payment method will succeed when you need it.

A zero-dollar authorization is less useful when the customer is paying immediately. If the order is final and the amount is known, a normal authorization or a manual capture flow answers the same question and also reserves the funds. It is also the wrong tool if you need the saved card to carry a specific amount limit, since a $0 check does not hold funds. Before you rely on it, confirm with your processors which networks and connectors accept a $0 authorization for stored credentials, how each one responds to a declined $0 request, and whether the resulting payment method ID can be reused for merchant-initiated charges under your chosen connector.

Decide early which flow owns the saved card. If a subscription system or a billing tool keeps the customer ledger, confirm which system asks for the $0 check, which one stores the returned payment method ID, and how a failed later charge is retried and reported. Also check how your team will handle cards that fail the $0 check, such as prompting the customer for a new card or applying a 3DS challenge at sign-up. Ask whichever team operates your Hyperswitch deployment to test both the success and the decline paths in your sandbox before go-live, and to document which processors were verified for each path.

How a zero-dollar authorization moves from checkout to a later charge

The path starts at customer checkout, where card details reach Hyperswitch through the SDK or API. The Router sends a $0 authorization to the processor connector, which returns a result. The merchant then decides whether to proceed. Only on approval is the card stored in the card vault, the trust boundary that holds card data and returns a payment method ID. A later merchant-initiated charge reuses that saved method. Check that your decision rules and vault model match your PCI DSS scope before go-live.

Zero-dollar authorization path from checkout to the saved-card charge, with the vault as trust boundary.

What the Hyperswitch docs say a $0 authorization does

The Hyperswitch docs describe a $0 authorization as a way to validate customer payment data and charge the customer later. The point is verification without a capture: the attempt checks that the card or payment details are usable, and any money movement happens in a separate, later payment. For a team building card-on-file or recurring flows, that is the purpose to design around. It is not a substitute for a charge, and the docs' description does not promise that a zero-amount request will be accepted in every case.

The exact behavior has to be confirmed in the current docs and against each processor before you build on it. Check which connectors accept a zero-amount request, how the payment method identifier is returned for later use, and what status the attempt shows when the processor approves or declines the verification. These details can differ by connector and by card network, so a flow that works with one processor may need a different path with another. Record the answers per connector in your integration design rather than assuming one behavior across the whole connector list.

Your saved-card design should also state what happens when verification fails or the stored method is later declined. Decide who handles the customer prompt, which Hyperswitch statuses trigger it, and whether the saved method is removed or kept for retry. Confirm these choices in a test environment with each processor you plan to use, and keep the results as evidence for your payment and security reviewers.

Zero-dollar authorization options and when each fits

This table compares the main choices a team makes when storing a card for later use: when to save the method, whether to verify with a $0 step, how the saved method is charged, and where the vault sits. Read each row as a decision with its fit condition and the questions to put to your processor and vault provider before committing.

DecisionOptionWhen it fitsConfirm before committing
Save timingSave the method during the first paid paymentCustomers pay immediately and the first charge is the natural consent pointWhether your processor accepts a saved method flag on a sale and how it returns the stored credential reference
Save timingSeparate $0 verification step before any chargeYou need to confirm a card is valid and in good standing before the first charge or before granting accessWhether the processor and issuer accept a zero-amount authorization for your card types and regions, and how declines are reported
Charge patternOff-session reuse of the saved methodSubscriptions, usage billing or merchant-initiated charges where the customer is not presentConsent wording, the network rules for stored credentials and whether the processor requires a prior customer-authenticated transaction
Charge patternOn-session reuse with customer presentCheckout flows where the customer re-enters or confirms the card and may need authenticationWhich authentication requirements apply to a repeat on-session charge in your jurisdictions
Vault locationNative Hyperswitch Vault in your environmentYou accept responsibility for PCI DSS certification and card data handling inside your own scopeYour PCI DSS scope assessment, key custody design and whether your assessor accepts the controls
Vault locationExternal PCI vault provider with self-hosted orchestrationYou want card data held by a dedicated PCI vault and Hyperswitch to handle orchestrationThe vault provider's attestation scope, data flow diagrams and whether $0 verification is supported through its tokenization path
Vault locationSaaS Hyperswitch Vault with self-hosted orchestrationYou want to keep orchestration in your infrastructure without running card storage yourselfWhere card data is stored, the contract terms for the hosted vault and how zero-amount verification is priced and logged

Where zero-dollar verification fits recurring and card-on-file flows

A zero-dollar authorization asks the card network and issuer to confirm that a card is open and eligible without moving money. The same saved payment method then serves several flows, each with different consent, timing and failure rules. The cards below cover where that pattern fits and what your team must design around it.

Subscription trials

A customer enters card details to start a free trial, and the saved method is charged when the trial converts to paid. Design the consent wording so the customer sees the first charge date, the amount and how to cancel before the trial ends. Decide how a failed first charge affects access, and whether retries run through your billing system or through Hyperswitch.

Zero-amount authorization docs

Marketplace seller onboarding

A platform checks that a seller's payout or payment card is valid before the seller can list items or receive funds. The saved method is a verification step, not a sale, so the check should not appear as a charge on the seller's statement. Decide what happens when verification fails, including whether the seller can retry, how many attempts are allowed and who reviews repeated failures.

Deferred charges after delivery

A merchant stores a card at checkout, delivers a service or goods, and charges the final amount later once usage or quantities are known. Your team must confirm that the saved method and the processor support the delay, and that the customer agreed to a later charge. Plan the reconciliation so the verified card, the final charge and any order change line up in your records.

Saved cards for later purchases

A customer saves a card for future one-off purchases, such as a repeat order or a top-up, and the merchant charges it on request. Design the card-on-file consent, the stored credential type and the step-up path if the issuer requires customer authentication for a later charge. Confirm how the vault token is referenced across checkout surfaces.

Account updates for stored cards

Stored cards expire or are reissued, so a later charge can fail even though the verification succeeded earlier. Hyperswitch documents an account updater for saved Visa and Mastercard cards, which you should confirm for your connectors and regions. Decide how you notify customers when a card cannot be updated and which account state you set for the customer until they add a new method.

Setup sequence for saving a card with a zero-dollar authorization

This sequence takes a team from a confirmed connector and vault choice to a saved payment method that a later merchant-initiated charge can use, with a check at each stage. It is written for the engineers and payments owners who will run it on a self-hosted Hyperswitch stack.

  1. Confirm connector support for zero-amount authorization

    Before any build work, the payments owner checks with each planned processor whether it accepts a $0 authorization for card verification and whether the saved card can be charged later without a new customer step. Ask the connector for the written answer, including any limits on card brands, regions and stored-credential flags. The step is done when each connector on the plan has a recorded yes or no, with the conditions attached. If a connector is not confirmed, route those cards to a different flow before continuing.

  2. Decide the vault model for saved cards

    The security and compliance lead chooses where card data will be stored: the native Hyperswitch Vault run in your own environment, an external PCI vault provider, or the SaaS Hyperswitch Vault with self-hosted orchestration. The Hyperswitch docs state that with the in-house PCI model, the merchant is fully responsible for PCI DSS certification and data handling, so that cost and scope should be signed off here. The step is done when the chosen model is written down with its PCI scope owner and the reasons for it.

  3. Configure the connector and business profile

    The platform engineer adds the chosen processor connectors in the Control Center or through the API, then sets the business profile so that setup-mode payments with a zero amount are allowed for the intended connectors. Record the configuration keys and profile settings in version control where your team can review them. The check is a test payment request with a zero amount that returns a successful verification response on the sandbox connector, with the resulting payment method ID captured in the logs.

  4. Implement the client flow that stores the payment method

    Front-end and back-end engineers build the checkout step that collects card details through the Hyperswitch SDK or API, sends a zero-amount authorization with the flag that stores the payment method for future use, and saves the returned payment method ID against the customer record. Confirm that the customer ID and payment method ID are linked in your own database, and that no raw card data passes through your application servers. The check is a customer record that holds a payment method ID and no card number, expiry or full PAN in any log or database field.

  5. Test with sandbox and self-hosted test cards

    The QA lead runs the published test card numbers for each connector on the hosted sandbox first, then repeats the same cases on the self-hosted test stack. Cover a successful verification, a declined card, an expired card, a card requiring 3DS authentication, and a duplicate submission. Record the outcome code for each case so the team can compare results across environments. The step is done when every case matches the expected result in both environments and any mismatch has an owner and a fix.

  6. Verify a later merchant-initiated charge uses the saved method

    Once a customer has a saved payment method, the payments engineer triggers an off-session charge for a real amount in the test environment using only the stored payment method ID, with no customer present. Check that the charge completes, that it is labeled as merchant-initiated with the correct stored-credential indicator on the connector side, and that the payment record links back to the original zero-amount verification. The check is a completed test charge with a matching reference in both the Hyperswitch dashboard and the processor's own test console.

  7. Review failure handling and scope evidence

    The security and compliance lead confirms how the team will handle a stored card that fails later, including the messages shown to the customer, whether a customer step-up is needed, and how the failed attempt is logged. They also collect the evidence that supports the chosen vault model, such as configuration records, data flow diagrams and access logs, for review by the assessor or internal audit team. The step is done when a documented decision exists for each failure path and the evidence pack has a named owner. Confirm the specific evidence your assessor expects with them before the review begins.

How the approach changes for subscriptions, card-on-file and one-off checkouts

A subscription saves the card once at signup, then bills on a schedule without the customer present. The sequence is consent to the recurring charges and the plan terms, a $0 authorization to validate the card and store the payment method, then scheduled charges that the merchant initiates. Because the first charge may be days or weeks away, the verification step is the point where a bad card should surface, not the first renewal.

  • Consent wording: Capture consent for recurring charges, amount rules and cancellation in the signup flow, and keep the record with the stored payment method ID.
  • Trial and first invoice: Decide whether the $0 check runs at signup or whether the first paid invoice is the first real authorization.
  • Renewal retries: Map processor decline codes to the retry path your billing system uses, since a failed renewal is usually retried later rather than shown to the customer at checkout.
  • Card updates: Plan how expired or replaced cards are refreshed before the next billing date, using account updater services where the processor supports them.
  • Ownership of schedules: Confirm whether the billing system or Hyperswitch triggers the recurring charge, so retries are not duplicated across both.

Check with your processors which credential-on-file and merchant-initiated transaction flags they require for each renewal.

Trade-offs: what a zero-dollar check does and does not prove

A successful $0 authorization proves one narrow thing: the issuer and processor accepted the card for validation at that moment. It does not prove that the account holds funds, that the card is in good standing for a larger amount, or that a later charge will succeed. Issuers apply their own risk rules to zero-amount requests, and some decline or approve them differently from a charge of real value. Treat the result as a signal that reduces risk for the next step, not as a guarantee. Before you rely on it in a Hyperswitch flow, confirm with each processor and issuer type how zero-amount requests are handled and whether a declined response can be told apart from a technical error.

Expired and reissued cards are the main gap. A zero-dollar check against a stale card can return a decline that is really a reissue or expiry problem, and a valid-looking result does not tell you whether the stored details are current. Decide in advance whether a decline triggers a customer prompt, a retry at a later date, or a request to the card network update service. For Visa and Mastercard, check how your account updater setup, described in the sibling section on saved cards, interacts with zero-amount validation, and confirm what identifiers your saved payment method keeps after an update.

The customer sees the hold, and how it appears depends on the issuer and the connector. Some banks show a pending zero-dollar or small hold on the statement, some show nothing, and some drop the hold quickly. Your checkout copy should say that a temporary verification step may appear and that it is not a charge, and your support team needs the same explanation. Ask each processor and your sample issuers what their statement and hold behavior is, test it with cards you control, and record the results as part of your go-live evidence so the claims you make to customers match what their banks actually show.

Limits to confirm with your processors and vault model

A zero-dollar authorization only proves something if the connector, the vault and the Hyperswitch version all behave the way your flow assumes. The items below are the ones to verify in writing before you commit to a card-on-file design, because the supplied sources do not settle them for every connector or deployment.

Connector support for zero-amount authorization

Not every processor accepts a zero-amount authorization through Hyperswitch, and the behavior can differ by card network and region. Ask each connector whether it returns a usable payment method reference for a $0 request, and whether a declined verification is reported distinctly from a technical failure. Test each connector you plan to use with your own merchant credentials rather than relying on a general statement.

Zero-amount authorization docs

Merchant-initiated charges on the saved method

Saving a card after a $0 check does not guarantee that later off-session charges will be accepted. Confirm with each processor whether the stored credential can be used for merchant-initiated transactions, and which indicators, such as a stored credential flag or a network transaction ID, must accompany those charges. Ask how the processor treats a later charge that arrives long after the verification.

Currency and region restrictions

Zero-amount authorization support often varies by currency, card issuing country and merchant location. Check which currencies and card regions each connector accepts for a $0 request, and whether your acquiring entity must be in a particular country. For subscriptions that span several markets, record the supported combinations as a matrix so that unsupported cards fall back to a path you have designed.

Network token behavior when enabled

If network tokenization is enabled, a verification may return a network token instead of, or alongside, the original card reference. Confirm which identifier is stored, whether the token is refreshed by the network, and what happens when the token cannot be used for a later charge. Confirm the fallback to the vault-stored card before you rely on the saved method for recurring billing.

Behavior in the Hyperswitch version you run

Payment flow behavior changes between releases, and you should not assume the flow in the docs matches the build you deploy. Read the release notes for the version in use and the compatibility matrix for the Control Center and client SDKs, then test the $0 flow in a staging environment on that exact version before each upgrade. Record the version used for each test so a later regression can be traced.

Hyperswitch releases

Vault provider support for the stored method

The vault model you choose determines where the card reference is kept and who can retrieve it. Confirm that your vault, whether the native Hyperswitch Vault, an external PCI vault provider or the SaaS vault, can store the reference produced by a $0 verification and return it for later use. Ask the vault provider how it handles migration if you change processors later.

External vault models

Keeping card data and verification inside a defined PCI scope

The first decision for a zero-dollar authorization flow is which system holds the card number, because that choice sets your PCI DSS scope before any verification logic is written. Hyperswitch stores card data in its card vault (locker), a separate Rust service in the juspay/hyperswitch-card-vault repository that the architecture docs describe as built for PCI DSS requirements. A $0 authorization does not change that: the verification request still carries the full card data into the vault path, so the card vault and every service that touches the request sit inside your scope. 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. Confirm with your assessor which of your systems count as in scope before you choose a deployment model, since the self-hosted and in-house PCI model and the external vault models differ mainly in which systems hold card data.

Under an external PCI vault provider, such as VGS or Tokenex, the card number is captured and stored by the vault provider while Hyperswitch orchestrates the flow with tokens. That reduces the systems you must defend, but it moves responsibility for the vault's controls into a third-party attestation you must collect and review. The external vault model is documented separately, and you should check whether the verification path, including the $0 request and any retries, is also routed through that vault. Whichever model you pick, four controls remain yours: who can read or trigger verification requests (role design in the Control Center and your access tooling), logs of every verification attempt with enough detail to investigate abuse without storing card numbers, and the encryption keys and key custodians behind the vault. DeployOpen can prepare the system descriptions, access reviews and key-handling evidence for your assessor, but it does not issue PCI DSS certifications or attestations; a qualified assessor does.

Zero-dollar authorization questions before you hire help

How much effort does a zero-dollar authorization setup take in Hyperswitch?

Effort depends mainly on how many connectors you enable, which vault model you run, and how many payment flows need the saved method. A single processor with one vault model and one sign-up flow is a small job. Each added processor brings its own credentials, mapping and webhook checks, and each flow (card-on-file signup, subscription start, later merchant-initiated charge) needs its own test cases. The vault decision matters most: 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, which adds scope to the work. Ask any partner for a written estimate that lists connectors, vault model and flows separately, so you can see what each line costs.

How long does it take to validate a zero-dollar flow in a test environment?

No timeline was supplied for this work, so confirm it against your own environment and the processors you plan to use. Validation time is driven by sandbox access, the number of processors and card scenarios to test, and how many times your team must rerun flows after fixes. Hyperswitch offers a hosted sandbox for testing and a Docker-based local setup, so you can begin before production infrastructure exists. Ask for a plan that names the test cases, the sandbox each processor provides, and the exit criteria for moving to production.

What does our team need to provide before a zero-dollar authorization build starts?

Most of the input comes from your side. Plan to provide:

  • Sandbox or test credentials for each processor you want to connect, with access to its authorization and void behavior.
  • A description of the product flows that save a payment method, such as signup, plan change, or later charge.
  • A decision on the vault model: the native Hyperswitch Vault, an external PCI vault provider such as VGS or Tokenex, or the SaaS Hyperswitch Vault.
  • Named owners for processor accounts, security review and go-live approval.

Delays usually come from missing credentials or an undecided vault model, not from the Hyperswitch configuration itself.

Can an internal team set up zero-dollar authorization on its own?

Yes, a capable internal team can do this, provided it has engineers who know payments APIs, Kubernetes or Docker operations, and PCI DSS scoping. The Hyperswitch docs and repository are public and Apache 2.0 licensed, so nothing needs to be purchased to start. The risks are usually in the edges: processor-specific behavior, webhook handling, error mapping, and the controls your assessors will ask about. Decide early which parts your team owns long term. If you want outside help, the work can be scoped as a fixed-scope engagement with written deliverables, and DeployOpen can also provide ongoing support as a retainer.

Does a $0 authorization replace a separate card verification charge?

The Hyperswitch docs describe a $0 authorization as a way to validate customer payment data and charge the customer later, so it can take the place of a small test charge used only for verification. Whether it fully replaces your current check depends on the processor, the card network rules, and whether your fraud or 3DS rules expect a monetary authorization. Confirm with each processor which zero-amount flows it accepts, how it handles the authorization hold, and whether the saved method can be charged later without a fresh customer action. Your payment and compliance teams should sign off on the chosen approach before rollout.

How do monthly Hyperswitch upgrades affect the zero-dollar authorization flow?

Hyperswitch ships roughly monthly minor releases, and the GitHub releases page lists a compatibility matrix for Control Center and web client versions with each one. Each upgrade can change connector behavior or configuration, so you should retest the zero-amount flows after every upgrade rather than assume they still work. The v1.124.0 release notes made Superposition a required configuration dependency, which shows that a release can add a service you must run before upgrading. Plan a staging upgrade, a regression set for saved-card flows, and a rollback path. Ask any partner how upgrades will be tested and who approves them.

What should we confirm about processor support for zero-amount authorizations?

Confirm support per processor rather than assuming it across the platform. Ask each processor whether it accepts zero-amount authorizations for your card types and regions, what response codes it returns, how long the authorization stays valid, and whether it requires specific flags for recurring or card-on-file use. Then check how Hyperswitch maps those responses in your configuration. Record the answers in writing, because they set the test plan and the fallback behavior if a processor declines a zero-amount request.

How DeployOpen scopes and delivers a zero-dollar authorization build

DeployOpen plans, implements, tests and hands over self-hosted Hyperswitch in your own infrastructure, including the zero-dollar authorization flow used to validate and save a card. Engagements start with a written scope that names the connectors, the vault model and the acceptance checks before any build work begins.

How we scope

  • Confirm which processors and connectors will accept the zero-dollar authorization and what each one returns for a verification.
  • Record the vault model and where card data is stored, since that decides the PCI DSS scope for the build.
  • Agree in writing which recurring and card-on-file flows will use the saved payment method and which will not.

How we build

  • Configure the $0 authorization path in the self-hosted Hyperswitch stack, including the payment flow and the save-for-later behavior.
  • Test declined, approved and unsupported card responses across each agreed processor, and record the expected handling for every result.
  • Verify that saved payment method identifiers can be reused in later merchant-initiated charges without storing raw card data in your systems.

How we hand over

  • Deliver configuration, test cases, results and runbooks for the verification flow, mapped to the agreed scope.
  • Document the data flows, the vault model and the evidence your compliance and security teams need for review.
  • Walk your engineers through the setup and the operations steps so they can run the flow without DeployOpen on call.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, and can cover Hyperswitch release changes that affect the flow.
  • Retest the verification flow after each planned upgrade so that processor or Control Center changes do not go unnoticed.
  • Ask for a quote based on the written scope, which sets the one-time build work separately from any recurring retainer.

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.