POST
/
ip
curl --request POST \
  --url https://sandbox.cashfree.com/verification/ip \
  --header 'Content-Type: application/json' \
  --header 'x-client-id: <api-key>' \
  --header 'x-client-secret: <api-key>' \
  --data '{
  "ip_address": "1.0.171.255",
  "verification_id": "testverificationid"
}'
{
"value": {
"reference_id": 1358,
"verification_id": "testverificationid",
"status": "VALID",
"ip_address": "1.0.171.255",
"proxy_type": "VPA",
"country_code": "TH",
"country_name": "Thailand",
"region_name": "Phangna",
"city_name": "Phang Nga",
"city_risk_score": "0",
"proxy_type_risk_score": "0"
}
}

Authorizations

x-client-id
string
header
required

Client ID. You can find your ID in the Merchant Dashboard.

x-client-secret
string
header
required

Client secret key. You can find your secret key in the Merchant Dashboard.

Headers

x-cf-signature
string

Send the signature if IP is not whitelisted.

Body

application/json

Find the request parameters to retrieve location information of an IP address

The body is of type object.

Response

200
application/json

IP verified successfully

The response is of type object.