architecture decision

ADR-010: Publish risk score events from fraud detection

FraudDetectionService publishes risk score events that payment and operations systems can consume asynchronously.

Decision RecordAugust 14, 2024AcceptedFraud

Context

Fraud outcomes are needed by payment operations, fulfillment, and support tooling. Each consumer needs different thresholds and response behavior.

Decision

FraudDetectionService publishes RiskScoreCalculated and FraudDetected events. Consumers decide whether to pause fulfillment, request manual review, or continue.

Consequences

Fraud rules can evolve independently from checkout. Consumers must document the thresholds they apply to each risk score band.