List a merchant's locations with resolution status
curl --request GET \
--url https://api.centsless.org/api/v1/partner/merchants/{merchantId}/locations \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.centsless.org/api/v1/partner/merchants/{merchantId}/locations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/partner/merchants/{merchantId}/locations"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"merchant_id": "<string>",
"locations": [
{
"internal_location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location_id": "<string>",
"location_name": "<string>",
"address": "<string>",
"zip_code": "<string>",
"state": "<string>",
"county_name": "<string>",
"city_name": "<string>",
"jurisdiction_id": "<string>",
"legislation": "<string>",
"legislation_status": "<string>",
"status": "<string>",
"resolution": {
"method": "address_geocode",
"confidence": "high",
"source": "<string>",
"vintage": "<string>",
"match_type": "<string>",
"geocoded_at": "2023-11-07T05:31:56Z",
"matched_address": "<string>",
"latitude": 123,
"longitude": 123,
"state_fips": "<string>",
"county_geoid": "<string>",
"county_name": "<string>",
"place_geoid": "<string>",
"place_name": "<string>",
"place_layer": "<string>",
"cousub_geoid": "<string>",
"aiannh_geoid": "<string>",
"aiannh_name": "<string>",
"time_zone": "<string>",
"mobile": true,
"needs_review": true,
"zip_cross_check": {
"registered_zip": "<string>",
"request_zip": "<string>",
"geocoded_zip": "<string>",
"agrees": true,
"note": "<string>"
},
"notes": [
{
"code": "zip_mismatch",
"detail": "<string>"
}
]
}
}
]
}{
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}Locations
List a merchant's locations with resolution status
GET
/
partner
/
merchants
/
{merchantId}
/
locations
List a merchant's locations with resolution status
curl --request GET \
--url https://api.centsless.org/api/v1/partner/merchants/{merchantId}/locations \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.centsless.org/api/v1/partner/merchants/{merchantId}/locations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/partner/merchants/{merchantId}/locations"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"merchant_id": "<string>",
"locations": [
{
"internal_location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location_id": "<string>",
"location_name": "<string>",
"address": "<string>",
"zip_code": "<string>",
"state": "<string>",
"county_name": "<string>",
"city_name": "<string>",
"jurisdiction_id": "<string>",
"legislation": "<string>",
"legislation_status": "<string>",
"status": "<string>",
"resolution": {
"method": "address_geocode",
"confidence": "high",
"source": "<string>",
"vintage": "<string>",
"match_type": "<string>",
"geocoded_at": "2023-11-07T05:31:56Z",
"matched_address": "<string>",
"latitude": 123,
"longitude": 123,
"state_fips": "<string>",
"county_geoid": "<string>",
"county_name": "<string>",
"place_geoid": "<string>",
"place_name": "<string>",
"place_layer": "<string>",
"cousub_geoid": "<string>",
"aiannh_geoid": "<string>",
"aiannh_name": "<string>",
"time_zone": "<string>",
"mobile": true,
"needs_review": true,
"zip_cross_check": {
"registered_zip": "<string>",
"request_zip": "<string>",
"geocoded_zip": "<string>",
"agrees": true,
"note": "<string>"
},
"notes": [
{
"code": "zip_mismatch",
"detail": "<string>"
}
]
}
}
]
}{
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}
