Hyperswitch 3DS step-up retries

Hyperswitch 3DS step-up retries re-attempt a soft-declined non-3DS payment with 3DS authentication. This page covers when that recovers revenue, which decline codes justify it, and what the added friction costs.

On this page

Hyperswitch 3DS step-up retries: when a soft decline should trigger authentication

A self-hosted Hyperswitch stack will decline some payments that an issuer could approve if the cardholder completes authentication. A step-up retry resubmits a declined payment with 3DS authentication added, so the issuer can apply strong customer authentication before it decides. In Hyperswitch, this sits in the post-decline part of the payment flow. Routing chooses the processor for the first attempt, while retry logic decides what happens after a decline. Keep those two decisions separate in your design, so a retry rule does not quietly change which processor carries the traffic. Confirm in the Hyperswitch docs how the step-up behavior is configured in the release you run, including where it is set and which payment methods it covers, because the exact settings are not described in this section.

Every step-up adds friction. The customer may face a challenge screen or redirect, and some will abandon the payment at that point. The question is therefore which decline codes justify that cost. Soft declines whose processor response points to a missing or failed verification are the usual candidates, while declines that signal a fixed condition, such as a stolen, closed or invalid account, should stop without a retry. Build the list from the codes your own processors return, not from a generic table. For example, an illustrative mapping might step up only one code family for a single acquirer and block retries on the rest. Review that mapping against your Hyperswitch decline code mapping process each time you add a processor or upgrade the stack.

The decision needs a named owner. In most organizations this is the payments lead, with fraud and risk teams confirming the rules and compliance reviewing how step-up interacts with any SCA exemptions already applied. Product or checkout owners should review the customer experience, since friction is the cost they carry. Measure each rule separately: approval rate after step-up, abandonment at the challenge, and the volume of retries per decline code. Where traffic allows, hold back a share of eligible declines as a control group so the gain is measured rather than assumed. Document the rule set, its owner and the review trigger before go-live, so the list stays current as processors and issuers change.

How a soft decline becomes a 3DS step-up retry

The flow starts when the Hyperswitch Router sends a non-3DS authorization to the processor. If the processor returns a soft decline, the decline code mapping classifies the code, and the step-up decision rules decide whether to retry with 3DS. The 3DS authentication step then either shows the customer a challenge, which the issuer completes, or runs a frictionless check with the issuer. Check two hand-offs closely: which codes your rules treat as step-up eligible, and whether the authentication result is passed into the retry authorization.

Request flow from a soft decline to the final authorization or stop, with trust boundaries marked.

Which retry path fits which decline type

This table compares the four options a team has when a payment gets a soft decline: retry as non-3DS, retry with 3DS step-up, route to another processor, or stop. Read each row for the situation where the option fits, the friction it adds for the customer, and the Hyperswitch settings you should confirm before relying on it.

Retry pathWhen it fitsCustomer frictionConfirm in Hyperswitch configuration
Retry as non-3DSSoft declines where the issuer has not asked for authentication and the decline reason suggests a transient processor or network issueLow. The customer sees no extra screen, but a repeated attempt can still fail againWhich decline codes trigger a retry, how many attempts are allowed, and how the retry is labeled in reporting
Retry with 3DS step-upSoft declines where the issuer is likely to accept the payment once the cardholder completes authentication, such as codes that signal authentication is requiredMedium to high. The cardholder must complete a challenge, which can be abandoned at checkoutWhich decline codes map to a 3DS retry, whether the 3DS flow runs on the processor or an external 3DS server, and how the authentication result is passed to the retry
Route to another processorSoft declines tied to one processor or acquirer, such as a processor outage or a processor-specific decline, where a second connector is configuredLow, since the customer usually does not see the switch, but the second processor may have different fees and dispute rulesFallback order for the connector, whether the second processor accepts the same card type, and whether the retry is allowed to use a different connector
Stop and inform the customerHard declines such as a closed account or a reported card, and soft declines where a retry would add risk without a likely approvalDepends on the message. A clear, specific message avoids repeated attemptsWhich codes are treated as final, what message the checkout shows, and whether the payment is marked failed without further attempts
Review the mapping before adding a processorAny time a new processor is connected, because its error codes may not match the existing mappingNone directly, but a wrong mapping sends customers into the wrong pathHow each processor's codes are classified, and whether the 3DS step-up rule is tested on that processor's sandbox before go-live

Which decline codes should trigger a step-up

