Overview
The RiskScoreCalculated event is emitted when the fraud detection service calculates a risk score for a payment transaction. This event contains the details of the calculated risk score.
Event Details
- Risk Score: Calculated risk score for the transaction
- Severity: LOW, MEDIUM, or HIGH
- Indicators: Array of indicators used in the calculation
- Confidence: Confidence level of the risk score calculation
Example Payload
{ "transactionId": "txn_1234567890", "paymentId": "pay_9876543210", "riskScore": 85, "severity": "MEDIUM", "indicators": ["Unusual location", "High transaction amount"], "confidence": 0.85, "timestamp": "2024-01-15T10:30:00Z"} Event-driven architecture documentation: FlowMart