How Airwallex fits into a self-hosted Hyperswitch stack
If you want cross-border card acceptance through a self-hosted Hyperswitch stack, Airwallex is one processor you add behind the Hyperswitch connector layer, not a replacement for it. Your checkout talks to your own Hyperswitch router, the router decides which processor handles each payment, and Airwallex is one of the destinations it can select. The practical consequence is that your payment flow, retries, vaulting and routing decisions remain inside infrastructure you operate, while Airwallex handles the acquiring leg for the transactions routed to it. Before you scope the work, confirm with the Hyperswitch connector documentation exactly which Airwallex methods, settlement currencies and API version the connector supports, and confirm the same items in your Airwallex account, because account-level enablement can limit what the connector can do in practice.
The integration runs through the connector configuration that your team creates in the Hyperswitch Control Center or through the API. Airwallex API credentials are entered into that connector configuration and stored in your own deployment, so the secrets sit in the database and secret handling you have designed for the stack rather than in a vendor-hosted service. Plan who may create or rotate those credentials, where the rotation record lives and how the Control Center roles you assign limit access to them. Airwallex sends payment status changes back to your deployment through webhooks, and those events reach the Hyperswitch router, which updates the payment record that your reconciliation and support teams read. Confirm the webhook endpoint, signature verification method and retry behavior in the connector documentation, and make sure your ingress and network policies allow Airwallex to reach that endpoint on the path your stack exposes.
What the team needs in place before the connector is configured
Airwallex can only be configured once the Hyperswitch stack, the Airwallex account and the card data decision are all settled. Work through these cards in order, because the webhook endpoint and the vault model affect how the connector is set up.
A healthy self-hosted Hyperswitch stack
Confirm that the Router, PostgreSQL and Redis are running and healthy before adding any processor. The architecture docs describe PostgreSQL with a master and replica setup and Redis for caching and the scheduler queue, so check each component's health, not only the Router pod. Pin the exact Hyperswitch version after reading its release notes on the GitHub releases page, and confirm the Control Center version against the compatibility matrix published with that release.
Hyperswitch releasesAirwallex account and API access
Confirm with Airwallex that your account is approved for card acceptance and that API credentials can be issued for the environment you are configuring. Also confirm which legal entity the account sits under, which settlement currencies are enabled and where settlement lands, because these affect how routing decisions are later reconciled. Ask Airwallex which of these items must be set up before API access is granted.
Public HTTPS endpoint for webhooks
Airwallex must reach your Hyperswitch deployment over public HTTPS to deliver payment status webhooks. Confirm the ingress or load balancer hostname, the TLS certificate and that the webhook path is not blocked by a web application firewall or an internal-only network policy. Test delivery from outside your network before go-live, and confirm how Hyperswitch verifies incoming webhook signatures.
Card data handling decision
Decide before configuration whether card data will reach Airwallex directly as raw card data or whether it will be tokenized through a vault. Raw card acceptance depends on Airwallex approving the merchant and on the attestation that the merchant provides, while the vault models determine who carries PCI DSS obligations. Record the decision, because it changes the payment flows you test and the scope of your environment.
Vault deployment modelsNon-production test environment
Set up a separate environment with its own Hyperswitch deployment, database and Airwallex sandbox credentials before touching production keys. Use it to exercise authorization, capture, refund and webhook flows, and to confirm that test webhooks reach the right service. Keep test and live credentials in different secret stores so a misconfigured connector cannot move real money.
How a card payment and its webhook move through Hyperswitch and Airwallex
The diagram starts in the customer's browser, where the Checkout SDK sends card details toward the card vault while the merchant backend sends only the payment intent. The backend passes the payment request to the Hyperswitch Router, which evaluates routing rules and selects the Airwallex connector. The connector looks up the card token in the vault, calls Airwallex, and receives the result and webhooks back to its endpoint. Check that the vault sits on its own trust boundary, that the SDK path matches your PCI DSS scope decision, and that webhooks reach the endpoint you configured.
Card data and webhooks across the merchant, vault and Airwallex boundaries.
Confirming Airwallex support before committing to the build
The first decision is whether the Hyperswitch connector list and documentation cover the Airwallex flows your business needs. Start with a written list: card authorization, capture, refunds, voids, and any payout or wallet flows you plan to run through Airwallex. Compare that list against the Hyperswitch connector documentation and the release notes for the version you intend to deploy. Support for one flow does not imply support for another, so each line item needs its own answer. Treat a flow you cannot confirm as an open question, not an assumption.
If Airwallex is not documented as a Hyperswitch connector, or a required flow is missing, the path changes. The work becomes a custom connector built against Hyperswitch's connector framework, which adds design, implementation, sandbox testing, and ongoing maintenance whenever Airwallex changes its API or Hyperswitch changes its internal interfaces. That effort recurs for as long as you run the connector, so it belongs in the scope and the quote, not in a later change request. The Hyperswitch docs are the place to start this check.
Confirm supported payment methods, settlement currencies, and webhook events with both the Hyperswitch documentation and Airwallex's own API documentation, then verify them with your Airwallex account team for the accounts and regions you will use. Ask the account team which currencies settle to which accounts, which webhook events are sent and how they are signed, and whether any feature depends on your account tier. Record each answer, its source, and the date you checked it in the scope document. Your quote should reflect those confirmed answers, so ambiguous items should be resolved before the quote is issued.
How to configure Airwallex in Hyperswitch, step by step
This sequence takes Airwallex from sandbox credentials to a staged live rollout behind Hyperswitch, with a check at each step so the team can confirm the connector works before real card traffic reaches it.
Confirm sandbox credentials with Airwallex
Your team, with the Airwallex account owner, creates or confirms API credentials in a sandbox or test account before anything touches production. Confirm which credential set belongs to which environment and who holds administrative access to the Airwallex dashboard. You know this step is done when a test API call from your network returns a successful response using the sandbox credentials and fails cleanly with the production credentials, which confirms the environments are separated.
Store credentials in the secret store
Place the Airwallex API key and any webhook signing secret in the secret manager your platform team already operates, such as a cloud KMS-backed secret service or a HashiCorp Vault instance, and reference them from the Hyperswitch deployment through environment injection. Keep them out of Helm values files, Git repositories and the Control Center free-text fields where possible. The check is that a grep of your configuration repositories returns no Airwallex secret values and that the Hyperswitch pods start with the references resolved.
Add the Airwallex connector in Hyperswitch
A Hyperswitch administrator adds Airwallex as a connector for the sandbox merchant account, either in the Control Center or through the Hyperswitch API, and enters the sandbox credentials from the secret store. Record the connector label and merchant connector account ID so later routing and reporting refer to the same object. The step is complete when the connector appears as enabled in the merchant account and a connector health or configuration check returns without authentication errors.
Set the webhook endpoint and verify signatures
Register the Hyperswitch webhook endpoint in the Airwallex sandbox dashboard, using the public URL your Hyperswitch deployment exposes for Airwallex events. Confirm in the Airwallex documentation which signature scheme and secret apply, then make sure Hyperswitch is configured to verify the signature on every event. The check is a delivered test event that Hyperswitch records as received and verified, and a deliberately altered test request that Hyperswitch rejects.
Configure currencies and payment methods
Work with the Airwallex account owner to confirm which card networks, settlement currencies and payment methods your Airwallex account is enabled for, then mirror only those in the Hyperswitch connector configuration. Mismatches between enabled currencies and what checkout offers are a common source of declines, so this list should match the written account setup. The check is a payment attempt in each enabled currency that completes in the sandbox, and an attempt in a disabled currency that Hyperswitch does not offer at checkout.
Add Airwallex to a routing rule with fallback
Add the Airwallex connector to a routing configuration with a default fallback rule, so that payments not matched by a specific rule still have a defined processor. Keep the first rule narrow, for example one currency or one geography, so you can observe its effect on a small share of test traffic. The check is a routing evaluation in the sandbox that shows the expected connector selected for matching requests and the fallback selected when no rule applies or the Airwallex connector is ineligible.
Test authorizations, captures, refunds and webhook replays
Run a test matrix in the sandbox covering authorization, capture, partial capture if supported, refund, and a replayed webhook for each event type, including failed and declined outcomes. Your QA owner should compare the Hyperswitch payment record, the Airwallex dashboard and the webhook log for each case. The step is done when every case shows matching status across all three records and a replayed webhook does not change the payment state a second time.
Enable live traffic in stages
Only after the test matrix passes, move the live credentials into the production secret store, repeat the webhook signature check against the production endpoint, and enable Airwallex for a small, defined slice of live traffic such as one currency or one customer segment. Expand the share in steps while monitoring authorization rates, declines and webhook lag against the baseline from your existing acquirers. The step closes when each stage has a recorded review and the team has written the criteria for the next expansion or rollback.
Which Airwallex objects map to which Hyperswitch fields
This table compares the Airwallex objects you will handle with the Hyperswitch fields or concepts they correspond to, and states what your team must confirm for each. Use it as a checklist during the connector setup and again during reconciliation testing. Exact field names are not listed here, so check the Hyperswitch connector documentation and the Airwallex API reference for each row before you write any mapping code.
| Airwallex object or setting | Hyperswitch field or concept | What the team must confirm |
|---|---|---|
| API credentials and environment | Connector account credentials for the Airwallex connector, configured per environment | Which credential set applies to sandbox and production, how keys are rotated, and where they are stored in your secrets system |
| Payment intent or transaction identifiers | Payment ID and the connector transaction reference on the payment attempt | Which Airwallex identifier is returned on creation, and which one must be stored to match later captures, voids and webhooks |
| Payment status values | Hyperswitch attempt statuses (for example authorized, charged, failed or pending) | Each Airwallex status the connector can return, how the connector translates it, and which states need manual review in your ops runbook |
| Settlement currency and merchant account | Connector account settings and per-currency routing rules in Hyperswitch | Which currencies settle to which Airwallex account, whether multi-currency balances are used, and how settlement currency is reflected in your reporting |
| Refund identifiers | Refund ID and the connector refund reference linked to the original payment | Which identifier Airwallex returns for a refund, whether partial refunds are supported for your card types, and how refund status is reported back |
| Webhook event types | Hyperswitch webhook events and the payment and refund state changes they trigger | Which Airwallex event types the connector consumes, how webhook signatures are verified, and how your endpoint handles retries and duplicates |
How to route Airwallex alongside other acquirers
When Airwallex is the only card acquirer, routing is mostly a configuration of default behavior rather than a competition between processors. Hyperswitch still needs a routing configuration that names Airwallex as the processor for each eligible payment, and the team should decide whether any rule should steer particular currencies, countries or card types away from it. Because there is no second acquirer to compare against, the main question is whether Airwallex accepts the traffic at an acceptable rate and cost.
- Default fallback routing: With one processor, the default route sends all eligible traffic to Airwallex. Confirm what happens when a payment is ineligible, since there is no alternative to fall back to.
- Rule-based routing: Use explicit rules only if a business reason exists, such as a currency or merchant category to decline or hold. Keep the rule set small so the configuration stays readable during an audit.
- Measurement baseline: Record the team's own authorization rates and fees per card brand, country and currency from Airwallex reports. Do not rely on general claims about any processor.
- Settlement currency: With one acquirer, settlement is simpler, but confirm which currencies Airwallex settles in for your account and how conversion is applied.
- Single point of dependency: An outage at Airwallex stops card acceptance unless a second route exists, so decide whether that risk is acceptable for your business.
Before go-live, confirm the routing configuration and the reporting you need to judge performance over time with the Hyperswitch and Airwallex documentation.
A common pattern pairs a domestic acquirer for local traffic with Airwallex for cross-border card payments. Hyperswitch can split traffic by rule, so that payments matching a country, currency or card origin go to one processor and the rest go to another. The trade-off is that each route has its own authorization behavior, fees and settlement currency, so the team must compare them on the same dimensions before choosing a split.
- Rule-based routing: Define rules on payment attributes such as currency, billing country or card issuing country. Rules are easy to explain to auditors and to reverse if results disappoint.
- Volume-based routing: Use volume-based distribution only when both acquirers are contracted to accept the share you assign, and when you can change the split without touching customer experience.
- Auth-rate routing: Let Hyperswitch favor the processor with the higher observed authorization rate. This needs enough transaction history per segment to be meaningful, so start with rules for segments that have volume.
- Multi-objective routing: Re-ranks processors by authorization rate with processor cost factored in. Confirm the cost inputs you supply, since the ranking is only as good as those figures.
- Settlement currency split: Routing cross-border traffic to Airwallex can place funds in more than one settlement currency. Plan reconciliation and treasury handling per currency before enabling the split.
Measure authorization rate, decline reasons, total fees and settlement timing for each route over a period long enough to cover normal weekly and monthly patterns before changing the split.
When a primary acquirer carries most of the volume, Airwallex can serve as the default fallback route, used when the primary is unavailable or a payment is ineligible for it. Hyperswitch documents default fallback routing for cases where no rule applies or a processor is ineligible, which makes this pattern a configuration choice. The main risk is that fallback traffic may look very different from primary traffic, so its results must be judged separately rather than averaged into the primary figures.
- Default fallback routing: Set Airwallex as the next route when the primary is ineligible or unavailable. Test the failover path in a sandbox before depending on it.
- Retry behavior: Confirm whether a failed primary authorization is retried through Airwallex automatically, and whether that retry is acceptable under your card network and customer rules.
- Separate measurement: Track fallback authorization rate, fees and disputes apart from primary traffic, since the mix of cards and countries differs.
- Duplicate-charge risk: Verify that a payment is not authorized twice when the primary times out after the issuer has already approved it.
- Settlement split: Fallback payments may settle in a different currency and on a different schedule, so reconciliation must match each payment to its processor.
Before go-live, ask Airwallex and your primary acquirer to confirm how each handles timeouts and duplicate authorizations, and document the expected behavior.
Security settings to lock down for this connector
Airwallex credentials, webhooks and Control Center permissions all sit on the same trust boundary, so a gap in any one of them can change how payments are accepted and settled. The cards below cover the settings to review before the connector goes live and again after every upgrade. Confirm each item against your own environment and your assessor's scope decisions.
Credential storage and rotation
Store the Airwallex API credentials in your own secrets manager, never in Helm values committed to a repository or in the Control Center notes field. Keep the production and sandbox keys in separate secret stores with separate access groups. Set a rotation schedule and confirm with Airwallex how a key is revoked and replaced without dropping live traffic. Test the rotation in sandbox first, then record who can read the secret at the Kubernetes and vault layers.
Webhook signature verification
Airwallex webhooks change payment status inside Hyperswitch, so an unsigned or spoofed call can alter records. Confirm with Airwallex which signature scheme and secret it uses for webhook delivery, then verify that your Hyperswitch deployment checks the signature on every inbound event. Restrict the webhook endpoint at the ingress or gateway to the sender addresses Airwallex publishes, and confirm that address list with Airwallex before you rely on it.
Connector edit permissions
Control Center roles decide who can add, change or disable the Airwallex connector and its routing. Hyperswitch manages roles itself rather than mapping them from your identity provider, so review each invited user and remove accounts that no longer need connector edit rights. Keep at least two people who can approve a connector change, and avoid giving routing edit rights to the same people who hold production credentials.
Raw card acceptance attestation
Accepting raw card data from your own checkout, instead of tokenized card data, depends on Airwallex approving that mode for your account, and Airwallex may require an attestation of compliance from you first. Do not enable raw card handling until Airwallex confirms in writing what it requires for your merchant profile. Ask your assessor how raw card flows change your PCI DSS scope before the first live transaction.
Audit logging of connector changes
Every change to the Airwallex connector, including credential updates, routing rule edits and disabled flags, should leave a record with the user, time and before-and-after values. Check whether your Hyperswitch version writes these events to a log you can export, and forward them to your central logging platform. Confirm retention with your compliance team, because the record is the evidence you will show an auditor when asked who changed a live payment path.
Sandbox and production separation
Use separate Airwallex accounts, separate Hyperswitch merchant accounts and separate connector configurations for sandbox and production. A test key that reaches a production connector can send real transactions, so block cross-environment use at the secret store and the deployment pipeline. Confirm with Airwallex which sandbox features differ from production, so your test results reflect live behavior. Review the environment labels in Control Center before each release.
Why Airwallex payments fail or stall in Hyperswitch
This table maps common Airwallex connector failures to their likely causes and to checks your team can run. Read each row as a triage path: start with the symptom you see, confirm the cause with the listed check, then apply the fix. Most stalls trace back to credentials, webhook delivery or status mapping, so verify those before changing routing or processor settings.
| Symptom | Likely cause | Fix and check |
|---|---|---|
| Connector returns authentication errors on every request | Client ID or API key was copied from the wrong Airwallex environment, or the sandbox and production credentials were mixed | Confirm the environment setting in the connector configuration matches the environment that issued the credentials, then re-enter both values and send one test authorization while reading the connector request log |
| Webhooks never reach Hyperswitch | The webhook endpoint is not reachable over HTTPS from Airwallex, or a firewall or ingress rule blocks the path | Confirm the public webhook URL resolves and returns a success response over HTTPS from outside your network, then check the ingress and load balancer logs for the Airwallex request |
| Webhook signature check fails | The webhook signing secret in Hyperswitch does not match the one registered in Airwallex, or the body was modified by a proxy before verification | Compare the signing secret in both systems, make sure no gateway rewrites or re-encodes the request body, then replay a test event from Airwallex and confirm the signature check passes in the logs |
| Payments stay pending after the customer completes checkout | Airwallex status changes are not reaching Hyperswitch, or Airwallex intermediate statuses are not mapped to a Hyperswitch status | Pick one stuck payment ID, compare its status in Airwallex with the status in the Hyperswitch Control Center, check that the matching webhook was received, and replay it if it was lost |
| Payment fails with an unsupported currency or payment method | The Airwallex merchant account is not enabled for that currency, country or method, or the connector configuration does not list it | Ask Airwallex which currencies and methods the account is enabled for, align the Hyperswitch connector configuration with that list, and retry with a test payment in each currency you plan to route |
| Routing never selects the Airwallex connector | The routing rule conditions do not match the request, the connector is not attached to the merchant profile, or the default fallback sends traffic elsewhere | Open the routing rule evaluation for a sample payment, confirm each condition matches the request fields, confirm Airwallex is enabled on the same profile, and test with the default fallback temporarily disabled |
| Raw card requests are rejected by Airwallex | Airwallex does not accept raw card data from this setup until the merchant provides the attestation it requires | Confirm with Airwallex whether raw card acceptance is enabled for your account and what attestation it expects, then use a tokenized or vault-based flow if raw acceptance is not approved |
Questions buyers ask before hiring help with the Airwallex connector
What drives the cost of an Airwallex integration through Hyperswitch?
The main cost drivers are the number of payment flows in scope, the number of processors already in place and the amount of routing logic you want. Connecting a processor to a self-hosted Hyperswitch stack involves credential setup in the Control Center, webhook endpoints, payment method configuration and testing in sandbox. Each additional flow, such as refunds, captures, payouts or saved cards, adds build and test work. Routing Airwallex alongside your existing acquirers adds rule design and measurement. Hosting, cloud accounts and the PCI DSS scope of your own environment are costs you carry regardless of who builds the connector, and some of them recur. A quote follows from a written scope, so a clear list of flows, processors and environments makes the estimate more precise.
Can an in-house team connect Airwallex to Hyperswitch without a partner?
Yes, a team with payments engineering experience can do it if it has the skills and time. Hyperswitch is open source under Apache 2.0, so your engineers can read the code and documentation without a license fee. The work still requires familiarity with Hyperswitch configuration, webhook handling, idempotent request design and secrets management. Confirm Airwallex's own API documentation, sandbox access and supported methods directly with Airwallex before you plan. Teams often find the hard parts are not the first successful payment but the edge cases: partial captures, refunds after settlement, missed webhooks and reconciliation mismatches. A partner is useful when those skills are missing, when the work has to finish on a fixed schedule, or when you want a written scope. DeployOpen implements Hyperswitch inside your own infrastructure, so the result stays under your control.
How long does an Airwallex connector project usually take?
The duration depends on how many payment flows, environments and processors you connect, and on how quickly your team gets sandbox credentials and internal approvals. Work usually runs in phases: confirming Airwallex supported methods and settlement currencies, confirming the Hyperswitch environment, configuring the connector in sandbox, building webhook handling and reconciliation checks, testing failure cases, and then rolling out in stages. Delays often come from outside the build: Airwallex account onboarding, credential issuance, compliance review of cardholder data flows and change windows in production. No duration is given here because none has been confirmed for this connector. Ask any provider for a phase plan that lists dependencies and the items you must supply, and ask which dates depend on third parties.
What does an Airwallex integration need from our engineering, finance and compliance teams?
The integration needs each team to act early, because their inputs set the design. The work needs three groups to act early:
- Engineering: a named owner for the Hyperswitch environment, access to Airwallex sandbox credentials, a secrets store for API keys and webhook secrets, and a decision on where webhooks land.
- Finance: confirmation of the settlement currencies, the daily close process, how fees and FX are booked, and which reports they will reconcile against.
- Compliance and security: review of which cardholder data flows touch your environment, the vault model you choose, access approvals for the admin console and sign-off on audit logging.
Engineering usually carries most of the build effort, but finance and compliance decisions change what gets built, so they should be involved before configuration starts.
What happens if Airwallex is not in the Hyperswitch connector list?
Check the connector list in the Hyperswitch documentation first, because connector availability is the starting point for scope. If Airwallex is not listed, the work is not necessarily impossible, but the scope changes: a custom connector must be written, tested, secured and maintained, which is a separate project with its own cost and timeline. Hyperswitch documents how connectors are structured, so a custom build is a real option to evaluate, but it carries ongoing maintenance for every Hyperswitch upgrade. Ask the provider to confirm in writing which flows are supported, which are not, and whether the connector is maintained upstream. Do not plan around a connector you have not verified. Also check whether an already listed acquirer covers the same markets and currencies you need.
How do settlement and reconciliation work across Airwallex and other acquirers?
Each acquirer settles funds on its own schedule, in its own currencies, and with its own reports. Reconciliation means matching Hyperswitch payment records against each acquirer's settlement files and your bank deposits, then explaining differences such as fees, FX conversion, refunds, chargebacks and timing. With Airwallex and other acquirers in one stack, you need one mapping of payment identifiers, currencies, fee fields and settlement dates. Confirm with Airwallex which settlement currencies apply to your account and which report formats you receive. Hyperswitch documents reconciliation as a module, so check its current configuration against your reporting needs. Finance should agree on the source of truth for each currency and the timing of the daily close before the build starts. Write these rules into the design and avoid relying on spreadsheets to close the gap later.
What should a written quote for this integration include?
A written quote should follow from a written scope, so ask for the scope first. It should list the Airwallex account and payment methods in scope, the settlement currencies, where the Hyperswitch environment runs and who operates it, the connectors and routing rules included, webhook and reconciliation work, the test plan with sandbox evidence, the staged rollout and handover documentation. It should also name what you must supply, such as credentials, approvals and test accounts. Ask which items are one-time work and which recur, such as hosting, upgrades for new Hyperswitch releases, Airwallex API changes and ongoing support. Ask how scope changes are priced, and who holds credentials after handover. DeployOpen does not publish a price list, so the written quote is where these terms become concrete.
How DeployOpen works on this
DeployOpen plans and delivers the Airwallex connection as part of a self-hosted Hyperswitch stack running in infrastructure you control. The work starts with a written scope that names the Airwallex credentials, card flows, settlement currencies and routing rules to be configured, then moves through build, testing, documentation and handover.
How we scope
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- The scope lists which Airwallex payment methods, currencies and card flows your business needs in Hyperswitch.
- We confirm with you which Airwallex account and API capabilities apply to your merchant setup before build begins.
How we build
- We configure the Airwallex connector in your self-hosted Hyperswitch deployment and store credentials in your secrets management.
- Webhook endpoints and event handling are set up and tested against the Airwallex events your scope includes.
- Routing rules against your other acquirers are built and tested, including default fallback behavior when a rule does not apply.
How we hand over
- You receive documentation of the connector configuration, credential locations, routing logic and webhook settings.
- Test results cover the card, currency and failure scenarios defined in the written scope, with the evidence retained for your reviewers.
- Your team is walked through operations, including how to confirm settlement and reconcile Airwallex activity with your records.
How we support
- Ongoing support, Hyperswitch upgrades and continuous testing are available as a retainer after handover.
- Upgrades are planned against Hyperswitch release notes and compatibility matrices, so the Airwallex connector stays tested through each change.
- Ask any provider for written confirmation of current Airwallex capabilities and regional limits before relying on them in production.