The principle is simple: step up only where the decline reason suggests the issuer wants stronger authentication, and stop where the reason is final. A soft decline that asks for a cardholder check, such as one signaling that authentication is required or that the transaction needs verification, is a good candidate for a 3DS retry. A hard decline that says the account is closed, the card is reported lost or stolen, or the issuer has blocked the card should never be retried through 3DS or any other path, because a challenge cannot fix it and repeated attempts can damage your authorization history. Treat that boundary as a policy decision that your fraud and risk owners sign off on, not as a default inherited from the platform.

Build the list from your own data, not from a published table. Start with the raw error codes returned by each processor you connect, then review how Hyperswitch maps them in the decline code mapping for retries, which determines whether a payment is retried, cascaded or stopped. Confirm with each processor's documentation which of its codes mean authentication is needed, and ask the processor how it classifies codes it does not document clearly. Keep the list per processor and per payment method, because the same label can mean different things across acquirers. Record the owner of each entry, the date it was reviewed and the processor version it was tested against, so a change in processor behavior shows up as a review item instead of a silent drop in recovery.

Review the list on a schedule and after every processor change, using a sample of declined transactions from your own traffic. For each code on the step-up list, check the recovery rate after the 3DS retry and the rate of later chargebacks or fraud reports on approved retries, since a code that recovers many payments but produces disputes may belong on the stop list. Test the mapping in a non-production environment before enabling it, and confirm that the step-up cannot be triggered repeatedly on the same payment. Document the final list and the rationale for each entry, so your compliance and fraud reviewers can see why a given decline was retried and why another was not.

The friction trade-off of adding 3DS to a retry

Adding 3DS to a retry recovers some soft declines but adds a customer step, a liability question and a new interaction with exemptions. Each card below is a question your team should answer with its own approval, abandonment and fraud data before enabling step-up at scale.

How much abandonment can the checkout absorb?

A step-up sends a retried payment through a challenge the customer must complete, and some customers will not finish it. Before enabling the retry, measure how many soft declines you currently recover without any challenge, then compare that against the share of step-up challenges that end in abandonment on your own checkout. Run the comparison by market and by basket value, since the trade-off rarely looks the same across segments. Use a controlled split inside Hyperswitch so the baseline comes from your traffic, not from a vendor average.

Routing docs

Who carries liability after a challenge?

A completed 3DS challenge can shift liability for certain fraud chargebacks to the issuer, but the rules depend on the scheme, the authentication result and the card. Ask your acquirer and fraud team which authentication outcomes they accept as liability shift for the retried payment, and confirm that the step-up flow records the authentication result on every attempt. Without that record, a dispute later may have no evidence to defend it. Treat this as a question for your payments and legal advisors, not a settled answer.

Which exemptions does a step-up override?

An SCA exemption, such as a low-value or trusted-beneficiary exemption, may let a payment proceed without a challenge. A retry that steps up to 3DS can remove that exemption path and add friction to payments that would have passed. Map which retried payments currently rely on exemptions, and decide whether the retry should request a challenge only when the exemption was declined. Confirm how your configuration orders exemption requests and step-up rules before you change either.

Routing docs

Does the challenge work on mobile and in-app?

Challenges on mobile browsers and inside native apps can behave differently from desktop, with app-switching, failed redirects and lost session state. A retry that starts on a background request may open a challenge the customer cannot see or complete. Test the step-up on iOS, Android and in-app webviews with your own SDK version, and record where the flow breaks. Ask your team which screens the challenge appears on, because a failure there looks like a decline to the customer.

What does a challenge do to customer trust?

A customer who was charged once without a challenge and then receives a password-style prompt for a retry may read it as a second, unexpected payment. The wording, the merchant name on the challenge and the timing of the prompt all affect whether the customer completes it or contacts support. Review the copy and the order of messages with your support team, and count support contacts that mention a retry or a prompt after launch. Trust effects appear in complaints and repeat declines before they appear in approval rates.

How do step-ups affect repeat and subscription payments?

Merchant-initiated renewals usually carry no customer present, so a 3DS challenge on a renewal may stop the payment entirely. A retry that adds a step-up to a subscription charge can turn a recoverable soft decline into a lapsed subscription. Decide which recurring flows may step up at all, and which should retry through network transaction data or stop and notify the customer. Confirm that the decline codes you allow to trigger a step-up do not include merchant-initiated transaction codes.

How to set up step-up retries in a self-hosted stack

