Routing co-badged cards (CB, eftpos, MADA, Dankort) with Hyperswitch

Co-badged cards carry a local and a global network, which changes cost, dispute handling and customer choice. This page explains how Hyperswitch routes them and what to plan before you configure it.

On this page

Routing co-badged cards with Hyperswitch: what changes when one card carries two networks

For a merchant or platform team whose payment stack receives co-badged cards such as CB, eftpos, MADA and Dankort, the routing choice affects cost, approval and disputes at the same time. A co-badged card carries two payment networks on one physical or virtual card: a domestic network that is often cheaper and approves more reliably locally, and a global scheme such as Visa or Mastercard that the cardholder can use abroad. The card's BIN or account range identifies which networks are present, and the acquirer or processor usually decides which one a transaction travels over unless the merchant or the customer's market rules say otherwise.

The network choice is made per transaction, not once per card. The same cardholder can pay domestically on the local network one day and cross-border on the global scheme the next, so a routing decision that is right for one payment may be wrong for another. Teams should plan for this as soon as they accept cards issued in markets where co-badging is common, or when they add a processor that can route to one network but not the other. Before writing any rule, confirm with each processor which networks it can send a co-badged transaction over, what fees apply to each, and which dispute rules and chargeback windows govern each scheme.

In Hyperswitch, the documented routing strategies (rule-based, volume-based, auth-rate, multi-objective, least cost routing for debit networks and default fallback routing) are the tools for applying those decisions. Rule-based routing can key on payment attributes such as currency or country, and the fallback order determines what happens when a chosen processor is ineligible. Least cost routing for debit networks is the documented strategy closest to this problem, but its prerequisites and eligibility for co-badged cards should be checked against the Hyperswitch routing documentation and your processor configuration before you rely on it. The Hyperswitch docs are the place to confirm which network-level signals each strategy can read.

How a co-badged payment moves through Hyperswitch routing

The flow starts at the checkout request, which reaches the Hyperswitch Router. The Router applies the routing strategy configured for the merchant, such as rule-based, auth-rate, least cost or fallback, and selects a connector. The chosen connector then carries the payment to its network. Transaction records feed the disputes and reconciliation outputs. Check at each hand-off which network the routing decision actually selected, and confirm in your own configuration which strategy applies to co-badged cards.

Co-badged payment path from checkout through Router, routing decision and connector.

Which routing strategy fits co-badged card traffic

This table compares the five routing strategies Hyperswitch documents for co-badged card traffic, showing when each fits, what input it needs and what it costs you. Read each row as a decision: the first two columns tell you when to choose a strategy and what must be configured first. The main takeaway is that least cost routing and multi-objective routing depend on cost data you must supply, so confirm that data exists before choosing them.

StrategyWhen it fitsWhat it needs as inputTrade-off
Rule-based routingYou must send a specific co-badged card type to a specific network or processor, for example for a local scheme requirement or a known acquirer agreementRules defined on card attributes such as BIN range, currency and region, plus connectors that support the target networkPredictable and auditable, but every new card range or market needs a rule written and maintained by hand
Auth-rate routingBoth networks are available and approval rates differ meaningfully between them for your customer baseEnough recent transaction history per processor and network for the strategy to learn from, plus at least two eligible connectorsCan concentrate traffic on one route, so you should monitor distribution and guard against over-concentration
Least cost routing for debit networksCo-badged debit cards can run on a local debit network or a global network, and the local option is cheaper for youConnector setup that exposes the debit network options, and the dashboard prerequisites Hyperswitch documents for this strategyLowers fees on eligible debit traffic, but tells you nothing about approval rates, so it can route to a lower-approving network
Multi-objective routingYou want approval rates balanced against processor fees rather than optimized for one aloneAuth-rate history plus processor cost data, such as settlement reports or invoices, ingested so Hyperswitch learns real per-transaction costsBest balance when cost data is accurate, but results are only as good as the cost feed and it needs more setup than a single strategy
Default fallback routingNo rule applies to a co-badged card, or the chosen network or processor is ineligible for the transactionAn ordered backup list of processors and networks configured in advanceKeeps payments flowing when other rules fail, but the fallback order is static and may not be the cheapest or highest approving route
Combined setup (illustrative)A merchant routes local debit by least cost, sends credit cards by auth rate, and keeps a fallback order for everything elseAll inputs from the rows above, with each strategy tested on a limited split before full rolloutGives the most control, and the most configuration to review each time a processor or network changes

How to set up co-badged card routing in Hyperswitch

