Skip to main content

CreditcardType

Matches transactions whose credit-card brand is (or is not) in a configured list. Shown as "Credit card: Brand" in the condition catalogue.

Parameters

FieldTypeRequiredAllowed values
typesarray of stringsyesOne or more brand identifiers from the table below
comparatorstringyes"in" or "notin"

Brand identifiers

visa, visa_electron, mastercard, amex, diners, jcb, discover, unionpay, maestro, uatp, dinacard, mada, meeza, elo, troy

Example

{
"constraint": "CreditcardType",
"params": {
"types": ["visa", "mastercard"],
"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.
  • Brand identifiers must be lowercase exactly as listed in the table above; any other value is rejected.
  • If the transaction has no card data attached, rule evaluation stops and the default connector is used.