Hyperswitch Cybersource integration: what to confirm before you plan the build
If you run or plan a self-hosted Hyperswitch and want Cybersource as a processor, your first task is to confirm whether a Cybersource connector exists in the exact release you will deploy. Hyperswitch documents connections to more than 100 payment processors, and the names it cites (Stripe, Adyen, PayPal, Worldpay and Checkout.com) are examples, not a complete list. The research behind this page does not confirm a Cybersource connector or its feature set, so do not assume one. Check the connector list in the release notes and the connector documentation for your target version, then record which flows (card authorization, capture, refunds, voids, webhooks, payouts, wallets, network tokens) are actually supported. Ask Cybersource-facing questions in the same review, such as whether your merchant account and region are eligible.
There are two paths. The first is to use an existing connector, which means configuring credentials, webhooks and payment methods in the Control Center and routing traffic to it. The second is to build a custom connector, which means writing the integration against Hyperswitch's connector framework, testing every flow you need, and maintaining that code through upgrades. The effort, testing scope and ongoing ownership differ sharply between the two, and the choice affects how much of the rest of this page applies to you. The sections that follow assume you have confirmed which path applies. If the connector exists but a flow you need is missing, treat that gap as a build decision before you commit to a timeline.
Write down the outcome you need before you start: for example, Cybersource as a second acquirer for card traffic, or as the only processor for one market. That outcome determines whether you need every wallet and recurring flow or only a subset. Confirm with your Cybersource account team what your merchant configuration permits, and confirm with your security team how card data will reach the processor, since raw card handling changes your PCI DSS scope. Keep a dated record of the release you tested against, because Hyperswitch ships regular minor releases and connector behavior can change between them.
What you need in place before configuring Cybersource
Configuring Cybersource behind Hyperswitch depends on three things that must be settled first: a self-hosted Hyperswitch stack you operate, a Cybersource merchant account with API access, and a Control Center login with enough rights to add a connector. The cards below cover what to verify in each before you touch connector settings.
Self-hosted Hyperswitch stack
Confirm the router, scheduler, PostgreSQL and Redis run in infrastructure your team controls, not on a shared hosted sandbox. Cybersource credentials and card-related settings will live in that database, so the deployment model determines who holds them. Check that the stack is current enough for the Control Center and web client versions you plan to use, and record the exact Hyperswitch release you deploy so later upgrades can be traced.
Self-hosting docsSuperposition service for v1.124.0 and later
Hyperswitch release v1.124.0 made Superposition a required configuration dependency. Any deployment that upgrades to that version or later must have a Superposition service running first, or the upgrade will fail to start cleanly. Add it to your environment plan before you schedule the upgrade, and confirm its availability and backup coverage the same way you would any other stateful service in the stack.
Hyperswitch releasesControl Center and web client versions
Each Hyperswitch release publishes a compatibility matrix for Control Center and web client versions. Pin the Control Center build and the web client to the versions listed for your router release, rather than taking the latest build of each. A mismatch can leave connector configuration screens or SDK flows behaving differently from the documentation, so verify the pairing in a non-production environment first.
Control Center repositoryCybersource merchant account with API access
Confirm with Cybersource which merchant account, processing environment and API access your contract provides, including whether you receive the test and production environments you need. Ask which credential types are issued to your account and how each is generated, rotated and scoped. Also confirm which network settings are enabled, such as the card networks, wallets and tokenization options your acquiring setup supports, since these determine what you can configure in Hyperswitch.
Control Center admin login
Hyperswitch Control Center requires users to be invited before they can sign in, and roles are managed inside Hyperswitch rather than mapped from your identity provider. Make sure the person configuring Cybersource holds an admin role in the merchant account, and that a second admin exists for continuity. Single sign-on through OpenID Connect is supported, but SAML is not, so plan user onboarding accordingly.
Control Center SSO docsVault model and PCI scope decision
Decide before configuration which vault model will hold card data, because Cybersource connector behavior and your PCI DSS obligations depend on it. In the self-hosted, in-house PCI model, the merchant carries full responsibility for PCI DSS certification and data handling. Document the choice with your assessor and your security team so the connector setup is not reworked after card flows go live.
In-house PCI modelHow a Cybersource payment moves through the Hyperswitch Router
The payment starts at the merchant checkout, where the Hyperswitch SDK or API call sends the request to the Router inside the self-hosted stack. The Router selects the Cybersource connector, which forwards the request to Cybersource and returns the response to the Router. Cybersource then sends asynchronous webhooks back to the Router, which updates its PostgreSQL and Redis state before the merchant backend is notified. Check that webhook delivery reaches the Router and that the status shown to the merchant matches the status stored in PostgreSQL.
Request, response and webhook paths through the self-hosted Router to Cybersource.
Configuring the Cybersource connector in Hyperswitch, step by step
This sequence takes a self-hosted Hyperswitch deployment from a Cybersource account to a connector that has passed test authorization, capture, webhook, refund and void checks. Each step ends with a check you can run, so a fault shows up before any live traffic reaches the processor. Confirm field names and endpoint paths for your release in the Hyperswitch documentation and with Cybersource.
Confirm the connector is in your deployed release
Before any configuration, check that the Cybersource connector is included in the Hyperswitch version you run in production and in your non-production environment. Review the release notes and the compatibility matrix for Control Center and web client versions on the Hyperswitch releases page. If you are upgrading, confirm the upgrade prerequisites first. The v1.124.0 release notes state that a Superposition service must be running before upgrading to that version. Done means the connector appears in the Control Center connector list for your deployed version, and the Router and Control Center versions match the compatibility matrix.
Create Cybersource API credentials for the merchant
The Cybersource merchant or account administrator creates the API credentials that Hyperswitch will use, separately for the test and production environments. Ask Cybersource which credential type, key format and merchant identifiers apply to your account, and confirm that the credentials carry only the permissions the connector needs. Store the values in your secrets manager, not in Helm values files or version control. Done means you have a test credential set that authenticates against the Cybersource test environment with a simple API call made outside Hyperswitch.
Add the connector in the Control Center
A merchant administrator signs in to the Control Center and adds Cybersource under the connector settings for the business profile that will use it. Enter the test credentials, select the test environment and label the connector so that routing and reporting can identify it later. Only users who have already been invited can make this change, and roles are managed in Hyperswitch rather than mapped from your identity provider. Done means the connector saves without a validation error and shows as enabled for the profile, with the test environment selected.
Set payment methods and currencies
Limit the connector to the payment methods and currencies that your Cybersource account is enabled to process. Set card networks, wallets such as Apple Pay and Google Pay if your account supports them, and each currency explicitly rather than accepting defaults. Confirm the wallet setup requirements with Cybersource before enabling them, because wallet support depends on account configuration. Done means a test payment request for an enabled method and currency returns the Cybersource connector in the payment method list, and a request for an unlisted currency is excluded.
Configure the webhook endpoint and signing
Register the Hyperswitch webhook endpoint for your deployment in the Cybersource notification settings, using the path given in the Hyperswitch Cybersource documentation for your release. Configure the signing or verification setup that Cybersource supports, and store the signing secret in your secrets manager so the Router can verify each notification. Ask Cybersource which event types they send for authorizations, captures, refunds and voids. Done means Cybersource sends a test notification that reaches the Router, the signature verifies, and the event is recorded against the matching test payment in the Control Center.
Run test authorization and capture
In the non-production environment, run an authorization with a test card from the Cybersource test set, then capture the full amount through Hyperswitch. Use the hosted sandbox or your self-hosted staging stack, and never send live card data through a test environment. Check the payment status in the Control Center after each call and compare the reference with the transaction in the Cybersource test console. Done means the authorization and the capture both show as succeeded in the Control Center, the amounts and currencies match, and the Cybersource console shows the same transaction references.
Review refund and void behavior
Run a void on an uncaptured authorization and a refund on a captured payment, including one partial refund, in the same test environment. Confirm how Cybersource reports each action and how Hyperswitch maps those states, and check whether partial refunds and repeat refund attempts behave as your reconciliation process expects. Ask Cybersource about any timing differences between a refund request and its settlement. Done means the void moves the authorization to a cancelled state, the refunds reduce the captured amount correctly, and the status changes appear in both the Control Center and the Cybersource console.
How Cybersource data maps to Hyperswitch payment objects
This table compares each category of data exchanged between Hyperswitch and Cybersource with the Hyperswitch object or field that carries it. Read it as a planning map for credentials, attempts, references, tokens, refunds, captures and webhooks, then confirm exact field names in the connector source and Cybersource documentation for the version you run.
| Data category | Hyperswitch side | Cybersource side and what to confirm |
|---|---|---|
| Merchant identifiers and credentials | Connector account configuration in the Control Center or API, stored encrypted by the platform | Merchant ID and API key credentials from the Cybersource account. Confirm which key type and environment (test or production) the connector expects. |
| Payment attempts | Payment intent with one or more payment attempts, each carrying amount, currency and selected connector | Cybersource authorization request created by the connector. Confirm how the connector maps capture mode and billing fields. |
| Transaction references | Connector reference fields stored on the payment attempt for lookup, reconciliation and support | Cybersource transaction ID returned on authorization and used for later captures, refunds and voids. Confirm which ID the connector stores for each operation. |
| Card and wallet tokens | Card data held in the Hyperswitch card vault or an external vault, referenced by a Hyperswitch token; wallet payloads passed to the connector | Cybersource payment or network token references where the connector uses them. Confirm whether your vault model keeps raw card data in your scope. |
| Captures and refunds | Capture and refund objects linked to the parent payment attempt and its connector reference | Cybersource capture and refund transactions referencing the original authorization. Confirm partial capture and refund support for your card types. |
| Webhook event types | Status updates on the payment attempt, refund or dispute record after the webhook is verified | Cybersource notification or event types sent to your endpoint. Confirm the exact event list, signature method and retry behavior in Cybersource documentation. |
| Error and decline codes | Connector error fields normalized into Hyperswitch error codes and messages for merchants | Cybersource reason and decline codes. Confirm the mapping table in the connector source, since unmapped codes may appear as generic failures. |
Apple Pay and Google Pay through Cybersource: what to verify
Hyperswitch lists Apple Pay and Google Pay among its supported wallets, but that listing does not by itself confirm that either wallet runs through the Cybersource connector. Whether a wallet works depends on the flows the Cybersource connector supports for your account and on your own enrollment with Apple and Google. Treat both as open questions until Cybersource and each wallet provider confirm them in writing, and do this before any checkout design or SDK work starts.
Start with enrollment. Apple Pay generally requires merchant identifiers, payment processing certificates and domain registration for every web domain that shows the button, and Google Pay requires a merchant profile with its own approval steps. Ask Cybersource which of these registrations it expects you to hold, which it performs for you, and who owns the certificate renewal calendar. Also confirm whether the wallet payload will be decrypted by Cybersource or by your own service, because that decision determines where cryptographic keys live, which systems fall into your PCI DSS scope, and who is accountable if decryption fails. Ask the same question about any Hyperswitch component that would touch the decrypted data.
Then confirm the data path. Ask Cybersource which of its products carries the wallet payload for your merchant configuration, and whether the Hyperswitch connector maps that payload to the authorization request in the same way. Document how your checkout SDK or front end passes wallet data to the Hyperswitch router, including which fields it sends and which it must never log. Record the answers in a short verification sheet with the date, the named contact at Cybersource, and the Hyperswitch version under test, because the connector's supported flows can change between releases of the Hyperswitch releases page.
Payouts, network tokens and recurring payments with Cybersource
Hyperswitch documents payouts as a separate workflow handled by dedicated payout processors, so a card acquiring connector does not automatically give you payout capability. Whether Cybersource can act as a payout processor in your Hyperswitch version, and for which payout methods and countries, is a point to confirm against the current connector documentation and the release you plan to run. Treat payouts as a distinct integration with its own credentials, reconciliation and failure handling.
- Separate connector category: Confirm whether Cybersource is listed as a payout connector, or whether you need a different payout processor for sellers or customers.
- Payout methods: List the payout instruments you must pay out to (cards, bank accounts, wallets) and check each against the connector's supported set.
- Account and entity setup: Confirm the merchant account, currency and onboarding requirements that the payout provider imposes before any test payout.
- Reconciliation: Plan how payout states and batch settlements will map into your ledger, since they do not follow the same timing as captured payments.
- Failure handling: Define retries and manual review for rejected payouts, including how returned funds are reported.
Ask the Hyperswitch maintainers and your Cybersource representative to confirm payout support in writing before you scope the build.
Hyperswitch documents network token features, which replace stored primary account numbers with tokens issued by the card networks. The practical value is fewer expired-card failures and fewer stored card numbers to protect, but the benefit depends on whether the network token lifecycle is supported end to end for Cybersource in your configuration. Provisioning, cryptogram generation, token updates and deletion each need to be confirmed separately.
- Provisioning path: Confirm whether tokens are provisioned through Cybersource, through Hyperswitch, or both, and which card brands and regions are covered.
- Lifecycle events: Check how token updates and lifecycle notifications (such as expiry or account changes) reach Hyperswitch and update the stored credential.
- Cryptograms and transaction flags: Verify that the transaction types you need (card-on-file, recurring, in-app) are sent with the correct indicators.
- Vault placement: Decide whether network tokens are stored in the Hyperswitch vault model you chose, so that the token reference stays within your PCI scope decisions.
- Deletion and consent: Define how a token is removed when a customer withdraws consent or closes an account.
Request a test plan from Cybersource that covers provisioning, update and deletion for each card brand you accept before you rely on network tokens in production.
Storing a Hyperswitch-level mandate or payment token, rather than only a Cybersource-specific subscription or token, lets the billing schedule and the stored credential move to another processor later. Hyperswitch sits between your billing logic and the processors, so the schedule can point at whichever connector is active. The move is not automatic, though: each processor issues its own credential, and some stored credentials cannot be transferred between providers.
- Hyperswitch-level reference: Keep your customer's stored credential reference inside Hyperswitch and map it to the Cybersource token, so routing can change without re-collecting card data.
- Migration limits: Confirm which Cybersource tokens or network tokens can be migrated to another processor and what the card brands require for that transfer.
- Merchant-initiated transaction flags: Check that recurring charges are marked as merchant-initiated with the correct series identifiers so issuers treat them consistently across processors.
- Failed renewal handling: Define retry timing and dunning rules in your billing layer, and confirm how Cybersource reports declines back to Hyperswitch.
- Customer communication: Record the mandate terms and cancellation path so they still apply after a processor change.
Before relying on a processor-agnostic schedule, test one recurring charge on Cybersource, then a simulated move to a second processor, and confirm the credential is accepted.
Securing the Cybersource credentials, webhooks and card data
A Cybersource connector in Hyperswitch touches merchant credentials, administrator access, inbound webhooks and, depending on the vault model, card numbers. The six controls below cover those four surfaces, and each one has a check your team can run before go-live and repeat afterward.
Keep Cybersource credentials out of config files
Cybersource connector credentials are merchant-level secrets that let your stack act on live payments. Store them in a secrets manager such as OpenBao, a cloud KMS-backed secret store or an external vault your team already runs, and inject them into the Hyperswitch deployment at runtime. Confirm that no values appear in Helm values files, Git history, container images or Control Center exports. Ask your team to name who can read the secret store and log every read.
Self-hosting docsLimit Control Center roles to connector needs
Only people who configure or audit the Cybersource connector should be able to change it. Hyperswitch manages roles inside the platform, so you cannot map groups from your identity provider to permissions. Users must be invited first, and there is no automated provisioning or removal. Review the invited user list each quarter, remove leavers manually, and keep the number of administrators small. Confirm which role can view connector secrets and whether that view is masked.
Use OpenID Connect single sign-on
The Control Center supports single sign-on through OpenID Connect only. SAML is not supported, and there is no just-in-time or SCIM provisioning. Route sign-in through your identity provider with multi-factor authentication enforced there, and treat the local invitation list as a second control you must keep in sync. Confirm the setup steps in the SSO guide before you rely on it for production administrators.
SSO setup guideVerify webhook authenticity before processing
Cybersource sends notifications to your endpoint, and anyone who learns the URL can try to send forged events. Confirm that the Hyperswitch webhook path verifies the signature Cybersource attaches to each notification before the event changes any payment state. Reject unsigned or mismatched events, log the rejection, and alert on spikes. Test this with a replayed or altered payload in the staging environment, and confirm the webhook secret is stored with the other credentials.
Keep card data inside the chosen vault model
Card numbers should reach the Cybersource connector only when the vault model requires it. In the self-hosted, in-house PCI model, your organization carries PCI DSS responsibility for the card vault and everything that touches card data. In the external vault model, the outsourced provider holds the card data and Hyperswitch handles tokens. Document which model you chose, then trace a test card from the checkout form to the connector call to confirm where the PAN appears.
In-house PCI modelLog and rotate connector configuration
Every change to the Cybersource connector, including credential replacement, webhook settings and routing edits, should leave an audit record showing who made it and when. Forward platform and database audit events to your central log store and retain them under your policy. Set a rotation schedule for Cybersource keys and webhook secrets, and confirm that rotation can be done without downtime. Ask Cybersource which key types expire and how overlapping keys are handled during a swap.
Common Cybersource failures in Hyperswitch and how to fix them
This table lists the failures teams most often hit when running Cybersource behind self-hosted Hyperswitch, with the likely cause and a check to run for each. Read each row as a diagnostic path: confirm the release and connector first, then credentials, wallet registration and webhooks, and finally processing and upgrade issues. The main takeaway is that most failures come from drift between environments, versions and processor-side registrations, which a short set of checks can catch early.
| Failure | Likely cause | Check and fix |
|---|---|---|
| Connector not available | The deployed router release predates the Cybersource connector, or the connector is not enabled in your configuration. | Check the release notes and compatibility matrix for your version, confirm Cybersource appears in your connector list, then upgrade or enable it. |
| Credentials rejected | Test keys are used in production, or production keys in test, so the merchant ID and keys do not match the environment. | Confirm the environment setting matches where the keys were issued, then run one sandbox authorization before go-live. |
| Apple Pay or Google Pay declined | Apple Pay domain verification or Google Pay merchant registration is missing for the exact checkout hostname. | Confirm each checkout domain is registered with Cybersource for the wallet, then retest from every domain in use. |
| Webhooks not reaching Router | The endpoint is unreachable through ingress or a firewall, or signature verification fails because the secret differs. | Send a test event, check ingress logs for the Router path, and confirm the signing secret in your config matches the one in Cybersource. |
| Payment status stuck | Webhook processing lags because the Scheduler consumer, the Redis queue or a PostgreSQL replica is behind. | Check Scheduler consumer health, Redis queue depth and replica lag, then reconcile stuck payments against Cybersource transaction reports. |
| Refund fails after partial capture | The refund exceeds the captured amount, or the request arrives before the capture is recorded. | Compare captured and refunded amounts in Hyperswitch with the Cybersource transaction record, then refund only the captured remainder. |
| Breakage after upgrade | Control Center or SDK versions do not match the router release, or a required dependency is missing. Release v1.124.0 requires a running Superposition service. | Match versions to the compatibility matrix, confirm required services run before upgrading, and test the upgrade in staging first. |
What teams ask before they plan a Cybersource integration
How much effort does a Cybersource integration behind Hyperswitch take?
Effort depends mostly on four drivers: whether a Cybersource connector is available in the Hyperswitch release you deploy, how many wallets and payment methods are in scope, whether payouts are included, and how much of your card-on-file base needs a token strategy. Each driver adds configuration, credential handling and test cases. Hyperswitch documents more than 100 processor connectors in its README, but connector support and feature coverage differ, so confirm the Cybersource connector's supported flows against the release you plan to run. Ask any partner to size the work by listing these four drivers and the number of test scenarios per driver.
How long does a Cybersource integration typically take?
The timeline is set by scope and by approvals, not by the connector configuration itself. The longest items are usually obtaining Cybersource account access and test credentials, agreeing the wallet and payout scope, completing security sign-off for the self-hosted stack, and running end-to-end tests with webhooks and refunds. No figure for typical duration was supplied for this topic, so ask for a written schedule with milestones tied to those dependencies and confirm which items sit on your side of the plan.
What does the work need from our team?
Plan on providing four things: Cybersource account access with the rights to create or view test and production credentials, a named technical owner who can make decisions on scope, security sign-off from the team that approves your infrastructure, and test environments where Hyperswitch can run without touching live cardholder data. Your payments operations team should also review refund, dispute and reconciliation flows before go-live. Confirm early who holds the Cybersource merchant relationship, because credential issuance and webhook endpoints depend on it.
Can our internal team build the Cybersource integration alone?
An internal team with Kubernetes, PostgreSQL and payments experience can build it, provided it has time for the Hyperswitch deployment, the Cybersource credential setup, webhook handling and a test plan covering wallets, refunds and recurring payments. The harder parts are usually operational: keeping the stack upgraded across Hyperswitch releases, rotating credentials and proving controls to auditors. Assess your team against those skills honestly. If the gap is in one area, such as wallet certification or payout flows, a fixed-scope engagement can cover that piece while your team keeps ownership.
What recurring work follows go-live?
Recurring work includes applying Hyperswitch minor releases, checking the Control Center and client SDK compatibility matrix for each one, and planning upgrades that carry breaking dependency changes. Hyperswitch ships roughly monthly minor releases, and v1.124.0 made Superposition a required dependency, so upgrade planning cannot be skipped. You will also rotate Cybersource credentials on a schedule, monitor webhook delivery and failed authorizations, and review access to the Control Center. Ask any partner whether these tasks are included in a retainer or billed separately.
What are the main risks to plan for in a Cybersource integration?
The main risks are webhook events that arrive out of order or fail silently, credentials scoped to the wrong environment, token migration errors for saved cards, and wallet configurations that work in test but fail in production. Each risk needs a test case and a monitoring signal. For self-hosted card handling, the Hyperswitch docs state that a merchant running the in-house PCI model is fully responsible for PCI DSS certification and data handling, so confirm your vault model before design work starts.
What should we ask for in a quote?
Ask for a written scope that lists the Hyperswitch release and deployment target, the Cybersource credential and environment setup, each wallet and payment method, payouts and network token work if included, the test matrix, and the handover documentation. Ask which items are one-time and which recur, such as upgrades and credential rotation. Ask what the client must supply and by when, and how changes to scope are priced. DeployOpen does not publish a price list, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing before work starts.
How DeployOpen works on this
DeployOpen plans, implements, integrates, documents and supports self-hosted Hyperswitch in your own infrastructure, including the Cybersource connector and its credentials, wallets, payouts and recurring payment flows. Scope and deliverables are agreed in writing before work starts, so your team knows what is built, tested and handed over.
How we scope
- Confirm which Cybersource services, payment methods and wallets your business needs in Hyperswitch before any build starts.
- Record the credential model, merchant accounts and environments the connector will use, including sandbox and production separation.
- Agree in writing which payouts, network token flows and recurring payment paths are in scope and which are deferred.
How we build
- Configure the Cybersource connector in your self-hosted Hyperswitch stack, with credentials held in your secrets management system.
- Set up webhook endpoints and verify signatures, retries and event handling against the flows agreed in the scope.
- Test card, wallet, payout and recurring transactions in a sandbox, then document results against the agreed acceptance criteria.
How we hand over
- Deliver configuration records, runbooks for credential rotation, webhook troubleshooting and routing changes, and a list of open items.
- Walk your payments, security and operations teams through the connector, the data flows and the controls that touch cardholder data.
- Provide evidence of configuration, testing and access controls that your compliance and security reviewers can examine.
How we support
- Plan upgrades to Hyperswitch releases and Cybersource API changes as a scoped task, tested in a non-production environment first.
- Offer ongoing support, upgrades and continuous testing as a retainer, with the coverage agreed in writing.
- Ask for the support hours, response expectations and escalation path in your quote, since these depend on your scope.

