Skip to main content

AmountCurrency

Matches transactions whose amount (in a chosen currency) satisfies a numeric comparison against a threshold. Shown as "Amount & Currency" in the condition catalogue.

Parameters

FieldTypeRequiredAllowed values
amountnumberyesA non-negative number, e.g. 100, 1500.50
currencystringyesAny ISO 4217 code (EUR, USD, …), or the literal "Base Amount"
comparatorstringyes"=", ">", ">=", "<", "<="

Example

{
"constraint": "AmountCurrency",
"params": {
"amount": 1000,
"currency": "EUR",
"comparator": ">="
}
}

Notes

  • Availability: might not be included in your platform package — if this condition is missing from the catalogue returned by List routing constraints, contact your Customer Success Manager to have it activated.
  • When currency is set to "Base Amount" (note the space, exact case), the comparison uses the transaction's amount already normalised to the tenant's base currency — no conversion at evaluation time.
  • When currency is a regular ISO code different from the transaction's currency, the platform converts the transaction amount to the configured currency before comparing. Rules that depend on cross-currency comparison only work when an exchange rate is available.
  • amount accepts whole and decimal values, e.g. 100 or 1500.50 — send it as a number, not as a string.
  • Also available in multi-method routing documents.