Table of Contents

Class FraudDetectionService

Namespace
RinhaBackend
Assembly
Api.dll

Orchestrates fraud scoring for a single transaction request. Normalizes the request into a feature vector, runs KNN search via IReferenceDataStore, and applies the approval threshold to produce a FraudScoreResponse.

public sealed class FraudDetectionService
Inheritance
FraudDetectionService
Inherited Members

Constructors

FraudDetectionService(IReferenceDataStore, IReadOnlyDictionary<string, float>)

Methods

Score(FraudScoreRequest)

Scores a transaction and returns the fraud score along with the approval decision.