Create a tip pool
curl --request POST \
--url https://api.centsless.org/api/v1/tip/pool/create \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"tip_ids": [
"<string>"
],
"participants": [
{
"employeeId": "<string>",
"employeeName": "<string>",
"weight": 123,
"hours": 123
}
],
"pool_name": "<string>",
"store_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
tip_ids: ['<string>'],
participants: [{employeeId: '<string>', employeeName: '<string>', weight: 123, hours: 123}],
pool_name: '<string>',
store_id: '<string>'
})
};
fetch('https://api.centsless.org/api/v1/tip/pool/create', 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/pool/create"
payload = {
"tip_ids": ["<string>"],
"participants": [
{
"employeeId": "<string>",
"employeeName": "<string>",
"weight": 123,
"hours": 123
}
],
"pool_name": "<string>",
"store_id": "<string>"
}
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
Create a tip pool
POST
/
tip
/
pool
/
create
Create a tip pool
curl --request POST \
--url https://api.centsless.org/api/v1/tip/pool/create \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"tip_ids": [
"<string>"
],
"participants": [
{
"employeeId": "<string>",
"employeeName": "<string>",
"weight": 123,
"hours": 123
}
],
"pool_name": "<string>",
"store_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
tip_ids: ['<string>'],
participants: [{employeeId: '<string>', employeeName: '<string>', weight: 123, hours: 123}],
pool_name: '<string>',
store_id: '<string>'
})
};
fetch('https://api.centsless.org/api/v1/tip/pool/create', 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/pool/create"
payload = {
"tip_ids": ["<string>"],
"participants": [
{
"employeeId": "<string>",
"employeeName": "<string>",
"weight": 123,
"hours": 123
}
],
"pool_name": "<string>",
"store_id": "<string>"
}
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>"
]
}Authorizations
Body
application/json
Response
The pool.

