An acceptance rule is a logic condition. It enables to:
- and/or prohibit transactions
A rule is composed of 4 aspects:
The syntax of a rule is as follows:
“Action" "if" "Attribute” "Relational operators" "Comparison value"
REFUSE if card_country != 'FRA'
The previous example refuses payments if the country of the card is not France.
The syntax of the grammar selected by the platform for its acceptance engine is very similar to SQL syntax (used to converse with databasess).