Using Cybersource Decision Manager with Hyperswitch

Teams that already rely on Cybersource Decision Manager can keep it as the fraud engine while Hyperswitch handles routing. This page covers the integration method to confirm, the setup order, data mapping, and where connections usually fail.

On this page

Keeping Cybersource Decision Manager as the fraud engine behind Hyperswitch

The core decision is whether your existing Cybersource Decision Manager rule set and scoring history can keep running as the fraud engine once payment routing moves to a self-hosted Hyperswitch stack. Most teams want to keep both, because rebuilding years of tuned rules and the score history behind them is slow and carries its own risk. The supplied facts do not confirm a native Decision Manager connector in Hyperswitch, so do not scope the work on the assumption that one exists. Before you estimate effort, confirm which supported method applies: a native connector, an external fraud engine connector type, or a custom API call from your own service. Check the Hyperswitch docs for the current list of fraud engine connectors, and confirm with Cybersource which Decision Manager interfaces and data fields your account and integration type support.

Hyperswitch documents fraud engines as a connector category, alongside payment processors, external 3DS servers and external vaults. That placement matters because it determines where the fraud decision happens. In a connector model, Hyperswitch sends transaction data to the fraud engine at a defined point in the payment flow and acts on the returned result, such as approving, declining or sending the payment for review. In a custom API model, your own service makes that call and passes the outcome into the payment request. Write down which point in the flow runs the check, which fields reach the engine, and who owns the decision logic. Those answers drive how much of your existing rule set can be reused without change.

Verify the following with Cybersource and with your own integration team before you commit: the review and decline outcomes your rules produce today, how Decision Manager scores reach your systems, whether scores and case decisions can be mapped to Hyperswitch statuses, and how your current data retention settings apply to any payment data that Hyperswitch passes through. Also confirm how the fraud check interacts with Hyperswitch routing and retries, so a retried payment is not scored twice or released without review. Treat the result as a short written decision record, because the choice between a connector and a custom call changes the test plan, the operations runbook and the ongoing maintenance cost.

How a payment request moves between Hyperswitch and Decision Manager

The flow starts when a shopper's payment request reaches the Hyperswitch router, which runs inside the self-hosted stack you control. Before authorization, the router can send transaction data to Decision Manager, which returns a risk result that the router uses to decide whether to continue. Routing then selects a processor, which may be Cybersource or another connector, and the authorization goes there. Processor status returns to the router through webhooks and then to the client. Confirm where the pre-auth and post-auth decision points fall for each payment method and connector, since that placement is still to be confirmed for your setup.

Request, fraud check, routing and status return across the self-hosted boundary.

What you need before connecting Decision Manager to Hyperswitch

Connecting Cybersource Decision Manager to a self-hosted Hyperswitch stack touches your deployment, your Cybersource account, your fraud rules and your team structure. Work through these six items before any configuration starts, since gaps in any one of them tend to surface as blocked tests or unexpected declines later.

A confirmed Hyperswitch version

Pick the Hyperswitch release you will run and check it against the GitHub releases page and its compatibility matrix for Control Center and web client versions. Record the exact router version in your change log, because the fraud integration will be tested against that build. If you are on a release older than the one you plan to deploy, confirm the upgrade path first. Ask your engineering lead who owns the upgrade calendar.

Hyperswitch releases

Cybersource account with Decision Manager

Confirm that your Cybersource merchant account has Decision Manager enabled for the merchant IDs you will route through Hyperswitch. Ask Cybersource which API credential types and environments (test and production) your account supports, and whether Hyperswitch's connector accepts them. Keep the merchant and environment identifiers in a list so you can match each Hyperswitch connector to the correct Cybersource profile.

Existing Decision Manager rules and profiles

Export your current Decision Manager rule set, review profiles, velocity thresholds and any custom fields your analysts rely on. Decide which rules must keep running unchanged after Hyperswitch sits in front of the payment flow, and which ones depend on data that Hyperswitch will send differently. Write down who approved each rule so the record survives the migration. Without this inventory, you cannot prove that fraud outcomes stayed the same.

