3D Secure through your PSP in Hyperswitch

Letting each processor run 3D Secure is the simplest Hyperswitch setup. This page explains what that means when routing switches between processors and when a standalone 3DS server becomes the better choice.

On this page

How 3D Secure through your PSP works in Hyperswitch

A team running self-hosted Hyperswitch that needs 3D Secure for card payments usually wants the shortest path to working authentication. In the PSP model, each processor connected to Hyperswitch runs the 3DS flow for the payments it routes to that processor. Hyperswitch sends the payment to the chosen connector, the connector handles the authentication step with the card issuer, and the authorization result comes back through Hyperswitch. Your team does not run a separate 3DS server, and the work is mostly configuring each connector's credentials and deciding which payments request 3DS in the first place.

The main design consequence is that authentication belongs to the processor, so it follows routing. If a rule or fallback moves a payment from one processor to another, the 3DS behavior of the second processor applies, and the first processor's authentication result does not carry over automatically. Before you enable this model, list every connector that can receive card traffic, confirm with each processor how it handles 3DS for the card types and currencies you accept, and test a payment that falls back from one connector to another. Confirm these details against each processor's documentation and your own test accounts rather than assuming they match.

This model fits teams whose processors already support 3DS for their card traffic, whose routing is simple enough that payments land on predictable connectors, and who do not need to control authentication flows or share one authentication result across several acquirers. Move to a standalone 3DS server when you need one authentication policy across all processors, consistent exemption handling independent of routing, or the ability to change authentication providers without reconfiguring every connector. Those requirements are covered in the sibling sections on external 3DS and imported results.

How a payment moves through PSP-run 3DS

The payment starts at checkout and reaches the Hyperswitch Router, which applies routing rules to pick a processor. The selected processor runs 3D Secure authentication, so the customer may see a challenge from the issuer's flow before the processor sends the authorization request back through the Router. Check that your team, not Juspay, owns the Router and the trust boundary at each processor hand-off, since the authentication data and card details pass through that boundary.

Hyperswitch routes the payment to a processor that runs 3DS, then returns the authorization.

What changes when routing moves a payment between processors

The authentication outcome belongs to the processor that ran it. When a payment starts on one processor with 3DS completed there, and the router then retries or moves it to another processor, the second processor did not run that authentication and cannot treat it as its own. Whether the new processor accepts the existing result, requires a fresh challenge, or authorizes without 3DS depends on that processor and on how the request is built. Hyperswitch's routing layer decides which processor is chosen, but it does not make a processor's 3DS result portable to another processor. Plan for this before you turn on multi-processor routing for card payments that depend on 3DS.

Hyperswitch documents six routing strategies: rule-based, volume-based, auth-rate, multi-objective (auth rate re-ranked by processor cost), least cost routing for debit networks, and default fallback routing for when no rule applies or a processor is ineligible. Each one can send a payment to a processor that did not run 3DS. Fallback is the easiest to overlook, because it fires after a decline or ineligibility and the retried request may reach a processor whose 3DS behavior you have not tested. Auth-rate and multi-objective routing move traffic toward processors that perform better, so a larger share of payments may land on processors with different authentication rules.

Before enabling multi-processor routing with 3DS, confirm per processor whether it accepts 3DS data from another source, how it handles a missing or failed authentication result, and whether a retry after a 3DS challenge is allowed. Write these answers down and test each routing path with sandbox cards that trigger challenge and frictionless flows. Ask each processor's integration contact for the rules in writing, and check the Hyperswitch connector documentation for the version you run. The goal is to know, for every route a payment can take, whether authentication carries over, is repeated, or is skipped.

Which 3DS model fits which situation

This table compares three ways to run 3D Secure in a self-hosted Hyperswitch setup: letting each processor authenticate, running a standalone 3DS server, and importing results from an external run. Read each row to see who carries the authentication work, how routing is affected, and the operational load. The main takeaway is that PSP-run 3DS is the simplest starting point, while a standalone server or imported results become worth their added effort when routing across processors or consistent authentication across them matters.

FactorPSP-run 3DSStandalone 3DS serverImported 3DS results
Who runs authenticationEach connected processor runs 3DS through its own flowYour 3DS server or a 3DS provider runs the authenticationAn external system runs 3DS before the payment reaches Hyperswitch
Routing impactRouting choices are constrained by which processors support 3DS for that paymentAuthentication results can be used across processors, so routing is less tied to each processor's 3DS flowRouting depends on whether the processor accepts the imported authentication data, so confirm this per connector
Operational loadLowest: fewer components, and the processor manages the challenge flowHighest: you deploy, certify, monitor and maintain an additional serviceModerate: you own the data handoff and liability evidence between systems
Liability and evidenceLiability follows the processor's 3DS result, so confirm the shift for your card types and regionsEvidence sits with your 3DS server records, which you must retain and make availableEvidence depends on the external system's records, which must reach the authorization intact
Best fitSingle or few processors, moderate fraud exposure, and teams that want the least added infrastructureMulti-processor routing where 3DS consistency matters, and teams with compliance capacity to run another serviceOrganizations already running a 3DS provider that must keep that flow for regulatory or contractual reasons

