Fraud Detection Rules

The fraud detection framework uses analytical rules based on KPIs and their thresholds (as defined by the brand) to detect anomalous activities.

Terminologies

Below table gives the key terminologies in fraud management.

TermDescription
RuleA predefined condition or guideline used to evaluate customer activities for signs of fraud.
ThresholdA predefined limit or value used to flag unusual or suspicious activity when exceeded or not met.
Critical ScoreThe minimum score a customer must reach for their activities to be flagged as potentially fraudulent.
WeightageThe importance assigned to a specific rule in calculating the overall fraud score, expressed as a value between 0 and 1.
MultiplierA value (1 for violation or 0 for no violation) applied to a rule’s weight to calculate its contribution to the fraud score.

Rules

The table below explains these rules in detail.

RuleKPIDescriptionFraud Indication (Comparison with Threshold Value)Example
Vintage and VisitVintage_visit < ThresholdVintage refers to the number of days since the customer's first transaction.
Visit refers to the total number of store visits made by the customer.
This Vintage​/ Visit value must remain above a predefined threshold value to avoid being flagged as fraud.
A very low value indicates that the customer is visiting the store too often in a short time, which might be suspicious.
Lower than threshold indicates fraud (Frequent visits in a short time)If a customer made their first transaction 5 days ago (Vintage = 5) and has visited the store 5 times till now (Visit = 5), the KPI would be: 5/5=1
Suppose the predefined threshold for the KPI is 2. In that case, this value of 1 indicates that the customer is visiting the store more frequently than expected in a short time, which could be flagged as suspicious or fraudulent activity.
Transaction Hours Count in a Day Distinct_
transaction _hours > Threshold
Transaction hours are the distinct hours in a day when the customer makes transactions.
If a customer exceeds a predefined number of distinct transaction hours in a single day, it may indicate unusual activity.
This rule helps identify patterns like multiple purchases spread across different times of the day, which could suggest fraudulent behavior.
Higher than threshold indicates fraud (Multiple purchases across different hours)If a customer purchases at 10 AM, 1 PM, 3 PM, and 7 PM on the same day, the distinct transaction hours are 4 (10 AM, 1 PM, 3 PM, 7 PM). If the predefined threshold for distinct transaction hours is 3, this customer exceeds the limit. This could indicate unusual behavior, such as multiple transactions at various times of the day, which might be flagged for further investigation.
Transaction Amount LimitMax_bill
_amount > Threshold
Transaction amount refers to the total value of a transaction.
If a customer's transaction exceeds a predefined threshold, the system flags the transaction as suspicious.
Higher than threshold indicates fraud (Large transaction amounts)If a customer makes a transaction with an amount significantly higher than the usual bill, for example, $1,500 when the predefined threshold is $500, the transaction exceeds the threshold. In this case, the customer will be flagged for further investigation, as this could indicate suspicious behavior.
Top Customer PercentileLifetime_
purchase
_rank < Threshold
Evaluates a customer's position in the total purchase value percentile (e.g., lifetime purchase rank). If a customer's Rank is lower than the predefined threshold (say 0.1), it means they are among the top spenders. These customers are flagged for potential fraud, as high-spending behavior could include unusual activities, such as adding others' transactions.Lower than threshold indicates fraud (High lifetime purchase rank)If a customer ranks in the 0.1 percentile with lifetime purchases totaling $500, but suddenly makes significantly larger purchases, their behavior may be inconsistent and flagged as suspicious.
This rule helps detect anomalies in spending patterns among top customers.
Transactions in Different ZonesMax_zones
_with
_billing on_same
_day > Threshold
If a customer makes multiple transactions in different regions on the same day or with a gap of 6 hours, it could indicate suspicious behavior.Higher than threshold indicates fraud (Transactions in multiple regions in one day)If a customer makes purchases in two different regions on the same day, such as in Region A at 10 AM and Region B at 3 PM, this might be flagged for investigation, as it is unusual to make purchases in two regions on the same day.
Visits and LatencyLatency outside threshold rangeVisits refers to the total number of store visits made by the customer.
Latency is the average time between visits, calculated as: (last bill date−joined date)/(visits−1).
The customer is more prone to fraud if they have a high number of visits and low latency (frequency of visits over time).
Outside the threshold range indicates fraud (Frequent visits in a short period)If a customer has visited the store 10 times, and the time between the first and last visit is only 5 days, the latency =5/(10-1) = 5/9 = 0.56 days. If the threshold latency range is 0.1 and 2.0, this would be flagged as suspicious.
Spike in Transaction AmountsHas_spike
_bill = 1
If there is an increase/ spike in transaction amount, more than 10 times the average transaction amount, the customer is likely engaged in fraudulent activity.Equal or higher than threshold indicates fraud (Transaction far exceeding the average)If the average transaction amount is $100 and a customer makes a $1,200 transaction, this amount is more than 10 times the average. This would be flagged for further investigation.
Transaction per DayMax_bill
_count
_in_day > Threshold
If the customer makes more transactions in a day than a predefined critical value, it could indicate suspicious behavior.Higher than threshold indicates fraud (Excessive transactions in one day)If a customer makes 15 transactions in one day, and the predefined critical value is 5, the customer will be flagged for fraud due to excessive transactions in a single day.
Transaction per WeekMax_bill
_count
_in_week > Threshold
If the customer makes more transactions in a week than a predefined critical value, it could indicate suspicious behavior.Higher than threshold indicates fraud (Excessive transactions in one week)If a customer makes 30 transactions in a week, and the threshold value is 10, the customer will be flagged for fraud due to exceeding the number of transactions per week.
Latency of RedemptionRedemption_
latency outside threshold range
Redeemed visits are visits where the customer has redeemed coupons or points.
The Latency of redemption is defined as (max date of redemption – min date of redemption) / (# unique days where points were redeemed– 1).
If the number of redeemed visits is more than a predefined value and the latency of redemption is less than a predefined value, then the customer is more likely to commit fraud.
Outside the threshold range indicates fraud (Rapid redemption activity)If a customer redeemed points 5 times in 2 days, with the latency of redemption being (2-1)/4 = 0.25 days, and the predefined threshold for latency is 1 day, this would indicate suspicious behavior.
Number of Times Points RedeemedRedeemed
_visit
_days > Threshold
If the number of points redeemed by a customer exceeds a predefined threshold, the customer may be flagged for fraud.Higher than threshold indicates fraud (Excessive redemptions of points)If a customer redeems points 15 times in one month, and the predefined threshold is 5, this customer could be flagged for fraudulent behavior due to excessive redemptions.
Redeeming RateRedeemed
_rate > Threshold
(Redeemed Visit Days) / (Awarded Visit Days)
Redeemed Visit days are the number of days when the customer redeemed points. Awarded Visit Days are the number of days when the customer was awarded points.
If the ratio of redeemed visit days to awarded visit days exceeds a predefined value, it could indicate suspicious behavior.
Higher than threshold indicates fraud (Excessive redemptions compared to awarded days)If a customer has redeemed points on 8 days out of 10 awarded days, the ratio is 8/10 = 0.8. If the threshold is 0.5, it may suggest suspicious behavior.
Total Points RedeemedRedeemed
_points

> Threshold
If the total points redeemed by a customer exceeds a critical value, they may be flagged as fraud.Higher than threshold indicates fraud (Excessive points redeemed)If a customer has redeemed 50000 points in one month, and the critical value is 25000 points, the customer will be flagged for fraud due to excessive redemptions.

📘

Note: If a brand needs to implement additional rules/ indicators, please contact the Data Science team.

Sample fraud management input template