Outbound network path to Cybersource

Map the network route from the Hyperswitch router to the Cybersource endpoints for each environment, including egress firewall rules, proxies, DNS resolution and any TLS inspection in your data center or cloud. Check that the router pods or hosts can reach those endpoints from your Kubernetes or VM network, and that secrets for the Cybersource credentials are injected without being written to logs. Ask your network team to sign off on the egress rule before the test window opens.

Processor routing decision

Decide which acquirers and processors sit behind Hyperswitch routing and which ones will receive Decision Manager screening. Fraud checks can behave differently per processor and per payment method, so list the connectors in scope and the transactions each one handles. Confirm with your fraud team whether screening runs before or after authorization for each connector. A written list of connectors prevents gaps where a payment bypasses the fraud engine.

Named fraud and engineering owners

Assign one accountable owner in fraud operations for rule decisions and one in engineering for the Hyperswitch deployment and connector configuration. Add a backup for each, and name who approves changes to live rules. Agree in advance who responds when declines spike after go-live, since rule changes and connector changes both affect approval rates. Clear ownership shortens the time between a false decline report and a fix.

Where the fraud check sits in the payment flow

The position of the Decision Manager check in the payment flow, before authorization or after it, changes three things: how many good orders are approved, what each check costs, and which data the engine can see when it scores the order. A check that runs before authorization can decline a risky order without spending an authorization attempt, but it sees less about how the issuer and processor respond. A check that runs after authorization sees more, yet the authorization has already happened. Hyperswitch lets you set fraud configuration by payment method and connector, so the placement you choose for cards on one processor does not have to match another. Decide placement per payment flow in writing, and confirm with Cybersource which Decision Manager data elements are sent in each case. For the full decision framework, see the sibling topic on pre-auth versus post-auth fraud checks in Hyperswitch, which this section does not repeat.

When Hyperswitch routes a card payment across several processors, the same Decision Manager check may need to produce the same outcome whichever processor the routing rules select. If one processor path sends a risk check before authorization and another sends it after, the team will see different approval and decline patterns that look like fraud-model drift but are actually an architecture difference. Write down the expected behavior for each processor in the routing configuration, including the data fields passed to Decision Manager and how a decline is returned to the customer.

Treat this consistency as a test requirement, not an assumption. Run the same set of test orders through each processor path in the sandbox and compare the Decision Manager outcome, the field values received by the engine and the response shown to the checkout. Confirm the exact behavior with your chosen integration method, because how Hyperswitch passes fraud data to Cybersource depends on the connector and version you deploy. Record the results so that a later routing change or Hyperswitch upgrade can be retested against the same baseline.

Connecting Decision Manager to Hyperswitch in order

