Use this API to verify location, proxy details, city risk score, and proxy type risk score of an IP address. View the test data and use the information to trigger the validations. The test data are usable only in the test environments such as gamma and sandbox.
Response codes
| Sub code | Status | Message | Next action |
|---|---|---|---|
| 200 | SUCCESS | VALID | - |
| 400 | ERROR | x-client-id is missing in the request. | Enter all the header information in the request. |
| 400 | ERROR | verification_id already exists. | Enter a unique verification ID to identify the request. |
| 400 | ERROR | Client secret belongs to test environment | Enter the correct environment credentials in the request. |
| 400 | ERROR | please enter a valid IP address | Enter a valid IP address in the request. |
| 401 | ERROR | Invalid clientId and clientSecret combination | Ensure you enter valid x-client-id and x-client-secret information in the API request. |
| 403 | ERROR | IP not whitelisted your current IP is 106.51.91.104. For IP whitelisting assistance, visit our IP Whitelisting guide | Whitelist the IP address. |
| 404 | ERROR | unable to find IP details | Enter a valid IP address in the request. |
| 422 | ERROR | Insufficient balance to process this request | Try again with sufficient balance. |
| 500 | ERROR | something went wrong, please try after some time | Try again after some time. |
Your unique client identifier issued by Cashfree. You can find this in your Merchant Dashboard.
The secret key associated with your client ID. Use this to authenticate your API requests. You can find this in your Merchant Dashboard.
Send the signature if two-factor authentication is selected as Public Key. More details
Find the request parameters to retrieve location information of an IP address
It is the IP address that you need to verify which is assigned to a device connected to a computer network.
"1.0.171.255"
It is the unique ID you create to identify the verification request. The maximum character limit is 50. Only alphanumeric, period (.), hyphen (-), and underscore ( _ ) are allowed.
"testverificationid"
IP verified successfully
It displays the unique ID created by Cashfree Payments for reference purposes.
format: int64
1358
It displays the unique ID you created to identify the verification request.
"testverificationid"
It displays the status of the IP address.
"VALID"
It displays the entered IP address.
"1.0.171.255"
It displays the category or classification of a proxy server based on its functionality and how it handles network requests.
"VPA"
It displays the country code associated with the geographical location of the device or network to which the IP address is assigned.
"TH"
It displays the name of the country associated with the geographical location of the device or network to which the IP address is assigned.
"Thailand"
It displays the name of the region associated with the geographical location of the device or network to which the IP address is assigned.
"Phangnga"
It displays the name of the city associated with the geographical location of the device or network to which the IP address is assigned.
"Phang Nga"
It displays the risk score associated with a particular city based on factors such as cybersecurity threats, crime rates, or other relevant data.
"0"
It displays the risk score associated with a particular city based on factors such as cybersecurity threats, crime rates, or other relevant data.
"0"