Wallet Fraud Rule Guide and Configuration — Ayzal AI FRM
A complete reference guide for configuring Ayzal AI FRM to detect wallet fraud. Learn how to build rules for mule accounts, structuring, pass-throughs, and P2P fan-out using the platform's composite step types.
Wallet Fraud Rule Guide and Configuration
Ayzal AI FRM provides a flexible rule engine capable of detecting complex wallet fraud patterns. Unlike simple card fraud, wallet fraud often involves the rapid movement of funds between accounts, known as layering or mule activity.
This guide explains the available rule types and how to configure them specifically for Wallet products to catch money laundering and fraud rings.
1. Single Row Checks
These rules evaluate each wallet transaction on its own. They are useful for immediate blockers and policy checks.
field_compare
Compares a wallet transaction field to a constant value.
- Configuration:
- Field: The wallet column to check (e.g.,
amount,nature,channel). - Operator:
=,>,<,>=,<=,!=. - Value: The constant to compare against.
- Field: The wallet column to check (e.g.,
- Example:
amount >= 50000ORnature = 'debit' - Use case: Flag any single wallet debit over a certain amount, or block a specific transaction type.
field_in_range
Checks if a wallet transaction amount falls between two values.
- Configuration:
- Field: The column to check (usually
amount). - Min / Max: The range bounds.
- Field: The column to check (usually
- Example:
amount between 9000 and 9999 - Use case: Catch structuring where a user sends multiple transfers just below a reporting threshold.
field_in_list
Checks if a wallet field matches an entry in a Fraud List.
- Configuration:
- Field: The column to check (e.g.,
source_account,dest_account,mobile_no). - List Type: The type of list (
customer,account,device). - List Purpose:
blockorallow.
- Field: The column to check (e.g.,
- Example:
dest_account in blocklist - Use case: Flag any transfer to a known mule account.
time_of_day
Checks if the wallet transaction occurred during specific hours.
- Configuration:
- Hour Min / Max: The range (0-23).
- Timezone: The wallet user's timezone.
- Example:
hour between 0 and 5 - Use case: Flag transfers that happen in the middle of the night, a common time for automated mule layering.
2. Two-Column Checks
These rules compare two fields within the same wallet transaction.
field_equals
Checks if Field A equals Field B.
- Example:
source_account = dest_account - Use case: Detect self-transfers. Fraudsters sometimes send money in a loop back to their own account to create fake transaction history.
field_mismatch
Checks if Field A does not equal Field B.
- Example:
source_country != dest_country - Use case: Flag cross-border wallet transfers that don't match the user's normal geographic profile.
3. Entity Counts
These rules look at historical wallet data grouped by an account or entity.
count_total
Counts the total number of wallet transactions for an account within a time window.
- Configuration:
- Entity: The column to group by (e.g.,
source_account). - Threshold: The minimum number of transactions.
- Time Window: The lookback period.
- Entity: The column to group by (e.g.,
- Example:
source_account has >= 50 transactions in 30d - Use case: Flag accounts with unusually high velocity, often a sign of automated mule activity.
count_events
Counts the number of wallet transactions matching a specific status or nature for an account.
- Configuration:
- Entity: The column to group by.
- Status Field: The column to filter on (e.g.,
nature). - Status Values: Which values to count (e.g.,
debit). - Threshold: The minimum count.
- Example:
source_account has >= 10 debit transactions in 1h - Use case: Detect a rapid drain of funds from a single wallet.
count_distinct
Counts the number of distinct values for a target entity, grouped by a source entity.
- Configuration:
- Source Entity: The column to group by (e.g.,
source_account). - Target Entity: The column to count unique values for (e.g.,
dest_account).
- Source Entity: The column to group by (e.g.,
- Example:
source_account has >= 5 distinct dest_accounts in 24h - Use case: Detect beneficiary fan-out (one wallet sending money to many different accounts).
4. Relationships
These rules traverse the Entity Graph to find connections between wallet accounts, devices, and users.
shared_entity
Checks if an entity (like a mobile number or device) is linked to multiple wallet accounts.
- Configuration:
- Entity: The entity to check (e.g.,
mobile_no,device_id). - Threshold: The minimum number of linked accounts.
- Entity: The entity to check (e.g.,
- Example:
mobile_no shared by >= 3 source_accounts - Use case: Detect one person running multiple mule wallets from the same phone.
entity_chain
Traverses a multi-hop path between wallet entities.
- Configuration:
- Path: Select entities in order (e.g.,
source_account->dest_account->source_account). - Threshold Endpoints: Minimum distinct entities.
- Path: Select entities in order (e.g.,
- Example:
source_account->dest_account->source_account - Use case: Detect circular flows where money loops back to the original wallet.
5. Aggregations
These rules aggregate numeric values across wallet transactions.
sum_amount
Sums a numeric field for an account within a time window.
- Configuration:
- Entity: The column to group by (e.g.,
source_account). - Amount Field: The numeric column to sum (
amount). - Threshold: The minimum sum.
- Entity: The column to group by (e.g.,
- Example:
source_account sum(amount) >= 100,000 in 7d - Use case: Detect high-volume mule accounts draining large sums of money.
average
Averages a numeric field for a wallet account.
- Example:
source_account avg(amount) < 500 - Use case: Identify wallets that are only being used for small probe transfers.
ratio
Calculates the ratio between two event counts for a wallet.
- Configuration:
- Numerator Status: e.g.,
debit. - Denominator Status: e.g.,
credit. - Threshold: The ratio limit.
- Numerator Status: e.g.,
- Example:
debit / credit > 0.9 - Use case: Detect classic mule signatures where the amount of money leaving the wallet is nearly equal to the amount coming in (pass-through).
amount_spike
Compares the current wallet transaction amount to the account's historical average.
- Configuration:
- Entity: The column to group by.
- Multiplier: The factor that the current amount must exceed.
- Lookback: The historical window.
- Example:
amount >= 5x source_account 90d average - Use case: Detect account takeover where a fraudster suddenly drains the wallet with a massive transfer.
See It in Your Own Data
Ayzal AI FRM combines real-time wallet transaction monitoring, entity graph detection, and per-product ML models to stop mule networks before they cash out.
