When teams import 3DS results into Hyperswitch
Teams import 3DS results into Hyperswitch when authentication already ran on a separate 3D Secure server or through another gateway, and they want Hyperswitch to route and authorize the payment using that outcome. In this setup the self-hosted Router still makes the routing, retry and authorization calls, so the authentication data has to travel with each payment request to the connector that will use it. The feature only helps when the processor accepts externally authenticated transactions. Confirm that for every connector you plan to use before you design anything else, because a processor that does not accept imported results cannot complete the payment this way.
The main decisions sit in three places. First, decide which system owns the authentication step and which fields the processor needs from it, and confirm the exact request fields in the Hyperswitch docs for your version. Second, check how authentication values are handled in the platform. Card data is held in the card vault, but authentication values are also sensitive, so confirm whether Hyperswitch stores, logs or masks them in your configuration. Third, settle liability with your processor, acquirer and risk team. Liability shift depends on the processor and the authentication outcome, so do not assume that importing a result moves liability to the issuer until those parties confirm it in writing.
Verification should cover the routing path as well as the happy path. If a routing rule or fallback sends an imported-result payment to a processor that does not accept it, the authorization can fail or be handled as unauthenticated. Test each connector in the sandbox, and exclude processors that do not accept imported results from the rules that could select them. Recheck these settings after each upgrade, since release notes can change request handling. The Hyperswitch docs are the next read for current connector behavior and field requirements.
Which 3DS import path fits your setup
This table compares the three ways to get 3DS authentication into a Hyperswitch payment: letting each processor run it, passing results from a standalone 3DS server, or routing with imported authentication data. Read each row against your own processor mix and fraud setup. The main takeaway is that the more routing flexibility you want across processors, the more carefully you must control which party owns the authentication and liability.
| Path | When it fits | Data required | Main trade-off |
|---|---|---|---|
| Processor-run 3DS | You send most traffic to one or two processors that support 3DS and you want the simplest setup | Card details and the 3DS request settings Hyperswitch sends; the processor handles the challenge flow | Routing between processors can change which 3DS result applies, so liability may differ by route |
| Standalone 3DS server, results passed in | You already run an external 3DS server or need one consistent authentication layer across processors | Authentication outcome, ECI, authentication value (CAVV or AAV) and transaction identifiers from the 3DS server | Your team owns message quality and the liability position depends on the authentication being accepted by the processor |
| Routing with imported authentication data | You route payments across several processors but authentication already ran elsewhere and you need to avoid repeating it | Authenticated flag, ECI, cryptogram, directory server transaction ID and version, all mapped to each processor's format | Each processor must accept imported results, so routes that do not accept them may fail or lose the shift |
| Processor support check (to confirm) | Before choosing any path for a specific processor | Written confirmation of accepted imported 3DS fields and version support from the processor | Support varies by processor and changes over time, so confirm it for each connector in use |
| Liability position | Any path where a challenge or authentication result is used to shift fraud liability | Authentication result that the card scheme and processor recognize as attempted or authenticated | Confirm with your acquirer or legal team which party carries chargeback liability for each route before go-live |
How to set up imported 3DS results in a self-hosted stack
This sequence takes a payment flow where 3D Secure already ran at an external provider and turns those results into a working authorization path in your self-hosted Hyperswitch stack. It ends with a verified mapping of authentication data, connectors that accept imported results, and evidence that liability shift applies on each processor route.
Confirm provider and processor support for imported results
Before any code changes, ask your external 3DS provider which authentication fields it returns and which processors accept authentication data it produced. Ask each target processor in writing whether it accepts externally run 3DS results on the card network and region you serve, and whether it requires a specific protocol version. Record the answers in a support matrix that lists each processor, the accepted fields, and the liability position. The step is done when every route you plan to use has a written yes or no, and anything unclear is marked for follow-up with the processor.
Map authentication fields into the payment request
Map the authentication value, the ECI, the transaction status, the 3DS version and the directory and transaction identifiers from your external provider into the matching fields of the Hyperswitch payment request. Confirm the exact field names and accepted formats in the Hyperswitch API reference for your release, since these can change between versions. Your integration team owns this mapping, and your security team should review that no card data beyond what the payment needs is passed through. The step is done when a test payment carries each field and the Hyperswitch logs show the values were received without truncation or reformatting.
Configure connectors to accept imported results
Enable imported authentication only on the connectors that your support matrix marked as accepting it. Set the connector credentials and any connector-level options the processor requires, and make sure the connector configuration does not present imported results to processors that reject them. Document which connectors are eligible so that operations staff can see the setting without reading code. The step is done when the connector list in the Control Center reflects the support matrix and a sample payment to each eligible connector completes without a 3DS error.
Set routing so only accepting processors receive imported results
Update routing so that payments carrying imported 3DS data are sent only to connectors marked as accepting them. Use the routing configuration to express this restriction, and confirm the fallback behavior: if the preferred processor is ineligible, the payment must fall back to another accepting processor or fail cleanly, not reach a processor that will decline or drop liability protection. Test both the primary and fallback paths. The step is done when a test payment with imported data routes only to eligible connectors and a payment that has no eligible connector returns a clear, logged outcome.
Test frictionless and challenge outcomes in sandbox
Run test payments in a sandbox that cover at least a frictionless authentication result and a challenge result, plus a failed or unavailable authentication result if your external provider returns one. Use the test card and scenario data that your external provider and each processor publish for sandbox use, and record the input values and the resulting Hyperswitch payment status for each case. Check that a failed authentication does not produce an authorization. The step is done when every outcome in your test matrix produces the expected status and the results are saved as evidence for your change record.
Verify liability shift on the processor side
For each eligible processor, confirm with the processor's documentation or account team how liability shift is recorded when authorization uses imported results, and what the processor reports on successful authentication. Compare the processor's dispute and chargeback reporting for test transactions against the expected liability position in your support matrix. Involve your payments and risk teams in signing off the result, since liability terms depend on your agreements. The step is done when each processor's liability position is written down, signed off by the responsible team, and matched against a test transaction report.
Document the configuration and set monitoring
Record the final field mapping, connector eligibility, routing rules and test evidence in your runbook, and name the owner for each. Add monitoring for authentication-related declines, fallback events and payments that arrive with imported data but no eligible connector, so that a provider or processor change is noticed quickly. Schedule a review of the support matrix whenever you upgrade Hyperswitch or change your external 3DS provider. The step is done when the runbook is approved by security and payments owners and alerts for the three conditions are visible in your monitoring system.
How liability shift changes when authentication happens elsewhere
Liability shift depends on two things: a valid authentication result and a processor that accepts that result for the authorization. When 3DS ran in an external server or another provider, the merchant is not the party that decides whether a shift applies. The card network rules and the acquirer's acceptance decide it, and the import only carries the evidence. Hyperswitch can pass authentication data through to the processor, but it does not create a liability shift on its own. Before go-live, confirm with your acquirer and card schemes which authentication outcomes they accept from an external 3DS server, which processors in your routing setup accept imported results, and whether the shift applies to each card brand you accept.
A missing or mismatched field can move liability back to the merchant even when authentication succeeded. Typical problems include an authentication value that is absent from the authorization request, an electronic commerce indicator that does not match the authentication outcome, a transaction identifier from the 3DS run that is not the one sent with the authorization, or a version or amount mismatch between the two steps. Some of these fail silently: the payment authorizes, and the dispute arrives months later. Ask your processor which fields it validates, and test the mapping in a sandbox with declined, failed and successful authentication outcomes so you can see which combinations are passed through and which are dropped.
Do not assume a shift from the import alone. Get written confirmation from your acquirer on the accepted outcomes and fields, keep a record of the authentication data attached to each authorization, and have your fraud or dispute team review a sample of chargebacks against it after launch. If the external 3DS provider's rules and the processor's rules differ, the stricter rule governs your exposure until your acquirer confirms otherwise.
How an externally authenticated payment flows through Hyperswitch
The flow starts at checkout, where the customer's card has already been authenticated by a 3DS server outside Hyperswitch. That server returns authentication data, which the checkout passes with the payment request to the self-hosted Router. The Router keeps card data inside the card vault boundary, selects an eligible processor and forwards the authorization with the imported result. Check that the processor accepts imported authentication data and that the authorization response carries the outcome back to your records.
Imported 3DS data travels from checkout through the Router to the processor.
Security and operational risks of importing 3DS data
Importing 3DS results moves authentication values into a payment flow you did not run from start to finish. The risks below connect because each one depends on the same agreement: who handles the sensitive values, where they are stored, which processors accept them and who approves changes on either side.
Authentication values are sensitive data
The cryptogram and related authentication values returned by the external 3DS provider are used to prove a customer was authenticated, so they must be treated as sensitive payment data from the moment they are received. Define which fields Hyperswitch needs for authorization, restrict who and what can read them, and confirm how they are encrypted in transit and at rest. Ask the 3DS provider which values are single use and how long they remain valid, because a value that expires before authorization causes failed payments that look like processor errors.
Keep authentication values out of logs
Request logs, webhook payloads, error traces and support tickets can capture authentication values without anyone deciding that they should. Before go-live, set logging rules that redact these fields in the Router, in any reverse proxy or API gateway in front of it, and in your observability stack. Test by sending a sample imported payment through each path and searching the stored output for the values. A log that holds a usable cryptogram is a data handling incident even if the payment succeeded.
Agree PCI DSS scope with the 3DS provider
Importing results adds a party to the flow, and each party that stores, processes or transmits cardholder data or authentication data affects your PCI DSS scope. Write down which systems touch the card data and the authentication values, which vault model you run, and who is responsible for each control. The Hyperswitch docs state that under the self-hosted, in-house PCI model the merchant is fully responsible for PCI DSS certification and data handling. Confirm this boundary with your assessor before the build is finished.
Vault models docsRouting errors reach processors that reject imports
Not every processor accepts externally authenticated results, and a routing rule or fallback can send an imported payment to one that does not. The failure appears as a decline or a liability problem rather than a clear configuration error. Map each connector to the authentication sources it accepts, and make sure the routing configuration excludes incompatible connectors for imported payments. Test fallback paths specifically, since default fallback routing applies when no rule matches.
Change control when either side upgrades
The external 3DS provider, the Hyperswitch release and the processor integrations can each change the fields, formats or acceptance rules that an import depends on. Hyperswitch publishes roughly monthly minor releases with compatibility matrices, so a Router upgrade can change behavior that your import path relies on. Set an approval step for changes on both sides, keep a regression test that runs a full imported payment, and record which version of each component was tested together.
- Minor release cadence
- Monthly
Questions buyers ask before importing 3DS results
How much does importing 3DS results depend on the number of processors?
The number of processors and payment flows is the biggest driver of effort, because each acquirer has its own rules for accepting externally run authentication data. A single processor with one card network and one checkout flow is a small, contained job. Each additional processor adds its own field mapping, its own test cases and its own rules for which authentication outcomes it accepts. External 3DS provider choice adds a second dimension: the provider's response format, its liability and eligibility rules, and how its transaction identifiers map into the payment request. Ask any partner to price the work per processor and per provider, and to state what is one-time build work and what recurs when a processor or provider changes its requirements.
What does the merchant's team need to provide for this work?
Three inputs usually decide how quickly the work moves. First, the acquirer documentation for each processor that will accept imported results, including the exact fields it expects and the liability rules it applies. Second, a written PCI DSS scope decision: whether authentication data passes through systems that are in scope, and which vault model is in use. Third, test credentials and sandbox access for every processor and the external 3DS provider, along with test cards that produce each authentication outcome. Missing any of these tends to stall the build at the mapping stage. Confirm with each acquirer which documents it will release and under what terms before the project starts.
Can an in-house team import 3DS results without outside help?
Yes, an experienced payments engineering team can do this in-house if it has access to the acquirer documentation, sandbox credentials and someone who understands both the 3DS protocol and the Hyperswitch connector model. The hard parts are rarely the API calls. They are interpreting each acquirer's liability and eligibility rules, testing every authentication outcome, and keeping the mapping correct when a processor or provider changes its requirements. Ask whether the team has done this before for at least one processor, who will own the mapping after go-live, and how changes will be tested. If those answers are unclear, the gap is about ownership and maintenance, not about the initial code.
How long does testing usually take, and what changes it?
Testing time scales with the number of flows, not the number of lines of code. A flow is one combination of processor, card network, authentication outcome and payment path, such as a frictionless success, a challenge that succeeds, a challenge that fails, and an attempt that is not supported. Each flow needs a test case, a sandbox run and a check that the liability outcome recorded in the payment matches what the acquirer expects. Processors that restrict which test cards they support, or that take time to issue sandbox credentials, extend the schedule. Ask any partner for its test matrix before agreeing on a timeline, and confirm which flows the processor's sandbox can actually produce.
What breaks most often when 3DS results are imported?
The most common failures are field mismatches and silent liability changes. A processor may reject an authentication value that is formatted differently, or it may accept the transaction but record it as non-3DS, which moves liability back to the merchant. Failures also appear when the authentication was run with one provider and the authorization is routed to a processor that does not accept that provider's results, which only shows up under routing. Verify each processor's acceptance rules in sandbox, log the authentication identifiers on every payment, and reconcile liability outcomes in the first weeks of live traffic.
When is outside help worth paying for?
Outside help is most useful when the work involves several processors, a new external 3DS provider, or a strict PCI DSS scope decision that the team has not made before. It is also useful when the internal team lacks time to build and test every flow before a launch date. A fixed-scope engagement lets you agree on processors, flows, deliverables and timelines in writing before work starts, which makes the cost comparable with your own estimate. DeployOpen implements and documents self-hosted platforms inside your infrastructure, so ownership of the connector configuration, tests and runbooks stays with your team after handover. Ask for a written scope that names each processor and each flow, and for the handover material you will receive.
Who owns the imported 3DS data and the liability decisions afterward?
Your organization owns the data flow, the liability outcomes and the decisions about which authentication results each processor may accept, because those decisions carry your fraud and chargeback exposure. The processor and any external 3DS provider set their own eligibility rules, and the Hyperswitch docs describe the platform as one you operate in your own infrastructure. Assign a named owner for each processor's acceptance rules, review them after any processor or provider change, and keep records of who approved each rule. Confirm these responsibilities in the written scope so that nothing depends on memory later.
What a DeployOpen engagement on imported 3DS covers
A DeployOpen engagement on imported 3DS starts by fixing the facts that decide the design: which system ran authentication, which 3DS provider issued the authentication values, which processors and acquirers will receive them, and which payment flows (card-not-present, recurring, saved cards, mobile) must carry them. We document the current 3DS provider's data outputs, the fields each processor expects, and the points where the authentication result is produced and consumed. Your team confirms the processor-by-processor acceptance rules with each acquirer, because support for imported results varies and should be verified in writing rather than assumed from the platform.
On the Hyperswitch side, the scope covers the self-hosted configuration that carries authentication data into authorization: the connector credentials and the mapping of authentication fields in the payment request, the routing and fallback behavior when an imported result is missing or rejected, and the logging that shows which result was sent to which processor. We also review how the deployment is run, including the Router and Scheduler services, the Control Center roles that can change 3DS-related settings, and the upgrade checks needed when Hyperswitch releases change connector behavior. The test plan covers approved, declined, failed and mismatched authentication cases in a non-production environment, with evidence kept for your review.
Handover is a written package: the design record, configuration and change procedure, the test results with the cases that were not covered, and an operations runbook for the team that will own the flow after go-live. Engagements are fixed-scope, so the deliverables, timelines and responsibilities are agreed in writing before work starts. DeployOpen does not issue audit reports, attestations or certifications. If your liability position, PCI DSS scope or regulatory treatment depends on imported 3DS data, ask your auditor and acquirer to confirm the approach, and ask us for evidence that supports their review.
How DeployOpen works on this
DeployOpen scopes importing externally run 3DS results into your self-hosted Hyperswitch stack before any build starts, then implements, tests and documents the flow in your own infrastructure. Engagements are fixed-scope, with deliverables and timelines agreed in writing first.
How we scope
- Inventory which 3DS provider ran authentication, and which fields and result values your team can pass to Hyperswitch.
- Map each processor you route to against its accepted imported-result fields, so liability and routing behavior are confirmed before build.
- Agree in writing which connectors, payment methods, currencies and retry paths are in the written scope.
How we build
- Configure the payment request so authentication data from the external 3DS run reaches the connector in the format it expects.
- Test authorizations for each in-scope processor, covering successful, declined and failed authentication outcomes with imported results.
- Verify the Router and Control Center show the authentication status, version and liability indicators your reconciliation team needs.
How we hand over
- Deliver a written configuration record covering connectors, authentication field mappings, routing dependencies and test evidence.
- Document the operational runbook for handling authentication failures, expired results and processor-specific rejections.
- Walk your payments, fraud and security teams through the build so they can review it against their own controls.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer, sized to the scope agreed for this flow.
- Retest the imported-result path after Hyperswitch releases and connector changes, and report any regressions in writing.
- Confirm with your processors and external 3DS provider any changes to their accepted fields before you rely on a new release.

