Overview
The FraudCheckCompleted event is emitted when the fraud detection service has completed its analysis of a payment transaction. This event contains the risk assessment results and recommendations.
Schema
Event Details
- Risk Score: A numerical score from 0-100 indicating fraud risk
- Decision: APPROVED, DECLINED, or MANUAL_REVIEW
- Reasons: Array of reasons for the decision
- Confidence: Confidence level of the fraud detection
Example Payload
{ "transactionId": "txn_1234567890", "paymentId": "pay_9876543210", "riskScore": 25, "decision": "APPROVED", "reasons": ["Low risk merchant", "Customer history positive"], "confidence": 0.92, "timestamp": "2024-01-15T10:30:00Z"} Event-driven architecture documentation: FlowMart
Warning
<SchemaViewer/> failed to load Tried to load schema from /vercel/path0/examples/default/domains/E-Commerce/subdomains/Payment/services/FraudDetectionService/events/FraudCheckCompleted/schema.json, but no schema can be found