IbanRegexp
Matches transactions whose customer IBAN matches a configured regular expression. Shown as "IBAN matches RegExp" in the condition catalogue.
Parameters
| Field | Type | Required | Allowed values |
|---|---|---|---|
regexp | string | yes | PCRE-style regular expression (without delimiters), applied to the customer IBAN |
comparator | string | yes | "eq" (matches) |
Example
Match IBANs from Germany:
{
"constraint": "IbanRegexp",
"params": {
"regexp": "^DE",
"comparator": "eq"
}
}
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.
- The expression is applied to the customer IBAN as a PCRE regular expression. Backslashes inside the pattern must be JSON-escaped.
- If the IBAN does not match the expression, the transaction has no customer, or the customer has no IBAN, the rule is skipped and routing falls through to the default connector.
- Available for routing meta-connectors only — not in multi-method routing documents.