customerId already exists under your company, so this endpoint cannot be used to update an existing customer. On success the wallet is debited, including on cache hits, at the rate matching the returned risk level.curl --location '/api/v1/public/customer/geocode' \
--header 'X-Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"customerId": "CUST-000412",
"fullName": "Adaeze Okonkwo",
"fullAddress": "12 Adeola Odeku Street, Victoria Island, Lagos",
"emailAddress": "adaeze@example.com",
"phoneNumber": "+2348012345678"
}'{
"status": true,
"message": "Operation successful.",
"data": {
"latitude": 6.4281,
"longitude": 3.4219,
"formattedAddress": "string",
"customerId": "string",
"fullName": "string",
"emailAddress": "string",
"phoneNumber": "string",
"addressImages": [
{
"heading": 90,
"imageUrl": "http://example.com"
}
],
"billingInfo": {
"wasCharged": true,
"amount": "50.00",
"currency": "NGN",
"note": "Address geocode charge"
},
"riskSignals": {
"riskLevel": "Low",
"locationType": "ROOFTOP",
"streetViewAvailable": true,
"streetViewDate": "2023-03",
"reverseGeocodeMatch": true,
"streetNumber": "string",
"route": "string",
"neighbourhood": "string",
"lga": "Ikeja",
"state": "Lagos",
"country": "Nigeria",
"postalCode": "string",
"nearbyPlaces": [
{
"name": "Ikeja City Mall",
"category": "shopping_mall",
"vicinity": "Obafemi Awolowo Way, Ikeja",
"distanceMetres": 180
}
]
}
}
}