Rules
Structure of a Rule in Buckaroo Shield
A rule consists of an if/then statement between a condition and an action.
If [Condition] Then [Action]
Condition
A condition consists of one or more expressions combined with AND or OR operators.
Example Condition:
[Expression A] AND [Expression B] OR [Expression C]
Action
There are three possible actions to choose from:
Action | Description |
---|---|
Warn | A warning is given for the transaction |
Refuse | The transaction is refused, or will be automatically refunded in the case of an After-The-Fact refusal |
Exempt | The transaction is exempted from Shield rules and lists |
Expressions
An expression is a combination of datapoints/functions and relational operators.
Expression Examples:
- Example 1:
[Datapoint A] [relational operator] [Datapoint B]
- Card number country equals Client IP Country
- Example 2:
[Datapoint A] [relational operator] [value]
- Amount greater than 300
- Example 3:
[Function] [relational operator] [value]
- Card number attempts within 5 minutes greater than 3
Functions
Function | Description |
---|---|
Card numbers attempted from client IP | Count of unique debit or credit card numbers used per Client IP per time interval |
Gift card attempts from client IP | Count of unique gift card numbers used per Client IP per time interval |
Payment attempts | Count of payment attempts per Client IP per time interval |
Card numbers attempted from client IP (global) | Count of unique debit or credit card numbers used per Client IP per time interval, across all Buckaroo merchants |
Gift card attempts from client IP (global) | Count of unique gift card numbers used per Client IP per time interval, across all Buckaroo merchants |
Card number originates from unknown country | Card number country could not be identified |
Client IP originates from unknown country | Client IP country could not be identified |
Relational Operators
Operator | Example |
---|---|
Contains text | Card number contains text 5561 |
Equals | Card number type equals ChargeCard |
Greater than | Amount greater than 500.00 |
Greater than or equal | Amount greater than or equal 500.00 |
Less than | Amount less than 1.00 |
Less than or equal | Amount less or equal 1.00 |
Not equals | Card number brand not equals Mastercard |
Occurs in | Card number brand occurs in UnionPay, Rupay, Belkart |
Updated 13 days ago