AML Rail
AML Rail
Section titled “AML Rail”Anti-money laundering screening and monitoring endpoints.
Overview
Section titled “Overview”The AML rail provides:
- Sanctions screening
- Transaction monitoring
- Suspicious activity detection
- Regulatory reporting
Endpoints
Section titled “Endpoints”Screen Entity
Section titled “Screen Entity”POST /v1/aml/screenconst screening = await iof.aml.screen({ entity: { type: "individual", name: "John Doe", dateOfBirth: "1980-01-15", nationality: "US", }, lists: ["ofac", "eu", "un"],});Response:
{ "id": "screen_abc", "status": "clear", "matches": [], "riskScore": 5, "screenedAt": "2024-01-15T10:30:00Z"}Monitor Transaction
Section titled “Monitor Transaction”POST /v1/aml/transactionsconst result = await iof.aml.monitorTransaction({ transactionId: "txn_123", type: "transfer", amount: 50000, currency: "USD", sender: { id: "cust_abc" }, receiver: { id: "cust_def" },});Response:
{ "id": "mon_xyz", "transactionId": "txn_123", "riskLevel": "low", "alerts": [], "recommendation": "allow"}Get Screening
Section titled “Get Screening”GET /v1/aml/screenings/:idconst screening = await iof.aml.getScreening("screen_abc");List Alerts
Section titled “List Alerts”GET /v1/aml/alertsconst alerts = await iof.aml.listAlerts({ status: "open", riskLevel: "high", limit: 20,});File SAR
Section titled “File SAR”POST /v1/aml/reports/sarconst sar = await iof.aml.fileSAR({ alertId: "alert_123", narrative: "Suspicious pattern detected...", filingType: "initial",});Sanctions Lists
Section titled “Sanctions Lists”| List | Description |
|---|---|
ofac | US OFAC SDN List |
eu | EU Consolidated List |
un | UN Security Council |
uk | UK HMT Sanctions |
local | Jurisdiction-specific |
Risk Levels
Section titled “Risk Levels”| Level | Score | Action |
|---|---|---|
low | 0-30 | Auto-approve |
medium | 31-60 | Enhanced monitoring |
high | 61-80 | Manual review |
critical | 81-100 | Block and investigate |
Alert Types
Section titled “Alert Types”| Type | Description |
|---|---|
sanctions_hit | Sanctions match found |
unusual_pattern | Unusual transaction pattern |
velocity | High transaction velocity |
structuring | Potential structuring |
geographic | High-risk geography |
Webhooks
Section titled “Webhooks”| Event | Description |
|---|---|
aml.screening.completed | Screening completed |
aml.alert.created | New alert created |
aml.alert.escalated | Alert escalated |
Next Steps
Section titled “Next Steps”- KYC Rail - Customer verification
- Compliance Rail - Regulatory compliance