How to set up PSP-run 3DS in your Hyperswitch stack

This sequence takes a self-hosted Hyperswitch deployment from a running stack to a state where each processor runs 3D Secure, routing and fallback behave predictably, and authentication results are confirmed to reach authorization. Each step closes with a check so your team knows when to move on.

  1. Confirm the deployment and processor connectors

    Your platform or engineering team confirms that the Hyperswitch router, Scheduler, PostgreSQL, Redis and Control Center are running in your environment, and that the Superposition service is present if you are on v1.124.0 or later, since the release notes make it a required dependency. Then list the processor connectors you intend to use for card payments and confirm each one is connected in the Control Center. Done when every intended connector appears as active and can be selected for a test payment. Check your deployment version against the compatibility matrix on the releases page before you change anything.

  2. Enable 3DS on each connector

    For each connector, your payments team enters or confirms the processor's credentials in the Control Center, including any separate 3DS or authentication settings the processor requires, and enables 3D Secure for card payments on that connector. Confirm with each processor which 3DS version it supports, which authentication flows it runs, and whether it accepts Hyperswitch's data fields for the request. Done when each connector shows 3DS enabled and a single test card request on that connector reaches a 3DS challenge or frictionless result.

  3. Define routing and fallback for 3DS behavior

    Your payments team sets the routing configuration so that a given payment goes to a predictable processor, and sets a default fallback for payments where no rule applies or the chosen processor is ineligible. The outcome you want is that every processor that can receive a payment will run 3DS under the same conditions. Review the routing strategies Hyperswitch documents and decide whether any rule switches processors after a 3DS result. Done when a set of test payments matching each rule lands on the expected processor and the fallback route is exercised at least once. Record the routing configuration in version control so changes are reviewed.

  4. Run test payments in sandbox or staging

    Your QA or engineering team runs a scripted set of test payments in the hosted sandbox or in your own staging environment, covering frictionless approval, a challenge that succeeds, a challenge that fails, and a payment that routes to a second processor. Use each processor's published test cards for those outcomes. Record the Hyperswitch payment ID, the connector used and the final status for every run. Done when every scenario produces the expected status and the logs show the authentication step was executed on the intended connector.

  5. Verify authentication results reach authorization

    Your engineering team checks that the authentication outcome from the processor's 3DS flow is passed into the authorization request, and that the authorization is only sent when the authentication result allows it. Inspect the payment records and webhooks for the test runs, and confirm that authentication status, liability indicators and the authorization result are consistent. Ask each processor to confirm how it treats liability when authentication succeeds, fails or is not attempted. Done when your records show that no authorization was sent with a failed or missing authentication result where the policy requires one.

  6. Confirm monitoring and operational handoff

    Your operations team sets up dashboards or alerts for 3DS attempt rates, challenge rates, authentication failures and fallback routing, using the observability your stack already provides. Document which connector handles which payment types and who owns each processor relationship. Agree on a re-test schedule for when a processor changes its 3DS version or when Hyperswitch is upgraded. Done when the team can see 3DS outcomes per connector in a dashboard and the runbook names an owner for each connector and for routing changes.

Security and operational considerations for PSP-run 3DS

When each processor runs 3D Secure, the authentication data, credentials and admin access sit with you and the processor together. The cards below cover the controls that keep that arrangement secure and operable over time.

Processor credential handling

Each processor connector holds its own API keys and merchant identifiers, and those credentials decide which 3DS settings the processor applies. Store them in your secrets manager rather than in configuration files, scope them to the minimum permissions the processor offers, and record who can view or rotate them. Ask each processor how 3DS is enabled on the account, since a setting changed on the processor side can alter authentication without any change in Hyperswitch.

Webhook and result verification

Authentication outcomes often reach Hyperswitch asynchronously through processor webhooks, so the payment state depends on those messages being genuine and complete. Verify each webhook signature with the processor's documented method, reject unsigned or replayed events, and reconcile authorization results against the processor's own records. Confirm which webhook events report a completed challenge and which report an abandoned one before you build logic on them.

Hyperswitch docs

Logging authentication outcomes safely

Authentication logs are useful for troubleshooting declines and measuring challenge rates, but they must not carry card numbers, full cryptograms or raw authentication payloads. Log the payment identifier, processor, outcome code, exemption or challenge indicator and timestamp, and mask anything that could identify a card. Review what your log pipeline retains and who can search it, because 3DS data is still personal data in many jurisdictions.

Control Center access and SSO limits

