POST
/
reverse-geocoding
{
  "verification_id": "test001",
  "reference_id": 21637861,
  "latitude": "12.9274477",
  "longitude": "77.6326542",
  "address": "JSS Institutions Campus, First Floor, CA Site No.1, HAL 3rd Stage, HAL 3rd Stage, KodihalliBehind Hotel Leela Palace, HAL 2nd Stage, Kodihalli, Bengaluru, Karnataka 560008, India",
  "city": "bangalore",
  "state": "Karnataka",
  "statecode": "KA",
  "countrycode": "In",
  "pincode": "560008",
  "score": "1",
  "status": "VALID"
}

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.

Body

application/json

Find the request parameters to convert geographic cooridnates into readable location

latitude
string
default:
12.9274477
required

It is the angular distance expressed in degrees of arc north or south of the equator to specify the location.

longitude
string
default:
77.6326542
required

It is the angular distance expressed in degrees of arc east or west of the equator to specify the location.

verification_id
string
default:
test001
required

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.

Response

200 - application/json

Reverse Geocoding success response

address
string

It displays the physical address of the entered coordinates.

city
string

It displays the name of the city of the entered coordinates.

countrycode
string

It displays the country's code of the entered coordinates.

latitude
string

It displays the entered angular distance expressed in degrees of arc north or south of the equator to specify the location.

longitude
string

It displays the entered angular distance expressed in degrees of arc east or west of the equator to specify the location.

pincode
string

It displays the PIN code information of the entered coordinates.

reference_id
integer

It displays the unique ID created by Cashfree Payments for reference purposes. format: int64

score
number

It displays the confidence score. Value ranges from 0 to 1

state
string

It displays the name of the state of the entered coordinates.

statecode
string

It displays the state's code of the entered coordinates.

status
string

It displays the status of the entered coordinates. Possible values are:

  • VALID
verification_id
string

It displays the unique ID you created to identify the verification request.