This sequence keeps Cybersource Decision Manager as the fraud engine while Hyperswitch handles routing, and it moves the change from documentation to a limited production rollout. Each step closes with a check you can record before the next one starts.

  1. Confirm the supported integration method

    Before any build work, read the Hyperswitch documentation for fraud engine connectors and confirm how Decision Manager is supported, including which fraud flow (pre-authorization or post-authorization), which Hyperswitch version and which Cybersource API features the connector uses. Your team and your Cybersource account team should agree on this in writing. Done when you have a short written note listing the supported method, the Hyperswitch version you will run, and any unsupported Decision Manager features that must be handled elsewhere.

  2. Export and document existing Decision Manager rules

    Your fraud or payments operations owner exports the current Decision Manager profiles, rules, thresholds, and review queue settings from the Cybersource console, then records what each rule checks and what action it triggers. Keep this as a versioned file in your own repository so the baseline survives the migration. Done when every active profile has a documented owner and an expected outcome (accept, review or decline) for a defined set of sample orders.

  3. Connect sandbox credentials in a non-production environment

    Your platform engineers create Cybersource sandbox credentials, store them in your secrets manager, and add them to a non-production Hyperswitch deployment through the connector configuration that the Hyperswitch docs describe for your version. Do not reuse production keys. Done when a test payment routed through the Cybersource connector returns a sandbox response and the connection appears as active in the Control Center.

  4. Map required order and customer fields

    Decision Manager scores data it receives, so your engineers map the order, billing, shipping, device and customer fields that Hyperswitch passes to the connector against the fields your Decision Manager rules read. Mark any field that is missing or empty in the current checkout as a gap for the product team to fix. Done when a field-by-field mapping document is reviewed by the fraud owner, and a sample payment request shows every required field arriving at the Cybersource sandbox.

  5. Configure the fraud step for one payment method and processor

    Limit the first configuration to a single payment method and a single processor, with Decision Manager as the fraud step for that combination only. Keep all other flows on their current path. Confirm the setting in the Hyperswitch Control Center and in your configuration history. Done when a test payment on that combination produces a logged fraud result in Hyperswitch that references a Decision Manager decision.

  6. Run test transactions for each outcome

    Using sandbox test data, your QA team runs transactions that should produce accept, review and decline outcomes under the exported rules, including edge cases such as mismatched billing and shipping addresses. Compare each result with the expected outcome from your baseline document. Investigate every mismatch, because a mismatch can come from a rule, a missing field or the mapping. Done when every test case matches its expected outcome, and the results are archived with the rule version used.

  7. Expand routing and roll out in stages

    Once the single-flow configuration is stable, add further payment methods and processors one at a time, repeating the field mapping and test steps for each. Use a staged rollout with a defined traffic share, a rollback path to the previous fraud configuration, and a review of decisions and chargebacks at each stage. Confirm with your risk team which metrics gate each expansion. Done when each stage has a signed-off go or no-go record and the rollback has been tested in the non-production environment.

Which order and customer fields Decision Manager needs from Hyperswitch

This table maps the order, customer and payment fields that Cybersource Decision Manager typically evaluates against the data Hyperswitch holds at payment time. Read each row as a question to answer with your integration team: where the value originates, whether Decision Manager requires it, and what to confirm before go-live. Field names and required flags change with Cybersource API versions and with how your chosen Hyperswitch connector maps data, so treat every row as a checklist item, not a final specification.

Data elementSource in HyperswitchRequired by Decision ManagerWhat to confirm
Order amount and currencyPayment amount and currency on the payment create requestYes, as part of the order total used for scoringConfirm the amount field names and minor-unit handling in the Cybersource docs and in the Hyperswitch Cybersource connector mapping
Billing addressBilling address object on the payment request or customer recordYes for the bill-to fields Decision Manager scoresConfirm which address fields Hyperswitch forwards to Cybersource and whether country codes must be ISO format
Shipping addressShipping address object on the payment requestRecommended, and required for some ship-to velocity rulesConfirm whether Hyperswitch passes ship-to fields for your connector and payment method
Customer identifierCustomer ID or email stored in Hyperswitch customer recordsUsed for customer history and velocity checks when suppliedConfirm which identifier you send and that it is stable across sessions and does not contain personal data you do not need to share
IP address and device dataBrowser or app client IP captured by the Hyperswitch SDK or merchant backendUsed for device and location signals, depends on your rule setConfirm how the client IP is captured behind your load balancers and whether device fingerprint data is passed through Hyperswitch
Payment method and card BIN or typePayment method details and card BIN returned from the processor or vault flowUsed for BIN and card type rulesConfirm which card fields remain available after tokenization, since full card numbers must not be sent to Decision Manager by unintended paths
Merchant referencePayment ID and merchant order reference on the payment objectYes, to match each decision to an orderConfirm the reference is unique per order, is returned in webhooks and is the value your order system uses
Decision and score returned to HyperswitchDecision status and score written back to the payment record and surfaced in webhooks and the Control CenterNot a request field, but needed for review queues and reportingConfirm how Hyperswitch records the decision, whether it can block or hold authorization, and how audit logs retain the result