The Control Center supports single sign-on through OpenID Connect only, with no SAML, no just-in-time or SCIM provisioning, and roles managed inside Hyperswitch rather than mapped from your identity provider. Users must be invited before they can sign in, so offboarding is a manual step you need to add to your joiner and leaver process. Decide who may change 3DS settings and keep that role small and reviewed.

Configure SSO docs

Change control across monthly releases

Hyperswitch ships roughly monthly minor releases, and each carries a compatibility matrix for the Control Center and web client versions. A release can change defaults or dependencies, such as the Superposition service required from v1.124.0, so 3DS behavior should be retested in staging before each production upgrade. Record which Hyperswitch, Control Center and SDK versions are live, and keep a rollback plan for the router.

Hyperswitch releases

When to move to a standalone 3DS server

Move to a standalone 3DS server when the processor-run model stops giving you one authentication behavior across the processors you route to. When each processor runs its own 3DS flow, the same cardholder can meet a different challenge, a different frictionless rate and a different liability outcome depending on which acquirer the router selects. If your fraud or compliance team needs the authentication to look the same regardless of routing, that inconsistency is the first signal to act on. Pull a sample of recent authentications per processor and compare challenge rates and outcomes before deciding.

The second signal appears when routing decisions start changing authentication outcomes. Hyperswitch can send a payment to a different processor through its routing strategies, and under the processor-run model that switch can also change who authenticated the cardholder and how. If you need routing to optimize authorization rates or cost without re-running authentication, a standalone server that produces one authentication result that any processor can consume becomes the cleaner design. The third signal is a need for control over 3DS decisions that the processor model cannot express, such as custom risk inputs or a single audit trail for every authentication. Ask each processor in writing which of these controls it exposes before you assume they are available.

Before you commit, confirm the external 3DS server options against the exact processors and connector versions you use, because support differs by connector. The Hyperswitch integrations content group covers external 3DS servers as a connector type, and that is the next read for the setup and data flow. Plan for a second authentication path during migration, since an external server adds a component to run, monitor and keep available for every payment that depends on it.

Limits to confirm before you rely on PSP-run 3DS

Running 3D Secure through each processor keeps the setup simple, but the behavior depends on each connector and on your own environment. The cards below list the items to confirm with every processor and inside your own Hyperswitch deployment before you route live traffic.

Which connectors support 3DS

Not every connector behind Hyperswitch handles 3D Secure the same way. Confirm, for each processor you plan to route to, whether it runs the authentication flow, which card networks it covers and whether it needs fields that your checkout must send. A processor that cannot authenticate a card can still authorize it, which shifts risk onto you. Test each connector with a challenge card and a frictionless card before adding it to a routing rule.

Routing docs

How authentication results come back

Ask each processor how it returns the authentication outcome, including the authentication status, the cryptogram and the transaction identifiers used in the authorization. Hyperswitch passes these values through its connector layer, so a field mapped differently for one processor can cause a declined or downgraded authorization. Confirm the webhook events and the fields you must store for disputes and reporting.

Liability handling per processor

Liability for fraud chargebacks depends on whether authentication succeeded, attempted or was skipped, and on the card network rules that apply to the transaction. Each processor may apply these rules differently, and the result changes when a payment is routed to another processor by a retry or fallback rule. Ask each processor in writing how it treats liability shift for every authentication outcome, and document the answers for your risk team.

Card networks and regions

Coverage varies by card network and by country. Confirm which networks each processor authenticates, which issuing regions are in scope and whether any region requires a specific processor or exemption handling. Routing a card to a processor that does not cover its network or region can produce a failed authentication with no clear error. Build a test matrix from your real card mix before enabling cross-processor routing.

Superposition dependency in v1.124.0

The Hyperswitch v1.124.0 release notes state that Superposition became a required configuration dependency. If you upgrade from an earlier version, a Superposition service must be running before the upgrade, or the router will not start correctly. Confirm this in your staging environment, add the service to your deployment and monitoring, and check the compatibility matrix on the release page for your Control Center and client versions.

Hyperswitch releases

Questions teams ask before setting up 3DS through their PSP

What does setting up 3DS through our PSP cost, and what drives the cost?

Most of the cost is the labor to configure each processor's 3DS settings, map authentication results into Hyperswitch, and test the flows. No supplied figure gives a price, so ask any partner for a written quote based on scope. The main drivers are the number of processors that will run authentication, how much routing logic depends on 3DS outcomes, and how much test coverage you need across card types, currencies and countries. One-time work covers the initial build and testing. Recurring costs cover processor fees for authentication, your hosting, and any updates to processor settings when a processor changes its requirements. Ask for line items separating build, testing and ongoing support.

How long does 3DS setup through a PSP take?

