FraudAlert
Persisted fraud alert for high-risk transactions
idstring<uuid>
Unique alert identifier
Example:
550e8400-e29b-41d4-a716-446655440000user_idinteger
API user who triggered the alert
Example:
42customer_idstring
Customer identifier from the verification request
Example:
CUST-12345alert_typestring
Type of transaction that triggered the alert
Possible values: [kyc_verification, collection_registration, location_ping]
Example:
kyc_verificationrisk_scorenumber<double>
Risk score at time of detection
Possible values: >= 0 and <= 1
Example:
0.85signalsstring
JSON array of fraud signals (stored as JSONB)
Example:
[{"type":"velocity_abuse","severity":"critical","description":"Customer verified 5 times in 15 minutes","score":0.8}]blockedboolean
Whether the transaction was blocked
Example:
truereview_statusstring
Admin review status
Possible values: [pending, confirmed, false_positive]
Example:
pendingcreated_atstring<date-time>
When the alert was created
Example:
2024-01-15T14:30:00ZFraudAlert
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": 42,
"customer_id": "CUST-12345",
"alert_type": "kyc_verification",
"risk_score": 0.85,
"signals": "[{\"type\":\"velocity_abuse\",\"severity\":\"critical\",\"description\":\"Customer verified 5 times in 15 minutes\",\"score\":0.8}]",
"blocked": true,
"review_status": "pending",
"created_at": "2024-01-15T14:30:00Z"
}