Void a transaction
curl --request POST \
--url https://api.centsless.org/api/v1/transaction/void \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"original_transaction_id": "<string>",
"voided_by": "<string>",
"manager_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
original_transaction_id: '<string>',
voided_by: '<string>',
manager_id: '<string>'
})
};
fetch('https://api.centsless.org/api/v1/transaction/void', 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/void"
payload = {
"original_transaction_id": "<string>",
"voided_by": "<string>",
"manager_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>"
]
}{
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}Overrides
Void a transaction
Within 24 hours (2 hours for EBT). Manager approval required at $100 and for incorrect-amount, fraud-suspected and manager-override. Requires transaction:void.
POST
/
transaction
/
void
Void a transaction
curl --request POST \
--url https://api.centsless.org/api/v1/transaction/void \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"original_transaction_id": "<string>",
"voided_by": "<string>",
"manager_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
original_transaction_id: '<string>',
voided_by: '<string>',
manager_id: '<string>'
})
};
fetch('https://api.centsless.org/api/v1/transaction/void', 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/void"
payload = {
"original_transaction_id": "<string>",
"voided_by": "<string>",
"manager_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>"
]
}{
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}Authorizations
Body
application/json
Response
The void record.

