Package com.vonage.client.numberinsight2
Class NumberInsight2Client
java.lang.Object
com.vonage.client.numberinsight2.NumberInsight2Client
A client for talking to the Vonage NumberInsight2Client API. The standard way to obtain an instance of this class is to use
VonageClient.getNumberInsight2Client().-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfraudCheck(String phoneNumber, Insight insight, Insight... additional) Make fraud check requests with a phone number by looking up fraud score and/or by checking SIM swap status.
-
Constructor Details
-
NumberInsight2Client
Constructor.- Parameters:
wrapper- (REQUIRED) shared HTTP wrapper object used for making REST calls.
-
-
Method Details
-
fraudCheck
Make fraud check requests with a phone number by looking up fraud score and/or by checking SIM swap status.- Parameters:
phoneNumber- The phone number to run the check on, in E.164 format.insight- The insight service type to request.additional- Optional additional insight(s) to send in the request.- Returns:
- Results of the fraud check.
-