Check a tip-credit arrangement
curl --request POST \
--url https://api.centsless.org/api/v1/tip/validate-compliance \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"state": "FL",
"hourly_wage": 123,
"average_tips_per_hour": 123
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({state: 'FL', hourly_wage: 123, average_tips_per_hour: 123})
};
fetch('https://api.centsless.org/api/v1/tip/validate-compliance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/tip/validate-compliance"
payload = {
"state": "FL",
"hourly_wage": 123,
"average_tips_per_hour": 123
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}Tipping
Check a tip-credit arrangement
POST
/
tip
/
validate-compliance
Check a tip-credit arrangement
curl --request POST \
--url https://api.centsless.org/api/v1/tip/validate-compliance \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"state": "FL",
"hourly_wage": 123,
"average_tips_per_hour": 123
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({state: 'FL', hourly_wage: 123, average_tips_per_hour: 123})
};
fetch('https://api.centsless.org/api/v1/tip/validate-compliance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/tip/validate-compliance"
payload = {
"state": "FL",
"hourly_wage": 123,
"average_tips_per_hour": 123
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}
