Read a merchant's settings
curl --request GET \
--url https://api.centsless.org/api/v1/merchants/{merchant_id}/early-adoption \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.centsless.org/api/v1/merchants/{merchant_id}/early-adoption', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/merchants/{merchant_id}/early-adoption"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"merchant": {
"id": "<string>",
"merchant_name": "<string>",
"early_adoption": true,
"early_adoption_set_at": "2023-11-07T05:31:56Z",
"rounding_preference": "<string>",
"local_adoption": true,
"local_adoption_basis": "<string>"
}
}{
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}{
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}Merchant settings
Read a merchant's settings
GET
/
merchants
/
{merchant_id}
/
early-adoption
Read a merchant's settings
curl --request GET \
--url https://api.centsless.org/api/v1/merchants/{merchant_id}/early-adoption \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.centsless.org/api/v1/merchants/{merchant_id}/early-adoption', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/merchants/{merchant_id}/early-adoption"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"merchant": {
"id": "<string>",
"merchant_name": "<string>",
"early_adoption": true,
"early_adoption_set_at": "2023-11-07T05:31:56Z",
"rounding_preference": "<string>",
"local_adoption": true,
"local_adoption_basis": "<string>"
}
}{
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}{
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}
