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
| Field | Type | Required | Allowed values |
|---|---|---|---|
amount | number | yes | A non-negative number, e.g. 100, 1500.50 |
currency | string | yes | Any ISO 4217 code (EUR, USD, …), or the literal "Base Amount" |
comparator | string | yes | "=", ">", ">=", "<", "<=" |
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
currencyis 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
currencyis 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. amountaccepts whole and decimal values, e.g.100or1500.50— send it as a number, not as a string.- Also available in multi-method routing documents.