Class FraudScore
- Namespace
- Vonage.NumberInsightV2.FraudCheck
- Assembly
- Vonage.dll
Contains the fraud score analysis results for a phone number.
public record FraudScore : IEquatable<FraudScore>
- Inheritance
-
FraudScore
- Implements
- Inherited Members
Constructors
FraudScore(string, RiskRecommendation, FraudScoreLabel, string)
Contains the fraud score analysis results for a phone number.
public FraudScore(string RiskScore, RiskRecommendation RiskRecommendation, FraudScoreLabel Label, string Status)
Parameters
RiskScorestringFraud risk score from 0 (lowest risk) to 100 (highest risk), derived from fraud-related data associated with the phone number.
RiskRecommendationRiskRecommendationThe recommended action (allow, flag, or block) based on the risk score.
LabelFraudScoreLabelHuman-readable risk category: low, medium, or high.
StatusstringThe status of the fraud score operation (e.g., "completed").
Properties
Label
Human-readable risk category: low, medium, or high.
[JsonPropertyName("label")]
[JsonConverter(typeof(EnumDescriptionJsonConverter<FraudScoreLabel>))]
public FraudScoreLabel Label { get; init; }
Property Value
RiskRecommendation
The recommended action (allow, flag, or block) based on the risk score.
[JsonPropertyName("risk_recommendation")]
[JsonConverter(typeof(EnumDescriptionJsonConverter<RiskRecommendation>))]
public RiskRecommendation RiskRecommendation { get; init; }
Property Value
RiskScore
Fraud risk score from 0 (lowest risk) to 100 (highest risk), derived from fraud-related data associated with the phone number.
[JsonPropertyName("risk_score")]
public string RiskScore { get; init; }
Property Value
Status
The status of the fraud score operation (e.g., "completed").
[JsonPropertyName("status")]
public string Status { get; init; }