This sequence takes a co-badged card setup from confirmed network support to verified routing, so each transaction goes over the network you intended and the record shows it. Each step ends with a check you can repeat before go-live.

  1. Confirm local and global network support per acquirer

    Before touching Hyperswitch, list every co-badged card range you accept, the local network and global network on each, and which of your acquirers can process each network. Ask each processor in writing which networks and transaction types they route, and whether a card can be sent over the local network only when the customer or your rules allow it. Record the answers in a matrix your payments and risk teams both sign off. The step is done when every card range you accept maps to at least one eligible processor and network pair.

  2. Connect the processors in the Control Center

    In the Hyperswitch Control Center, add each acquirer as a connector with its credentials, enable the payment methods and card networks you confirmed in the previous step, and configure webhooks so authorization and dispute events return to the platform. Use the connector documentation for each processor to confirm which network fields it accepts. Keep credentials in your secrets manager rather than in shared notes. The step is done when each connector shows as active and a test authorization returns a response from the processor.

  3. Define routing rules or least cost settings

    Create the routing rules that decide which network and processor a co-badged card uses. A rule-based setup can match on card BIN, issuing country, currency, amount or merchant category, and send matched traffic to a chosen connector. For debit co-badged cards where the goal is the cheapest eligible local debit network, use least cost routing for debit networks instead, after confirming the connector and dashboard prerequisites. Document each rule with its purpose and owner. The step is done when the rule set saves and a preview or test payment matches the rule you expect.

  4. Configure default fallback routing

    Set the fallback processor order used when no rule applies, or when the chosen processor is ineligible for a card, such as a network it does not support. Make sure the fallback still lands on a connector that can process the card's networks, because a fallback to an unsupported network will fail. Treat this as a production prerequisite, and confirm the order with your acquirers. The step is done when you can point to a fallback path for each co-badged range that the matrix in step one flagged as having fewer eligible options.

  5. Test in the hosted sandbox or a self-hosted environment

    Run the full routing configuration in the hosted Hyperswitch sandbox or in your own self-hosted environment before any live traffic. Use test card numbers for each co-badged range and cover the rule matches, the fallback path and a case where the preferred processor is ineligible. Keep the test cases in version control so they can be rerun after each change or upgrade. The step is done when every test case returns the network and processor the matrix predicts, and any mismatch has been fixed and retested.

  6. Verify with sample transactions and check the network on each record

    Send a small set of sample transactions through the production configuration, or a controlled live pilot if your acquirers and risk team approve it, and open each transaction record. Confirm that the network selected, the connector used and the routing reason match the rule that should have fired. Check that the cost and dispute data attached to each record is the data your finance and operations teams will need later. The step is done when a sample covering each co-badged range shows the expected network in its record, and the results are recorded for your go-live review.

Self-hosted versus hosted routing for co-badged cards

With the native Hyperswitch Vault, card data is stored in the card vault service that you run in your own infrastructure. The routing engine, the vault and the connector configuration sit in the same stack, so the card network and issuer country needed for co-badged rules are available inside your environment. The Hyperswitch docs on the self-hosted in-house PCI model state that the merchant is fully responsible for PCI DSS certification and data handling in this model.

  • Network identification: Confirm that the card network and issuer country reach the routing engine for every co-badged BIN you accept, because CB, eftpos, MADA and Dankort rules depend on them.
  • Local and global connectors: Each network path, local or global, is configured in the Control Center with credentials that you store, rotate and restrict.
  • Key custody: You hold the encryption keys and the runbooks for key rotation, and any change to routing that touches card data follows the same change control.
  • Evidence scope: Your PCI DSS assessment and evidence must cover the vault, the router and the database that holds card-related data, so routing changes need to be traceable.

Before you change co-badged routing in this model, ask your assessor which components fall within your assessment and how a routing change will be recorded as evidence.

Security and operational risks in co-badged routing

Co-badged routing changes which network carries a transaction, so a single misconfiguration can move money, fees and dispute rights to the wrong rail. The controls below cover routing rules, administrator access, upgrades and change history, and each one is something your team can verify in its own deployment.

Routing rule review before go-live

A rule that matches on the wrong card attribute, or a priority set in the wrong order, can send domestic cards over an international network or the reverse. Before go-live, test each co-badged BIN range against the intended network in a sandbox and confirm which rule and which fallback handled each test payment. Keep a written map of BIN ranges to networks and check it against the scheme's published data before every change.

Single sign-on limits for the dashboard

The Control Center supports single sign-on through OpenID Connect only, so SAML-only identity providers cannot be connected directly. Users must be invited before they can sign in, and roles are managed inside Hyperswitch rather than mapped from your identity provider. Confirm that offboarding removes access in Hyperswitch as well as in your directory, because no automatic provisioning will do it for you.

SSO setup docs

Role scope for routing changes

Because roles live in Hyperswitch, the people who can edit routing rules must be named explicitly in that system. Review which accounts can create, edit or activate routing configurations, separate those rights from the ability to view payment data, and record who holds them. An illustrative check: a support role should be able to read a payment's routing outcome without being able to change the rule that produced it.

Upgrade compatibility of routing components

Routing depends on the router, the Control Center and the routing service moving together. Each Hyperswitch release publishes a compatibility matrix for Control Center and web client versions, so read it before any upgrade. Also confirm the Superposition dependency that became required in v1.124.0 is running before you upgrade past that version, and rerun co-badged test cases on a staging environment after every change.

Hyperswitch releases

Audit trail for routing configuration

When a routing change is disputed or a spike in cross-border fees appears, you need to know who changed the rule, when, and what it said before. Confirm that Hyperswitch records configuration changes with user and timestamp in your version, and export those logs to your own log store with retention set by your compliance team. Test the trail by making a harmless change in staging and finding it in the export.

