Skip to main content

CreditcardBinCountry

Matches transactions whose card-BIN issuer country is (or is not) in a configured list. Shown as "Credit card: BIN Country" in the condition catalogue.

Parameters

FieldTypeRequiredAllowed values
countriesarray of stringsyesOne or more ISO 3166-1 alpha-2 country codes, e.g. ["DE", "AT", "CH"]
comparatorstringyes"in" or "notin"

Example

{
"constraint": "CreditcardBinCountry",
"params": {
"countries": ["DE", "AT", "CH"],
"comparator": "in"
}
}

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.
  • If no BIN data is found for the card, "in" conditions do not match while "notin" conditions match. For transactions without card data (or when the BIN lookup fails), rule evaluation stops and the default connector is used.
  • Country codes must be uppercase ISO 3166-1 alpha-2.