Can Hyperswitch route local payments in emerging markets through dLocal?
The route depends on whether a dLocal connector is available in the Hyperswitch version you run. The research behind this page does not confirm a dLocal connector, so do not commit to the route until you have checked the connector list and the release notes for your exact version. Confirm it in writing with the Hyperswitch maintainers or against the official Hyperswitch docs before you plan budgets, merchant onboarding or go-live dates in any market.
If a connector is available, the general pattern is the same as for other processors in Hyperswitch. You configure the connector in the Control Center or through the API with credentials issued by the processor, register the webhook endpoints the processor will call, and then enable the payment methods and countries you actually need for each merchant profile. Ask dLocal for the exact credential set, webhook requirements, supported countries and local methods, and confirm each one against the connector's current documentation. Do not assume a method or market works because a neighboring processor supports it. Keep a short written list of which methods you need per country so you can test each one in a sandbox.
If no connector is listed for your version, you have three paths: wait for a release that adds one, ask your team or a partner to build a custom connector, or route local traffic through a processor Hyperswitch already supports in those markets. Each path has different effort, testing and maintenance consequences. Whichever you choose, verify webhook handling, refund and status mapping, and reconciliation of local settlement currencies before you send live traffic, because those are the points where local acquiring integrations most often fail.
What you need before you configure dLocal in Hyperswitch
These six prerequisites cover the platform, the dashboard, the dLocal account, the webhook path, the control plane and the compliance ownership. Confirm each one before you touch connector settings, because a missing item usually surfaces later as a failed sandbox test or a stalled review.
Running self-hosted Hyperswitch stack
Confirm which Hyperswitch version your router is deployed at, and record it in your change log before adding any connector. The router handles routing, retries and vaulting, so dLocal settings only take effect once the core app server is healthy. Check that the stack deploys from your chosen method, such as the Helm charts on Kubernetes, and that you can reach the router API from a test client. Release notes differ by version, so the version you record determines which upgrade steps apply.
Self-hosting docsMatching Control Center version
The Control Center is a separate open source dashboard, so it must be deployed at a version listed as compatible with your router in the release compatibility matrix. Each GitHub release lists the matching Control Center and web client versions. Mismatched versions can hide connector fields or fail to save dLocal credentials, which makes a configuration problem look like a dLocal problem. Pin both components together and note the pair in your runbook.
Hyperswitch releasesdLocal merchant account and sandbox
You need a dLocal merchant account with API credentials and access to a sandbox environment before any live traffic is routed. Ask dLocal directly which activation steps apply to your legal entity, which countries and local payment methods are open to you, and what documents they require before live processing. Coverage varies by market and changes over time, so treat any list you find elsewhere as a starting point only. Store the sandbox and live keys in separate secret stores from day one.
Public HTTPS endpoint for webhooks
dLocal sends asynchronous payment status updates to an endpoint you expose, so the router must be reachable over public HTTPS with a valid certificate. Local payment methods often complete after the customer leaves the page, so missed webhooks show up as payments stuck in a pending state. Confirm the ingress path, the TLS termination point and any web application firewall rules that could block dLocal's requests. Test delivery and signature handling in sandbox before go-live.
Superposition for v1.124.0 and later
The v1.124.0 release notes state that Superposition became a required configuration dependency, and deployments must have a Superposition service running before upgrading to that version. If your target is v1.124.0 or later, deploy and health check Superposition first, then upgrade the router. Skipping this order can leave the router unable to start. Confirm the Superposition version your release expects and include it in the change plan for any environment you upgrade.
Release notesNamed owner for PCI DSS and data residency
Name one person who signs off on how dLocal handles payment data, cardholder scope and where customer data is stored. Local methods often involve personal data from several countries, so residency and transfer rules may differ by market. Hyperswitch documents that a merchant running the in-house PCI vault model carries PCI DSS certification and data handling responsibility. Decide now which vault model applies, because it changes the evidence your reviewers will ask for.
Which dLocal path applies to your Hyperswitch version
If the Hyperswitch connector documentation lists a dLocal connector for the version you run, the work is mainly configuration. Your team enters dLocal credentials in the Control Center, enables the local payment methods you plan to offer, and adds the connector to routing rules. Most of the effort goes into dLocal onboarding, mapping local methods to checkout, and testing each country. Your team owns the deployment and its configuration, and the connector code is maintained by the Hyperswitch project.
- Credentials handling: Store dLocal keys in your secrets tooling and enter them in the Control Center through a reviewed change, so connector settings follow the same approval path as other production changes.
- Country and method testing: Test every country and local method you intend to activate, because availability depends on what dLocal enables for your merchant account.
- Webhook reachability: Confirm dLocal can reach your webhook endpoint through your ingress and that signatures are verified before you send live traffic.
- Limited first rollout: Start routing rules with the countries you are launching so that fallback behavior is predictable and easy to observe.
Before you start, confirm the dLocal entry, its supported flows and the minimum version in the Hyperswitch docs.
If no dLocal connector appears in the connector documentation for your version or any release you can reach, you need a custom connector. That turns the work from configuration into software: someone must write the connector against Hyperswitch's connector framework, implement each dLocal payment flow you need, test those flows and keep the code current through every upgrade. Your team owns the code it writes, so the ownership decision comes early. Scope the flows before the build, because each additional flow, such as refunds, captures or status sync, adds testing.
- Build effort: Size the work from the specific flows you need and from dLocal's API documentation, and ask an engineer who has built a connector before to review the plan.
- Test matrix: Cover each country, currency and local method, along with timeouts, partial failures and duplicate webhook delivery.
- Maintenance model: Decide whether the connector will be maintained as a fork or contributed upstream, since a fork adds merge work at every Hyperswitch upgrade.
- Security review: Have your security team review how the connector stores credentials and handles any payment data that passes through it.
Before you commit to a timeline, read the sibling topic on building a custom Hyperswitch connector and confirm the connector list with dLocal and the Hyperswitch docs.
Sometimes the dLocal connector is listed in a newer Hyperswitch release than the one you run. In that case the path starts with an upgrade and ends with configuration. Hyperswitch ships minor releases roughly every month, and each release publishes a compatibility matrix for the Control Center and web client versions. An upgrade can also change required dependencies, so the connector work can wait on infrastructure changes that have nothing to do with dLocal. The v1.124.0 release notes, for example, made Superposition a required configuration dependency that must be running before that upgrade.
- Compatibility matrix: Check the router, Control Center and SDK versions in the matrix for your target release before choosing it.
- Required dependencies: Confirm that any new service the target release requires is deployed and configured before you start the upgrade.
- Staging rehearsal: Run the upgrade in a non-production environment with representative data, then repeat your payment flows, including webhooks, against it.
- Intermediate steps: If your version gap is large, move through intermediate releases in sequence and read the notes for each step.
- Rollback plan: Document the database migration steps and whether a rollback is possible before the upgrade window opens.
Before scheduling the window, check the connector's first release and the compatibility matrix on the Hyperswitch releases page.
How a local payment request moves from checkout to dLocal and back
The request starts in the customer's checkout through a Hyperswitch SDK and reaches the self-hosted Router, which applies routing rules or the default fallback to choose dLocal. Card data goes to the vault model you chose, not straight to dLocal, unless dLocal and your PCI scope review confirm otherwise. dLocal's result returns through the connector as a webhook, and the Router and Scheduler update payment state in PostgreSQL and Redis. Confirm each hand-off in your own environment before go-live.
Local payment flow from checkout through the Router to dLocal and back.
How to configure the dLocal connector step by step
This sequence takes a self-hosted Hyperswitch deployment from a confirmed dLocal connector to a verified production setup. Each step closes with a check you can see in the Control Center or the Router logs, so the team knows when to move on.
Confirm connector availability for your version
Check the release notes and compatibility matrix for the Hyperswitch version you run or plan to deploy, and confirm that the dLocal connector is listed. Ask dLocal and your DeployOpen contact to confirm the countries and payment methods your target markets need, since availability can differ by version. If your upgrade path crosses v1.124.0, confirm that the Superposition service is running first. Done when the connector version, supported countries and any dependency changes are recorded in your change ticket.
Obtain sandbox credentials and store them securely
Request sandbox credentials from dLocal through your account contact. Store the keys only in your secrets manager, then expose them to the Router pods through your deployment tooling. Keep them out of Helm values files, container images and Git repositories. Done when the secret exists, the Router pods can read it, and the startup log shows the connector loaded without printing the key itself.
Add dLocal in the Control Center
In the Control Center, open the connector setup for the sandbox merchant account, select dLocal, and enter the sandbox credentials from your secrets manager. Save the connector and confirm it is marked as enabled in the sandbox environment. Done when the first API call from the connector returns without an authentication error in the Router logs, and the connector appears in the processor list for the account.
Configure the webhook endpoint and verification secret
In the dLocal sandbox dashboard, set the webhook URL to the public Hyperswitch endpoint for the connector. Copy the verification secret into your secrets manager and into the connector configuration in the Control Center. Send a test event from dLocal. Done when the event appears in the Router logs with a successful signature verification and is linked to the correct payment record.
Create a test profile and local methods
Create one test business profile for the integration. In the connector configuration, enable one local payment method for each target country and set the currency that matches each country. Use illustrative test data if you need a worked example. Done when the Control Center shows one method entry per country with the expected currency, and a checkout session for each country offers only that country's method.
Run sandbox payments and refunds
Run one payment per local method through the SDK or API test client and drive each payment to a final state. Include declined and cancelled cases using the sandbox test data that dLocal provides. Then issue a full refund and a partial refund on successful payments. Done when every payment reaches a final status in the Control Center, refunds attach to the original payment, and each state change produced a verified webhook event.
Route target countries to dLocal with fallback
Create a rule-based routing rule that sends only the target countries to dLocal. Set default fallback routing so that payments from other countries, or payments dLocal cannot process, go to your existing processor. Review the routing strategies in the Hyperswitch intelligent routing documentation before you choose rule ordering. Done when test payments from a target country and from a non-target country show the expected connector in their routing attempts.
Move to production after go-live review
Request production credentials from dLocal and replace the sandbox values in your secrets manager. Configure the production webhook endpoint and verification secret, then run a limited set of live payments. Hold a go-live review that signs off the sandbox results, the webhook checks, the rollback step of removing dLocal from the routing rules, and the monitoring for the connector. Done when the review record is signed and the first live payment reaches a final status with a verified webhook.
Routing local traffic to dLocal without moving other markets
The most direct way to keep dLocal confined to the markets it serves is rule-based routing, which sends payments from specific countries or payment methods to the dLocal connector and leaves everything else on your existing processors. Write the rules against the country and method combinations you have validated, not against broad regions. Hyperswitch documents six routing strategies, and the rule-based strategy is the only one that is fully under your explicit control. Treat it as the boundary that every other strategy must respect.
The other strategies can move traffic beyond your rules. Volume-based, auth-rate, multi-objective (auth rate re-ranked by processor cost) and least cost routing for debit networks all choose among eligible connectors by their own criteria, so a payment from a market you never intended to route to dLocal can end up there. Where you enable these strategies, add explicit exclusions for the markets and methods you want to keep off dLocal, and test those exclusions with sample payments from each market before go-live. Confirm in the Hyperswitch intelligent routing documentation which strategies can be combined in your version and how their precedence is evaluated.
Default fallback routing applies when no rule matches or when a processor is ineligible for a payment. If dLocal is ineligible for a payment, for example because the currency or method is not supported for that country, the payment should fall to the next connector in your configuration rather than fail. Verify this path directly by submitting a payment that dLocal cannot accept and checking the routing log. Before widening any rule, measure approval rates per market and per method in the Control Center for a defined period, compare them with your current processors, and only then extend the rule to the next market.
How payment, customer and status data map between Hyperswitch and dLocal
This table compares each data element that crosses the boundary between your Hyperswitch deployment and dLocal, showing which side holds it and who owns the mapping. Use it as a checklist for the mapping workbook you build with dLocal's API reference, and note the status row, which needs a product decision before build starts.
| Data element | Hyperswitch side | dLocal side | Owner |
|---|---|---|---|
| Amount and currency | Amount and currency set on the payment at creation, with minor-unit handling your team must confirm for each currency | Amount and currency accepted per country and payment method, confirm supported currencies and rounding rules in dLocal's API reference | Engineering with finance sign-off |
| Country and locale | Billing country and customer locale captured at checkout and passed to the connector | Country determines which local payment methods appear, confirm required address and document fields per country | Product and payments engineering |
| Payment method type | Method selected at checkout, mapped to the connector's supported payment method types in Hyperswitch configuration | Local method identifiers per country, obtain the full list and activation status from dLocal before mapping | Payments engineering |
| Customer identifiers | Customer ID stored in Hyperswitch, linked to any dLocal customer reference returned by the connector | Customer reference fields, confirm whether dLocal requires or returns a customer object per payment | Engineering with data protection lead |
| Merchant reference | Your order or payment ID sent as the merchant reference on every request and retry | Merchant reference echoed on payment and webhook objects, confirm uniqueness rules and length limits | Engineering |
| Payment status and final states | Hyperswitch status values derived from connector responses and webhooks, confirm each dLocal state maps to one Hyperswitch status | Payment lifecycle states including pending local payments, obtain the full enumeration from dLocal's API reference | Payments engineering with operations |
| Pending local payments | Status shown to the customer while the local payment awaits confirmation, decide the message, timeout and retry behavior | Pending or awaiting-customer states for voucher and bank-based methods, confirm expiry behavior with dLocal | Product, operations and finance together |
| Refund identifiers | Refund ID created in Hyperswitch and linked to the original payment, stored with the connector refund reference | Refund object reference and status, confirm partial refund support and whether refunds are allowed per method | Engineering with finance |
| Webhook event types | Event handler in your Hyperswitch deployment that updates payment and refund status from dLocal notifications | Notification event types for payments and refunds, confirm the full list and signature verification method | Engineering and security |
Security controls to set before live local payments
Local payment methods add credentials, webhooks, admin access and network paths that all carry payment risk. The controls below cover each of those paths, and the merchant should confirm the PCI DSS scope and any data residency duties with its assessor before accepting live traffic.
Store dLocal credentials in a secrets backend
The dLocal API keys that the connector uses to create and capture payments should live in a secrets manager you control, not in Helm values files or repository configuration. Limit which service accounts can read them, and keep a record of who can view or change them. Before go-live, confirm that the router pod reads the credential at runtime and that no copy appears in logs, dashboards or exported configuration. Plan a rotation schedule and test rotation in a sandbox first so a key change does not stop local payments.
Self-hosting docsReject unsigned dLocal webhooks
Webhooks tell Hyperswitch that a local payment succeeded, failed or was refunded, so a forged event could mark an order paid. Confirm with dLocal which signature scheme its webhooks use and how the connector verifies it in your Hyperswitch version. Test that an event with a missing or altered signature is rejected and logged, and that the endpoint is reachable only over TLS. Treat webhook handling as a control in its own right, because a status change that bypasses the payment flow can release goods that were never paid for.
Restrict Control Center access
The Control Center supports single sign-on through OpenID Connect only. SAML is not supported, there is no just-in-time or SCIM provisioning, users must be invited first, and roles are managed in Hyperswitch rather than mapped from your identity provider. Plan the joiner and leaver process around these limits, remove invited users when they leave, and review the role assignments that can change connector credentials or routing rules. Confirm these behaviors against the current Control Center version before you rely on them.
SSO configuration docsChoose a card vault model early
Card data that enters your own vault brings the merchant into the full scope of PCI DSS, and the Hyperswitch docs state that the merchant is fully responsible for certification and data handling in the in-house model. An external PCI vault provider or the SaaS Hyperswitch Vault can keep stored card data out of your environment. Decide the model before the first live transaction, because moving saved cards later is a migration. Ask your assessor which model fits your environment.
Vault deployment modelsLimit router egress to dLocal endpoints
The router only needs outbound access to the dLocal API hosts and to any other endpoints the connector calls. Enforce this with network policies, egress gateways or firewall rules, and deny everything else by default. Confirm the exact hostnames and environments (sandbox and production) with dLocal, and verify them in a test cluster before opening production routes. Restricting egress limits the damage if a container is compromised and reduces the chance that payment data leaves through an unexpected destination.
Log connector calls without payment data
Operators need connector logs to investigate declines, timeouts and webhook failures, but those logs must not hold card numbers, full bank identifiers, raw API keys or personal data. Define which fields the connector writes, mask or drop sensitive values before they reach your log stack, and set a retention period that your privacy team approves. Check that the centralized logging platform applies the same restrictions, because data that reaches a third-party log store is still in your scope.
Common failures when dLocal payments go live
This table lists the failures teams most often hit when a dLocal connector moves from sandbox to production through Hyperswitch, with the likely cause and a fix for each. Read each row as a checklist: confirm the cause in your own environment before changing configuration. The main takeaway is that most go-live failures trace to version, endpoint, credential, routing scope or status mapping issues that can be verified directly.
| Symptom | Likely cause | Fix |
|---|---|---|
| dLocal connector not available in Control Center | The Hyperswitch version in use does not include the dLocal connector | Confirm the running version against the release notes. If the connector is absent, upgrade to a release that includes it or plan a custom connector build |
| Webhooks from dLocal never reach Hyperswitch | The webhook endpoint is unreachable from the internet, or the ingress route or verification secret is misconfigured | Test the public webhook URL from outside your network, check ingress and TLS rules, then confirm the verification secret matches the value set in dLocal |
| Local payments routed to dLocal for the wrong country | A routing rule matches on payment method or currency only, so it catches countries outside the intended market | Add the country condition to the rule, test each rule against sample payments from excluded countries, and confirm the default fallback behavior |
| Payment status in Hyperswitch differs from dLocal | dLocal status values have no mapping entry, or an entry maps to the wrong Hyperswitch status | Export the dLocal status list from the sandbox and production dashboards, compare it with the mapping table, and add or correct each entry before go-live |
| Payments fail after upgrading to v1.124.0 or later | Superposition is a required dependency from v1.124.0 and its service is not running or not reachable | Confirm the Superposition service is deployed, healthy and reachable from the Router before upgrading, and check its logs when payments error |
| Live transactions fail authentication or appear in the sandbox | Sandbox API keys or the sandbox base configuration were copied into the production connector settings | Compare the connector credentials and environment setting against the production values, rotate any key exposed outside the secrets store, and record the check in the go-live checklist |
What buyers ask before connecting dLocal to Hyperswitch
Is dLocal a supported connector in Hyperswitch today?
Confirm this first, because connector availability decides the shape of the whole project. The supplied facts say Hyperswitch connects to more than 100 processors, but they do not name dLocal, so check the connector list in the Hyperswitch docs and the connector code in the Hyperswitch GitHub repository for a dLocal connector. Record which release you tested against and which payment methods the connector covers. Then ask dLocal whether your merchant account has the countries and methods you need enabled. If no connector exists, the work becomes a custom connector build, which changes scope, cost and timing. Get the answer in writing before you compare quotes.
What drives the cost of a dLocal integration through Hyperswitch?
Cost depends on who does the work: your engineers, your payments and compliance staff, and any partner you hire for the build. The main drivers are whether a connector already exists (configuration and testing) or must be written (custom connector code), the number of markets and local payment methods, each needing configuration and test cases, the number of other acquirers in routing, and the depth of testing across currencies, failures, refunds and webhooks. Compliance review of data handling adds effort. One-time costs include the build and go-live testing. Recurring costs include upgrades, dLocal API changes and routing reviews. Ask any quote to separate the one-time build from ongoing support and to list the markets and methods in scope.
How long does a dLocal integration take, and what sets the duration?
No duration has been established for this work, so the schedule should come from a written scope and not from a general rule of thumb. The duration is set by whether a connector exists, how many markets and methods are in scope, how long dLocal account activation and country enablement take on its side, when sandbox and production credentials become available, how many test cases must pass, and whether a custom connector must be written and reviewed. Ask the quote for milestones: sandbox credentials verified, test cases passed, routing rules working in staging, and a go-live checkpoint with named approvers. Milestones make delays visible early.
What must our team provide before a dLocal integration starts?
Your team needs to supply four things before build work begins:
- Credentials: dLocal sandbox and production API credentials, webhook endpoint details and a secure channel for sharing secrets.
- Decision owners: named people who approve which countries and methods go live, the traffic share sent to dLocal, and the fallback behavior when dLocal is ineligible.
- Test cases: per country, currency and method, covering successful payments, declines, timeouts, refunds, webhooks and reconciliation, each with an expected result.
- Go-live approvals: written sign-off from payments, risk, compliance and legal for each market.
Without these, the schedule slips at the point where the work is least visible.
Can our internal team set up dLocal through Hyperswitch alone?
A team with payments and Hyperswitch experience can configure an existing connector alone, provided it has time for testing and approvals. The work gets harder when no connector exists and custom code is needed, when many markets have different local rules, when settlement and reconciliation across currencies must match, when compliance reviews data flows, or when nobody has run Hyperswitch in production. Self-hosting adds more: Kubernetes deployment, PostgreSQL, Redis, upgrades and monitoring all stay with you. DeployOpen plans and builds self-hosted Hyperswitch in your infrastructure and can take on parts of this work under a written fixed scope, so you can compare that against your own capacity.
How does dLocal sit alongside other acquirers in routing?
dLocal works as one connector among several in Hyperswitch routing. Hyperswitch documents six routing strategies: rule-based, volume-based, auth-rate, multi-objective, least cost routing for debit networks, and default fallback routing for when no rule applies or a processor is ineligible. For local traffic, set eligibility rules by country, currency and payment method so that those payments reach dLocal, and let other acquirers handle the rest. Set the fallback deliberately, because it decides what happens to a payment dLocal cannot take. Test each rule in staging and compare authorization rates per processor after go-live. The intelligent routing docs explain each strategy.
What ongoing work recurs after a dLocal integration goes live?
Several tasks recur. Hyperswitch ships roughly monthly minor releases, and each GitHub release includes a compatibility matrix for the Control Center and web client, so upgrades need regular testing. Release v1.124.0 made Superposition a required dependency that must run before upgrading, which shows that upgrades can change your infrastructure as well as the code. Other recurring work includes tracking dLocal API changes, reviewing routing performance and fallback behavior, checking reconciliation, rotating credentials and retesting each market after any change. Ask any support quote to name who performs these tasks and how often.
How DeployOpen scopes and delivers a dLocal integration
DeployOpen plans, builds, tests and hands over Hyperswitch dLocal integrations inside infrastructure you control. We start from a written scope that names the countries, payment methods and routing rules in play, then build and verify the connector in your own environment before your team takes ownership.
How we scope
- Confirm which countries, local payment methods and currencies the dLocal connection must cover.
- Agree which traffic routes to dLocal and which stays with your existing acquirers.
- Document dLocal account activation, credential ownership and the contacts who approve each step.
How we build
- Deploy or extend the self-hosted Hyperswitch stack, then configure the dLocal connector and its credentials.
- Set up webhook endpoints and test status handling for each local payment method in scope.
- Test routing rules against sandbox traffic, including fallback behavior when dLocal is ineligible.
How we hand over
- Deliver the configuration, routing rule inventory and runbooks in documents your team keeps.
- Walk your operations, finance and compliance staff through reconciliation and refund handling for dLocal payments.
- Record the access, secrets and approval steps so your team can repeat changes without us.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- Ask any partner for a quote tied to the written scope, including who pays for dLocal account fees.