Questions teams ask before routing co-badged cards

What drives the cost of routing co-badged cards with Hyperswitch?

The cost depends on how many processors and acquirers you connect, how many card networks and regions the routing logic must cover, and how much of the decision logic you want written against your own settlement data. Setup cost is mostly one-time: mapping which network each co-badged card can use, writing routing rules, and testing each path. Recurring cost comes from keeping processor connectors, network lists and rules current as acquirers change terms. Ask any partner for a quote that separates these items, lists which acquirer and network assumptions it depends on, and states what is excluded, such as acquirer-side certification work.

How long does co-badged card routing setup take?

Duration depends on the number of processors, whether you run one environment or several, and whether each acquirer has to certify a new path before live traffic. A single local network with one acquirer is a much smaller job than several acquirers across staging and production. Hyperswitch itself is deployed in your own infrastructure, so environment setup, including the Kubernetes and database layers, adds time before routing work begins. Ask for a written timeline that lists each environment, each connector and each acquirer dependency, and that names the points where you must supply information.

What must our team provide before co-badged routing work starts?

Before work starts, the team needs to provide:

  • Acquirer and processor contracts that state which networks each card can be routed over and the fee terms for each
  • Current card network and BIN lists for the co-badged schemes you accept, with the local and global network identified for each range
  • Written routing rules, including which network is preferred, when a fallback applies and who approves changes
  • Access to the Hyperswitch environment and processor sandbox credentials for testing

Missing contract terms are the most common reason routing rules have to be rewritten, so confirm them early.

Can an in-house team set up co-badged card routing themselves?

Yes, if the team already runs payments infrastructure and has people who can read acquirer contracts, interpret network rules and operate a Kubernetes-hosted application. The hard parts are rarely the Hyperswitch configuration itself. They are keeping BIN data current, confirming with each acquirer which networks it will actually settle, and testing failure paths such as a declined local network that must fall back to a global one. Map those skills against your team before deciding. If the gap is in one area, such as acquirer negotiation or testing, a fixed-scope engagement can cover only that part.

How do co-badged cards affect disputes and chargebacks?

Dispute rules differ by network, so the network a transaction is routed over can change which dispute reason codes, evidence requirements and deadlines apply. A payment routed over a local network may follow that network's dispute process, while the same card routed over a global network follows the global process. Your routing rules should record which network was used for each payment so disputes can be matched to the correct scheme rules. Confirm the dispute workflow with each acquirer, and check how Hyperswitch surfaces dispute data in your Control Center before go-live.

When should we bring in a partner for co-badged card routing?

Bring in a partner when the work touches several acquirers, when you need routing decisions to be documented for an audit or compliance review, or when your team cannot dedicate people to testing and maintenance over time. A partner is also useful when you need to show that routing decisions are controlled, logged and reviewable, which is different from being certified. DeployOpen plans, implements and documents self-hosted Hyperswitch deployments in your own infrastructure and runs security testing on the result. It does not issue audit reports or certifications, so ask any partner for a scope that lists what they deliver and what remains with your team.

Which Hyperswitch routing strategy handles co-badged cards?

Hyperswitch documents six routing strategies, and co-badged routing usually combines rule-based routing with least cost routing for debit networks and default fallback routing. Rule-based routing lets you direct a specific network or BIN range to a chosen processor. Least cost routing for debit networks can pick the cheapest eligible local debit network, but it depends on the connector and dashboard prerequisites being in place. Default fallback routing covers cases where no rule applies or a processor is ineligible. Confirm in the Hyperswitch intelligent routing documentation which strategies support your processors before designing the rules.

How DeployOpen scopes co-badged card routing

DeployOpen scopes co-badged card routing as a fixed-scope engagement with written deliverables. The scope is agreed in writing before work starts, and the work covers planning, implementing, integrating and documenting a self-hosted Hyperswitch deployment inside your own cloud accounts, data centers or air-gapped network. DeployOpen does not run your payments on its own infrastructure, and it does not issue certifications or attestations for the result. The scope decides which network rules you build, which processors you connect and what evidence your team receives at handover.

Before quoting, DeployOpen needs four inputs. The first is the acquirer list: which processors and local acquirers you already hold contracts with, and which of them accept the local network and the global scheme for each card. The second is the market list, because customer choice rules and network preferences differ by country. The third is your routing goals, such as approval rate, processor cost or a gradual cutover, since these determine whether the work uses the auth-rate, volume, least cost or multi-objective strategies. The fourth is sandbox access to each processor, so test transactions for each network path can be run before any production traffic is routed. Confirm with each acquirer which network identifiers and fields they expect in the payment request.

The written scope should name the deliverables: the routing rules and fallback order, the connector configuration, test cases for each co-badged path, and the runbook your team uses to change routes. Ongoing support, upgrades and continuous testing are available as retainers, and the retainer terms should be compared against your own team's capacity for Hyperswitch releases, which are published on the Hyperswitch releases page. Ask for a quote that separates one-time build work from recurring support, and confirm who holds the sandbox credentials and API keys after handover.

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.