How Decision Manager compares with Signifyd and Riskified

Your current fraud rules and review history are often the most valuable thing you would carry into a decision. Before comparing vendors, export what you have: the rule logic, thresholds, manual review outcomes and chargeback history for the last several years. Then ask each vendor how much of that history it can use and how much it would have to relearn.

  • Rule control: Ask whether your team can write, test and version rules directly, or whether the vendor's analysts change them for you, and how long a change takes to go live.
  • Rule portability: Ask whether existing Decision Manager rules can be reproduced, partly reproduced or replaced, and who documents the mapping.
  • Historical data: Ask whether the vendor will ingest your prior decisions and outcomes, and what it needs from you to do so.
  • Decision latency: Ask for the response time of a decision call under your expected volume, measured from request to score, and whether it differs for pre-authorization and post-authorization checks.
  • Data retention: Ask how long each vendor keeps order, device and decision data, where it is stored, and whether you can set or shorten that period.

Confirm in writing which of these points the vendor will commit to in the statement of work, not only in a sales deck.

Securing Decision Manager credentials and fraud data

The fraud engine connection touches merchant credentials, network paths, customer identity data and fraud decisions, so it needs the same controls as the payment path itself. The cards below cover the controls to plan before go-live and the checks to repeat after each change. Which card data reaches Decision Manager depends on the vault model you choose, so confirm that first.

Keep API credentials out of config files

Store the Cybersource API credentials, including the merchant identifier and signing key material, in a secrets manager your organization already operates, and inject them into the router at runtime rather than writing them into a Helm values file or a .env file in the repository. Limit read access to the service account that runs the router, and confirm that secret values never appear in logs, error traces or the Control Center connector view. Ask your Cybersource account team which credential type applies to your account and environment before you set this up.

Restrict router egress to Cybersource

Allow outbound traffic from the router only to the Cybersource endpoints your integration requires for the Decision Manager calls, and block all other egress by default. Confirm the exact hostnames and ports with Cybersource documentation for your region, then enforce them with network policies or the egress firewall in your cluster. Test that a call to an unlisted host fails, because a misconfigured proxy or DNS rule is a common reason this control silently does nothing.

Limit who can view fraud scores

Fraud scores and decisions expose how your risk model treats individual customers, so they need a narrower access group than general payment reporting. Map Control Center roles to the people who review fraud, and remove the default broad roles from operators who only handle refunds or disputes. Note that Hyperswitch manages roles itself and does not map them from your identity provider, so each change is a manual step that you must review on a schedule.

Keep card data out of fraud payloads

Decision Manager needs enough order and customer data to score a transaction, but it does not need the full card number in most setups. Review each field the router sends in the Decision Manager request, and remove or tokenize any card data the chosen vault model does not require to be passed. The vault and compliance topics in this group explain how each deployment model changes which data reaches the fraud engine.

Set retention and access logging for decisions

Fraud decisions contain personal data, so define how long the router and any log store keep request and response records, who may export them, and which access events are logged. Align the retention period with your privacy notice, your lawful basis for fraud screening and any data subject request process. Confirm with your privacy and legal team before go-live, because the retention setting is your decision rather than a default that the integration sets for you.

Rotate credentials with a tested procedure

Rotate the Cybersource credentials on a schedule and on any suspected exposure, using a runbook that creates the new credential, updates the secret, restarts the router and verifies a test Decision Manager call before the old credential is revoked. Run this in a non-production environment first, and record the rollback step in case the new value fails. Plan the rotation window so that a failed rotation does not stop payment authorization for live traffic.

Where Decision Manager integrations usually fail

