Distribute a tip pool
curl --request POST \
--url https://api.centsless.org/api/v1/tip/pool/distribute \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"pool_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({pool_id: '<string>'})
};
fetch('https://api.centsless.org/api/v1/tip/pool/distribute', 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/distribute"
payload = { "pool_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
Distribute a tip pool
POST
/
tip
/
pool
/
distribute
Distribute a tip pool
curl --request POST \
--url https://api.centsless.org/api/v1/tip/pool/distribute \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"pool_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({pool_id: '<string>'})
};
fetch('https://api.centsless.org/api/v1/tip/pool/distribute', 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/distribute"
payload = { "pool_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>"
]
}
