Skip to content

Rules Engine

The Rules Engine manages 43 AML detection rules that trigger alerts based on transaction patterns, user behavior, and regulatory requirements.

Overview

  • 43 rules across 15 detection categories
  • Enable/disable individual rules via toggle
  • Configure thresholds and parameters per rule
  • Real-time rule evaluation on every transaction
  • DB-enforcement layer for critical checks

Rule Categories (15)

CategoryCountDescription
threshold3Transaction amount thresholds
structuring2Transaction splitting detection
velocity2Transaction frequency spikes
behavioral4User behavior inconsistencies
pep_related3Politically Exposed Person monitoring
network_analysis3Fund flow graph analysis
high_risk_transaction5ML typology pattern detection
pattern_detection4Automated pattern matching
account_lifecycle3New/dormant account monitoring
digital_wallet3Wallet-specific patterns (NFC, top-up)
mobile_money2Mobile money monitoring
vendor_specific3Vendor transaction patterns
cft_related2Counter-terrorism financing
regional_risk2Geographic risk (Eswatini regions)
regulatory_reporting1Mandatory FIU reporting
business_sector1Industry-specific risk

Full Reference

See the AML Rules Catalog for complete details on all 43 rules including their parameters and thresholds.

Rules Dashboard

Statistics

StatDescription
Total RulesAll configured rules (43)
Active RulesCurrently enabled rules
Disabled RulesRules turned off
Alerts TodayAlerts triggered today

Table Columns

ColumnDescription
RuleName and rule ID (e.g., AML-TH-002)
TypeRule type classification
CategoryDetection category
SeverityLOW, MEDIUM, HIGH, CRITICAL
StatusToggle switch for enable/disable
ActionsEdit, View Statistics, Delete

Severity Levels

LevelDescriptionTypical Response
LOWMinor anomalyLog only
MEDIUMModerate concernCreate alert
HIGHSignificant riskBlock + alert
CRITICALImmediate threatBlock + escalate

Rule Configuration

Rule Form Fields

FieldTypeRequiredDescription
Rule NametextYesDisplay name for the rule
Rule IDtextYesUnique identifier (e.g., AML-TH-002)
Rule TypeselectYesOne of 15 rule categories
SeverityselectNoAlert severity when triggered
DescriptiontextareaNoWhat this rule detects
ConditionsJSONYesParameters and thresholds
ActivetoggleNoEnable/disable the rule

Conditions JSON

Each rule type has specific parameters in the conditions JSON field. Examples:

Threshold rule:

json
{
  "ruleType": "threshold",
  "thresholdAmount": 4500,
  "description": "Enhanced scrutiny for large transactions"
}

Structuring rule:

json
{
  "ruleType": "structuring",
  "thresholdAmount": 3000,
  "thresholdCount": 5,
  "timeWindowHours": 24,
  "description": "Classic structuring to avoid CTR reporting"
}

Network analysis rule:

json
{
  "ruleType": "network_analysis",
  "minSenders": 5,
  "minTotalAmount": 10000,
  "timeWindowHours": 24,
  "description": "Multiple senders to single recipient"
}

Rule Actions

ActionDescription
EditModify rule configuration
ToggleQuick enable/disable
View StatisticsRule performance metrics
DeleteRemove rule permanently

API Endpoints

EndpointMethodDescription
/admin/aml/rulesGETList all rules
/admin/aml/rules/:ruleIdGETGet single rule
/admin/aml/rulesPOSTCreate rule
/admin/aml/rules/:ruleIdPUTUpdate rule
/admin/aml/rules/:ruleId/togglePUTToggle rule status

Internal use only - Keshless Payment Platform