This table maps common symptoms in a Cybersource Decision Manager setup behind Hyperswitch to their likely causes and the first check to run. Read each row as a triage step: start with the symptom you see, then work down the cause and check column in order. The main takeaway is that most failures trace to request data, environment configuration or upgrade drift, and each is testable before go-live.

SymptomLikely causeFix or check
Orders go to review or decline for no clear reasonRequired fields such as billing address, email, IP or device data are missing or mapped to the wrong Decision Manager field after Hyperswitch passes the requestPull the logged fraud request for a flagged order and compare it field by field against the Decision Manager request profile; confirm each field the rules depend on is populated
Legitimate orders from one country or card type are scored differently than expectedCountry codes, currency or card type values are formatted differently in the payload than the values your rules checkSend test orders across each country and card type you rely on and compare the values received by Decision Manager with the values written in your rules
Wrong merchant account or no decisions appear in the Cybersource consoleCredentials point to a different Cybersource environment or merchant ID than the one holding the Decision Manager profileCompare the sandbox and production endpoints and merchant ID in the Hyperswitch connector configuration against the ones in your Cybersource account before each test cycle
Authorizations stall or time out during checkoutThe fraud call has no sensible timeout or fallback, so a slow fraud response blocks the authorization pathMeasure fraud call latency in the logs under load, set a timeout you have tested, and confirm with your team what happens to an order when no decision returns
Decisions are made in Cybersource but are missing from Hyperswitch payment recordsThe decision response is not stored or mapped to the payment attempt, so operators see no fraud outcomePlace a test order and check that the Decision Manager result appears on the Hyperswitch payment; if not, review connector response mapping and webhook handling with your integration team
Rule changes in Decision Manager do not match what test orders produceTest orders were run against a different profile, a stale rule version, or a sandbox that does not mirror production rulesRecord the profile name and version used for each test, then re-run a fixed set of orders after every rule change and compare the outcomes
Fraud calls fail or change behavior after a Hyperswitch upgradeA new Hyperswitch release changes the connector request format, configuration keys or required dependencies, such as the Superposition service required from v1.124.0Before upgrading, check the release notes and compatibility matrix on the Hyperswitch releases page, then replay the standard test order set against a staging stack

Questions buyers ask before hiring help with Decision Manager and Hyperswitch

Can our team set up Cybersource Decision Manager with Hyperswitch without outside help?

Yes, a team with the right skills can do it, but the work spans three areas that rarely sit in one group. Someone needs to run Hyperswitch on infrastructure you control, including Kubernetes, PostgreSQL, Redis and the Router and Scheduler services. Someone needs to map Decision Manager's inputs and outputs to Hyperswitch's payment flow and webhooks. Someone needs to own the fraud rules and review decisions with the fraud and payments teams. Check each of these skills against your staff before deciding. The most common gap is the middle one, where field mapping and status handling between the two systems are tested end to end.

What drives the cost of a Decision Manager and Hyperswitch engagement?

Cost follows the written scope, and the main drivers are the number of payment methods and processors that need the fraud check, the complexity of the rules you want Decision Manager to apply, the amount of field mapping between Hyperswitch and Cybersource, the testing scope across processors and flows, and how often you plan to upgrade Hyperswitch. Each additional processor adds its own mapping and test cases. Each upgrade adds regression work on the fraud path. Costs are typically one-time for design, build and testing, with recurring costs for upgrades, rule changes and monitoring if you choose a retainer. DeployOpen does not publish prices. A quote follows a written scope, so prepare your processor list, payment methods and rule requirements before asking for one.

How long does a Hyperswitch and Decision Manager integration take?

Duration depends on the same drivers as cost: how many processors and payment methods are in scope, how complex the rules are, how many fields need mapping, and how much testing your fraud and payments teams require before go-live. A single processor with a small rule set takes less time than a multi-processor setup with several flows and a staged rollout. Your existing Hyperswitch deployment also matters. If the stack is not yet running in production, the infrastructure work comes first. Ask for a schedule tied to each milestone in the written scope rather than a single end date, so you can see where time is spent.