This sequence takes step-up retries from an idea to a live rule set in your own deployment. Each step ends with a check you can run, so you know the 3DS path works before any share of real traffic reaches it.

  1. Confirm 3DS support for each connector

    Start by listing every processor connector in your self-hosted stack and recording which ones accept 3DS authentication through the processor and which need an external 3DS provider. Your payments or risk team should confirm this against each processor's own documentation, since the Hyperswitch docs describe the options but your contracts determine what is enabled. The check: run one authenticated test payment per connector in your staging environment and confirm that it returns a challenge, a frictionless result or a clear unsupported error. Any connector that cannot complete 3DS should be excluded from step-up rules.

  2. Map decline codes to step-up triggers

    Review how Hyperswitch classifies each processor's error codes, since this decides whether a payment is retried, cascaded or stopped. Mark the codes that signal a soft decline, such as those where the issuer is asking for stronger authentication, and separate them from hard declines like stolen or closed accounts, which should never trigger a step-up. Ask your processor for the meaning of codes that are unclear to you. The check: produce a written table with one row per code, its classification and the owner who approved it, and confirm that no hard decline code appears in the step-up column.

  3. Define step-up rules in the dashboard or API

    Create the step-up rules in the Control Center or through the API, using the decline classes from the previous step as conditions and the 3DS path as the retry action. Keep the first rule set narrow, covering only the soft-decline codes and the connectors confirmed in step one, so the effect is easy to attribute. Record who created each rule and why. The check: list the active rules in the dashboard or by API, then send a test payment that triggers each rule and confirm in the payment record that the retry was attempted with 3DS and that the original decline was logged.

  4. Configure the 3DS flow in the client SDK

    Update your web or mobile client to handle the authentication step that a retry can require. The SDK must display the issuer challenge or redirect, return the customer to your site or app, and report the outcome to your backend so the payment status is current. Confirm the SDK version against the compatibility matrix for your self-hosted release, because mismatched client and router versions cause avoidable failures. The check: complete a challenged test payment on each platform you support and confirm that the customer lands on the correct success or failure page and that the backend status matches the dashboard.

  5. Test the sandbox with test cards

    Run a structured test matrix using the test cards that Hyperswitch documents for the sandbox, covering frictionless approval, challenge success, failed authentication, a soft decline that should trigger a step-up, and a hard decline that should not. Repeat the matrix on your own deployment if the sandbox differs from your environment. Ask the vendor or your processor which test cards apply to each connector. The check: a signed-off results sheet in which every case produces the expected outcome, the step-up count matches the rule design, and no hard decline was retried with 3DS.

  6. Roll out to a small share of traffic

    Enable the step-up rules for a small, controlled share of live traffic, and keep a control group on the existing flow so you can compare results. Confirm with your platform team whether the rules can be scoped to a percentage of traffic directly or whether you need a routing split or an A/B setup to achieve it. Watch approval rate, abandonment at the authentication step, chargeback signals and support contacts for both groups, and set the criteria for expanding or rolling back before the rollout begins. The check: a dated report comparing the test and control groups against those criteria, with a documented decision to expand, hold or roll back.

Security and data handling for step-up retries

A step-up retry sends a payment back through 3DS authentication, so it touches card data, customer authentication results and the rules that decide when that happens. The cards below cover the controls to design before go-live, starting with the vault model because it sets who carries PCI DSS responsibility.

Confirm the vault model first

Whether a step-up retry keeps card data out of your scope depends on the vault model you chose. 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. With an external PCI vault provider or the SaaS Hyperswitch Vault, the scope picture differs. Confirm with your QSA which model applies before you enable 3DS retries on card data flows.

In-house PCI model docs

Keep card data in the vault

Retries should reference stored tokens, not raw card numbers, so that the step-up path never copies PAN into Router logs, Scheduler queue payloads or Redis cache entries. Hyperswitch stores card data in its separate card vault service. Review what each component writes, including error payloads from processors, and test that a forced step-up retry leaves no PAN in application logs or the database.

Log every retry decision

Each step-up decision should record the payment ID, the decline code that triggered it, the rule or default behavior applied, the 3DS outcome and the final status. These records answer disputes, customer complaints and audit questions about why a payment was re-authenticated. Confirm with your team which fields Hyperswitch exposes in its logs and which you must add through your own observability stack, and set a retention period that matches your policy.

Restrict who edits retry rules

A change to a step-up rule can add friction to thousands of payments or stop authentication for a decline class that should trigger it. Limit edit rights in the Control Center to named roles, require a second reviewer for changes, and keep a change history. Note that roles are managed inside Hyperswitch rather than mapped from your identity provider, so you must maintain those assignments by hand and review them on your access review cycle.

