Common Fraud Detection Scenarios
Fraud patterns rarely look suspicious at the level of a single request. A failed login, a password reset, a new account with a promo code, each is unremarkable on its own. The signal only becomes visible in aggregate, when you can see how many times something happened, and to whom. Traceable's Custom Entities and Aggregation Rule Templates are built to surface that signal. Together, they let you track application-specific data across your APIs and define the exact conditions under which that data indicates fraud.
Understand custom entities
When the fraud signal exists in a business-specific field, such as a passport number, beneficiary account, wallet ID, or OTP destination, create a custom entity to extract and track that value across your APIs.
After defining the entity, configure an aggregation rule template to detect suspicious patterns by grouping requests, applying thresholds within a time window, and specifying the action to take, such as generating an alert or blocking requests. A single custom entity can support multiple aggregation rules for different fraud detection scenarios. For more information, see Entities for Bot Protection.
Understand rule templates
Rule templates are the policy engine that acts on your Custom Entities. A Rule template defines a rule. For example, if a field, grouped by a dimension, exceeds a threshold of distinct or total values within a time window, Traceable triggers an alert or blocks the request. Every rule template consists of the following four attributes:
Target Field
The entity or attribute being measured, for example, Card Details, Passport Number, or Beneficiary Bank Account.
Function
The aggregation method: COUNT for total occurrences, or DISTINCT_COUNT for unique values. DISTINCT_COUNT It is effective for detecting enumeration and mule patterns.
Group By
The dimension that anchors the count, for example, is grouping by OTP Destination Mobile, so Traceable tracks how many distinct cards are seen per phone number.
Threshold + Window
The trigger condition, for example, more than 5 distinct values in 24 hours. Traceable supports minutes, hours, and days as the window unit.
Fraud detection use cases
The following five use cases represent fraud patterns common across fintech, e-commerce, and digital services. Each is built using the combination of custom entities and Aggregation Rule Templates described above.
Why this matters
Most API security platforms operate on a fixed set of signals, such as IP addresses, user agents, and request rates, and cannot reason about the business logic inside a customer's payloads. Custom Entities and Rule Templates close that gap in the following ways:
Business-specific, not generic — Rules are written around your actual data model, including their passport fields, relationship labels, and card tokens.
Composable — One entity supports multiple rules, so you can add new fraud hypotheses incrementally without rebuilding the existing configuration.
For more information, see Entities for Bot Protection.
Last updated
Was this helpful?