What do we need from our fraud, payments and security teams?

The work depends on three groups making decisions, not just reviewing output. Fraud staff define the rules, thresholds and how declines and reviews are handled, and they confirm which Decision Manager outputs drive authorization. Payments staff confirm processor configuration, connector credentials, webhook handling and how fraud outcomes map to payment statuses. Security staff review how card data and fraud signals move between systems, how credentials are stored, and whether the setup changes your PCI DSS scope. Agree on who signs off each rule change before work starts, because rule ownership is the question that most often stalls a project.

Is Signifyd or Riskified a better fit than Cybersource Decision Manager?

It depends on what you already run and what you need the fraud engine to do. If your team already uses Cybersource for payments or Decision Manager for rules, keeping it avoids a second vendor contract, a second set of data flows and a second team to train. If you are choosing an engine from scratch, compare the decision inputs each product accepts, how chargeback liability is handled under your contract, how rules are maintained, and how easily the engine plugs into Hyperswitch as an external fraud connector. Confirm each of these directly with the vendor, since product capabilities change. DeployOpen can help you test and wire the option you choose, but the selection depends on your own contracts and risk appetite.

What should we prepare before asking DeployOpen for a quote?

Prepare enough detail for a written scope to be specific. Start with a list of processors and payment methods that will pass through the fraud check, and the Hyperswitch version and deployment model you run or plan to run. Next, document the Decision Manager rules and decision outcomes you need to keep, along with any existing rule exports or configuration. List the data fields Decision Manager needs and where each comes from. Describe your testing expectations, including sandbox access and staging environments, and your upgrade cadence. Also note who on your side will approve rule changes and sign off testing. With this, DeployOpen can prepare a fixed-scope proposal with deliverables and timelines agreed in writing before work starts.

Does the fraud setup change our PCI DSS obligations?

It can, and the answer depends on how card data moves through your stack. Hyperswitch stores card data in its card vault, and the Hyperswitch docs state that in the self-hosted, in-house PCI model the merchant is fully responsible for PCI DSS certification and data handling. If you use an external PCI vault provider or the SaaS vault, the scope split is different. Decision Manager receives transaction data for scoring, so confirm which fields it sees and whether any card data is exposed to it. DeployOpen prepares systems and evidence for assessments but does not issue audit reports or certifications. Ask your qualified assessor to review the final data flow.

How DeployOpen works on this

DeployOpen approaches Using Cybersource Decision Manager with Hyperswitch as a fixed-scope implementation inside infrastructure you control. The work starts with a written scope that names the Cybersource account setup, the Hyperswitch connector configuration and the fraud decision paths you need to keep, before any build begins.

How we scope

  • Written scope names which Decision Manager profiles, rules and decision outcomes stay in Cybersource and which Hyperswitch flows call them.
  • We record the processors, payment methods and regions in scope so the fraud check path is agreed for each one.
  • Scope also fixes who owns Cybersource credentials, Hyperswitch deployment, and the test plan before delivery starts.

How we build

  • We configure the Cybersource connection and fraud settings in Hyperswitch in a non-production environment first.
  • We map each pre-auth or post-auth fraud decision point to a defined Hyperswitch payment flow, with the expected outcome recorded.
  • We test accept, review and reject outcomes, including failover behavior when the fraud service is slow or unavailable.

How we hand over

  • You receive configuration records, a decision-flow diagram and the test results for each outcome and payment method.
  • Runbooks describe how to change Decision Manager rules, rotate credentials and read fraud decisions in Hyperswitch logs.
  • We walk your operations and risk teams through the handover so they can make routine changes without us.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, scoped separately from the build.
  • When Hyperswitch releases change connector or fraud behavior, we can retest the Cybersource path before you upgrade.
  • Retainer scope is agreed in writing, and a quote follows from that scope and the environments involved.

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.