Handle 3DS results and webhooks

Authentication results and asynchronous webhooks can arrive out of order or be delivered more than once. Your retry logic should treat each 3DS outcome as idempotent, verify webhook signatures, and avoid starting a second step-up for a payment already authenticated. Test timeouts, abandoned challenges and duplicate webhook deliveries in a staging environment before go-live, and confirm the exact webhook behavior with your processor and the Hyperswitch version you run.

Watch for card testing through retries

Retries can be abused. An attacker who submits many small or invalid card numbers can use step-up flows to probe which cards are live, and each challenge costs you processor fees and customer friction. Set velocity thresholds per card, per IP and per merchant, alert on spikes in step-up volume or in 3DS failures, and review the fraud controls in your stack before raising the step-up rate. Define who responds to an alert and how fast.

Measuring recovery and friction by issuer, region and decline code

Start by tying every step-up retry to the decline code that triggered it. Hyperswitch records the original processor response, so you can group attempts by code and by whether the retry succeeded, failed again or was stopped. Measure recovered revenue per code as the value of payments that were declined without authentication, then approved after a 3DS step-up, compared with the same codes over the same period. Count only recoveries that settled, because an approval that is later voided or disputed does not represent real income. Keep a separate line for codes where the step-up was attempted but the customer did not complete it.

  • Attempts per code: count how many payments hit each code and how many were retried with 3DS.
  • Recovery rate per code: divide approved step-up retries by attempted step-up retries for each code.
  • Settled value: report recovered value after capture and settlement, not only at authorization.
  • Unrecovered soft declines: track codes that stayed declined so you can review whether a step-up was the wrong action.
  • Cost of attempts: include processor and 3DS provider fees for failed attempts, since they are part of the trade-off.

Confirm with your processor and 3DS provider how their response codes map to the codes you see in Hyperswitch before you trust any grouping.

What to confirm before enabling step-up retries

Step-up retries depend on four things lining up: the processors and 3DS versions you use, the features in your exact Hyperswitch release, the 3DS flow in your SDK, and the regional rules that govern when a challenge is allowed. Confirm each one in your own environment before you write any retry rule.

Connector and 3DS version support

Confirm that each processor you route to accepts 3DS authentication for the card types and currencies you process, and which 3DS protocol versions it supports. A processor that only handles one version may reject or downgrade a retried attempt in ways your rules will not expect. Ask each acquirer for its 3DS version matrix and test a challenge flow on a sandbox account for every connector in the retry path.

Hyperswitch docs

Feature presence in your release

Check that the step-up retry behavior you plan to use exists in the Hyperswitch version you run, not only in the current main branch. Compare your planned release against the releases page and its compatibility notes for Control Center and web client versions. A feature that appears in a later minor release will not work on an older stack, and an upgrade can change how existing rules behave.

Hyperswitch releases

3DS flow in your SDK version

Confirm how your checkout SDK hands off to 3DS when a retry triggers a challenge. Test whether the customer sees the challenge inline or in a redirect, whether the return URL resolves correctly on mobile, and whether the payment status is reported back to your frontend after the challenge completes. Gaps here often show up as abandoned payments that the retry logic counts as failures.

Regional mandates on step-up use

Identify which markets require strong customer authentication and which exemptions your acquirer applies, because these rules limit when a step-up is required, permitted or prohibited. A retry that forces a challenge where an exemption already applied adds friction without a clear benefit. Have your payments or legal team map each market's requirement to the retry conditions you intend to configure.

Issuer and processor data for measurement

Confirm your processor returns the decline codes, authentication outcomes and network fields you need to measure step-up recovery. Without a per-attempt record of whether the first attempt was a soft decline, whether a challenge ran and whether the retry succeeded, you cannot separate recovered revenue from payments that would have succeeded anyway. Ask your processors which fields arrive in webhooks and reports, and confirm how long they are retained.

Questions buyers ask before enabling 3DS step-up retries

What does enabling 3DS step-up retries cost, and what drives it?

Hyperswitch is open source under Apache 2.0, so the software license itself carries no fee. The cost comes from the people and infrastructure around it: engineering time to map decline codes and wire the retry logic, test accounts and sandbox work with each processor, and ongoing review as processors change their codes. Your processor and 3DS provider contracts may add per-authentication charges, and those are the figures to pull from your own agreements. A fixed-scope partner engagement is priced from a written scope, so ask for the processors, decline codes and environments included, and whether retesting after a Hyperswitch upgrade is covered. DeployOpen does not publish prices.

