Skip to main content
On this page

Dynamic Routing can filter Alternative Payment Method (APM) connections by their configured currency before selecting an account. This avoids sending an APM payment to credentials configured for a different currency.

What this validation does#

  • Compares the order currency with the currency configured for each candidate APM connection.
  • Excludes an APM connection when its configured currency does not match the transaction currency.
  • Leaves non-APM processor candidates unchanged; this filter is not a universal currency validator for every processor type.
  • Prevents an authorization attempt through an APM connection that was removed by the filter.

The validation only runs when it is enabled for the merchant and store. It does not perform Dynamic Currency Conversion (DCC).

Interactive exampleUses sample data and does not make API requests.
Production
Payment strategies

Currency validation

Preview which processors remain eligible for the transaction currency.

Acme LATAM · Production
ConfigurationCurrency validation
Active
01Adyen · USDEligible
02Worldpay · MXNSkipped

Why it matters#

Without this validation, an APM credential can be selected for a currency it was not configured to process. This can result in a provider rejection, reconciliation problems, or an incorrect account being used.

The filter removes the incompatible APM candidate before DEUNA invokes the provider.

High-level behavior#

When DEUNA receives a transaction:

  1. The order is created with a currency (for example, USD or MXN).
  2. Dynamic Routing builds the list of candidate connections from the active APM rules.
  3. For every APM candidate, DEUNA compares the transaction currency with the connection currency configured in Admin.
  4. A mismatched APM connection is removed from the candidate list.
  5. Routing continues with the remaining eligible connection. If no compatible APM connection remains, the payment cannot be sent through that routing selection.

Typical scenarios#

Scenario 1: Mismatch prevented

Order100 USD
ConfigurationA routing rule selects an APM connection configured for MXN only
ValidationDEUNA detects that USD does not match MXN
ResultThe APM connection is skipped before provider invocation

Scenario 2: Happy path

Order500 MXN
ConfigurationRouting rule points to an APM connection configured as MXN
ValidationDEUNA detects MXN = MXN
ResultTransaction is sent to authorization normally

Scenario 3: Card processor candidate

Order100 MXN
ConfigurationCandidate is a non-APM card processor
ValidationThe APM currency filter does not remove the candidate
ResultNormal routing and processor-specific currency validation continue independently

Error handling#

If no compatible APM connection is available after filtering:

  • DEUNA does not send the payment through a mismatched APM connection.
  • The integration receives the routing or payment failure produced when no eligible configured connection can be selected.

Treat this as a routing or connection-configuration issue rather than automatically retrying the same credential.

Best practices for merchants and integrators#

To avoid unexpected declines due to currency mismatch:

  • Configure the correct currency for each APM connection in DEUNA Admin.
  • Review Dynamic Routing rules so each currency can reach an eligible APM credential.
  • When adding a country, currency, or APM account, verify that the order currency matches the connection configuration.

If routing repeatedly has no eligible APM connection, review the rule and connection currency in Admin, then contact DEUNA with example transaction IDs.