Override a rounding result
curl --request POST \
--url https://api.centsless.org/api/v1/transaction/override \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"transaction_id": "<string>",
"employee_id": "<string>",
"reason": "<string>",
"new_cash_total_cents": 123,
"employee_name": "<string>",
"manager_id": "<string>",
"notes": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
transaction_id: '<string>',
employee_id: '<string>',
reason: '<string>',
new_cash_total_cents: 123,
employee_name: '<string>',
manager_id: '<string>',
notes: '<string>'
})
};
fetch('https://api.centsless.org/api/v1/transaction/override', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/transaction/override"
payload = {
"transaction_id": "<string>",
"employee_id": "<string>",
"reason": "<string>",
"new_cash_total_cents": 123,
"employee_name": "<string>",
"manager_id": "<string>",
"notes": "<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>"
]
}{
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}Overrides
Override a rounding result
Records a manual adjustment of the cash total after the engine’s calculation. More than two cents requires manager_id. Requires transaction:override.
POST
/
transaction
/
override
Override a rounding result
curl --request POST \
--url https://api.centsless.org/api/v1/transaction/override \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"transaction_id": "<string>",
"employee_id": "<string>",
"reason": "<string>",
"new_cash_total_cents": 123,
"employee_name": "<string>",
"manager_id": "<string>",
"notes": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
transaction_id: '<string>',
employee_id: '<string>',
reason: '<string>',
new_cash_total_cents: 123,
employee_name: '<string>',
manager_id: '<string>',
notes: '<string>'
})
};
fetch('https://api.centsless.org/api/v1/transaction/override', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/transaction/override"
payload = {
"transaction_id": "<string>",
"employee_id": "<string>",
"reason": "<string>",
"new_cash_total_cents": 123,
"employee_name": "<string>",
"manager_id": "<string>",
"notes": "<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>"
]
}{
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}Authorizations
Body
application/json
Response
The override record, hash-linked to the transaction.