How long does a 3DS step-up retry setup take?

The duration depends on how many processors and decline codes are in scope, how clean your decline logs are, and whether 3DS is already configured on each acquirer account. Teams that build it in-house usually spend most of the time on classification, deciding which codes should trigger a step-up and which should stop, then testing each path in a sandbox. No supplied figure sets a timeline, so ask any partner, including DeployOpen, for a duration tied to a written scope and a named list of processors and test cases.

What must our team provide before work starts?

Plan to provide at least three inputs. First, decline logs covering a representative period, with processor error codes, payment method, region and whether the customer completed authentication. Second, the processor and 3DS provider contracts, so the team knows which authentication options, exemptions and fees apply. Third, sandbox or test accounts for each processor, plus access to your Hyperswitch configuration and staging environment. Also name the people who approve changes to checkout behavior, since step-up changes the customer experience and needs sign-off from product and fraud teams.

Can our own engineers build 3DS step-up retries without a partner?

Yes, if your team already runs Hyperswitch or a similar payments stack and has engineers comfortable with its routing and retry configuration. The Hyperswitch docs describe the fraud and 3DS modules and the intelligent routing workflows, so the build is configuration and integration work rather than a new payment engine. The harder parts are the judgment calls: which decline codes justify a step-up, how to measure friction, and how to test without live cards. A partner is most useful when those calls need an outside review or when the team lacks capacity for the testing cycle.

Which decline codes should trigger a 3DS step-up?

Step-up usually suits soft declines where the issuer is asking for stronger authentication rather than rejecting the card outright, such as codes indicating that authentication is required or that the transaction needs verification. Hard declines, such as a closed account or a card reported stolen, should not be retried with step-up. Map each processor's codes separately, because the same meaning can appear under different values. Use the decline code mapping for retries to classify them, and confirm each code's meaning with the processor's documentation before adding it to a rule.

How do we tell whether step-up is hurting conversion?

Compare the approval rate and the completion rate of retried payments against a control group that does not get step-up, and track abandonment at the authentication screen separately from issuer declines. Watch fraud and dispute rates too, because a higher approval rate can hide a rise in chargebacks. Measure by issuer, region and card type, since friction varies widely. Set this up before enabling step-up, not after, so you have a baseline. A split test on a live share of traffic gives the clearest answer, and the A/B testing guidance in Hyperswitch's routing docs covers the reading method.

Do step-up retries change our PCI DSS or compliance scope?

Step-up retries themselves do not store card data, but the way cards are tokenized and passed to processors and 3DS providers determines your scope. If you run the native Hyperswitch Vault in-house, the Hyperswitch docs state that you are fully responsible for PCI DSS certification and data handling. Confirm your scope with your assessor before go-live. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or certifications, so an independent assessor makes that determination.

How DeployOpen scopes and delivers 3DS step-up retries

DeployOpen plans, implements and documents Hyperswitch 3DS step-up retries inside infrastructure you control, starting from a written scope that names your processors, decline codes and approval-rate targets. The work is delivered as a fixed-scope engagement with tested retry rules, operator documentation and an optional support retainer.

How we scope

  • We map which processor decline codes your team sees today and agree which ones trigger a 3DS step-up retry.
  • We confirm the 3DS provider and whether authentication runs through the processor or a standalone 3DS server.
  • The written scope lists the processors, retry rules, test cases and documents included, with timelines agreed before work starts.

How we build

  • We configure the step-up retry rules in your self-hosted Hyperswitch deployment and record each rule against its decline code.
  • We test each step-up path in a non-production environment, including frictionless and challenge outcomes and failed authentications.
  • We review the friction trade-off with your fraud and product owners before any rule reaches live traffic.

How we hand over

  • You receive the rule set, decline code mapping, test results and configuration notes in documents your team can maintain.
  • Your operators receive a runbook for reviewing retry outcomes, changing decline code rules and rolling back a rule.
  • We walk your compliance and payments teams through the controls so they can review the setup as evidence.

How we support

  • Ongoing support, upgrades and retesting after new processor or Hyperswitch releases are available as a retainer.
  • When a new processor is added, we review its decline codes against the existing step-up rules before they go live.
  • Retainer scope, response expectations and review cadence are agreed in writing, and you should confirm them in your quote.

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.