Duration depends on drivers, not a fixed number. The biggest ones are how many processors are connected, whether routing rules send the same card to different processors, how many merchant accounts and currencies are involved, and how quickly your processors provide test credentials and sandbox access. Teams with one processor and a clear 3DS requirement usually finish faster than teams that route across several. Confirm the timeline with the partner in the written scope, and ask which steps depend on processor responses you do not control.

What must our team provide before the work starts?

You need to provide processor credentials for each connector that will run 3DS, sandbox or test accounts with each processor, and a written decision on how routing should behave when a processor fails authentication or is not eligible. You also need a list of the currencies, countries and card types you accept, your fraud and liability policy, and access to the Hyperswitch deployment where the configuration will run. Keep credentials in your own secrets store and share them through a controlled channel. Missing routing decisions are the most common cause of rework, so settle them before build.

Can our in-house team set up 3DS through the PSP without outside help?

Often yes, if the team already runs the Hyperswitch stack and has payments engineers who understand each processor's authentication flow. The work is mostly configuration, mapping and testing rather than new code, but it touches checkout behavior, liability and reconciliation, so it needs people from payments, security and finance. Check whether your team can build a test matrix covering frictionless, challenge and failed flows for every connector. If one of those skills is missing, or the team is already committed to other work, an outside partner can take on a defined part of the scope.

When should we bring in outside help for 3DS through our PSP?

Bring in outside help when the scope has several processors with different 3DS behavior, when routing decisions depend on authentication results, or when your team lacks the time or testing capacity for the full matrix. DeployOpen plans, implements and tests self-hosted open-source platforms in your own infrastructure, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing before work starts. Ask for the scope to name which processors, flows and test cases are included, and who signs off on liability decisions.

What breaks most often in a PSP-run 3DS setup?

The common failures are inconsistent authentication results across processors, routing that sends a retry to a processor that did not authenticate the card, and webhooks that arrive out of order and leave a payment in an unexpected state. Test each processor's frictionless and challenge flows, declined authentications and timeouts, and confirm that the status Hyperswitch stores matches what the processor reports. Check the processor documentation for how it handles authentication data passed on a later authorization, since that behavior differs between providers.

How do I know when a PSP-run 3DS setup should move to a standalone 3DS server?

Consider a standalone 3DS server when you need one authentication policy applied across processors, when processors give inconsistent results, or when you need control over authentication data that a PSP does not expose. Confirm with your processors and your Hyperswitch version which 3DS integration options are supported before you commit. Plan the migration as its own project, because it changes authentication data flow and liability handling. The Hyperswitch intelligent routing documentation is a useful reference for how routing decisions interact with these choices.

Where to confirm the current Hyperswitch behavior

Connector-level 3DS support in Hyperswitch changes over time, so confirm what each processor supports against current documentation before you go live. Start with the Hyperswitch docs page on intelligent routing, which describes how routing decisions interact with processor eligibility and default fallback. Then confirm the connector-specific 3DS behavior for every processor in your routing set, including whether each one runs authentication itself, accepts a redirect flow, and passes back the authentication fields your authorization needs. Do not assume that a processor which supported 3DS in one routing configuration supports it in all of them.

Hyperswitch ships minor releases roughly monthly, and each release on the GitHub releases page lists a compatibility matrix for Control Center and web client versions. Read the notes for every release between the version you run today and the version you plan to deploy, and record which connector changes affect your processors. For self-hosted deployments, the self-hosting guide describes the supported deployment paths. Ask your implementation team to pin the exact versions in your go-live checklist, and repeat the 3DS test cases for each processor after every upgrade that touches the connector layer.

How DeployOpen scopes and delivers Hyperswitch 3DS work

DeployOpen plans, implements, customizes, integrates, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure. For 3D Secure through your PSP in Hyperswitch, we start by mapping which processors authenticate, how routing moves payments between them, and what your compliance and fraud teams need to review before any change reaches production.

How we scope

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • The written scope lists each processor that will run 3DS, the routing paths that cross processors, and the checkout flows covered.
  • Quotes follow from the written scope, so ask for each processor path and environment to be itemized separately.

How we build

  • We configure 3DS settings per connector in your self-hosted Hyperswitch deployment and document each setting and its owner.
  • We test authentication outcomes for each processor and each routing path, including fallback when a processor is ineligible.
  • We verify that cross-processor routing does not send a customer into a 3DS flow that the chosen processor cannot complete.

How we hand over

  • You receive configuration records, a routing and 3DS decision map, and test evidence for each processor path.
  • Runbooks cover how to change 3DS behavior per processor, how to roll back a change, and who approves it.
  • Your team walks through the handover and confirms it can operate the setup without DeployOpen present.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, so 3DS behavior is retested after each Hyperswitch release.
  • We re-check processor 3DS settings when a processor changes its requirements or when you add a connector.
  • We can review the design again before you move to a standalone 3DS server, so the migration scope is written before it starts.

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.