Interface INumberInsightV2Client
- Namespace
- Vonage.NumberInsightV2
- Assembly
- Vonage.dll
Exposes Number Insight V2 API features for fraud detection and phone number verification.
public interface INumberInsightV2Client
Methods
PerformFraudCheckAsync(Result<FraudCheckRequest>)
Performs a fraud check on a phone number to detect potential fraud risk and SIM swap activity.
Task<Result<FraudCheckResponse>> PerformFraudCheckAsync(Result<FraudCheckRequest> request)
Parameters
requestResult<FraudCheckRequest>The fraud check request containing the phone number and requested insights. Use Build() to create.
Returns
- Task<Result<FraudCheckResponse>>
Success with a FraudCheckResponse containing fraud score and/or SIM swap data, or failure with error details.
Examples
var request = FraudCheckRequest.Build()
.WithPhone("447700900000")
.Create();
var response = await client.NumberInsightV2Client.PerformFraudCheckAsync(request);