Void Earning
The Void Earning API allows you to cancel or reverse a previously recorded earning transaction. This is useful when an earning was granted in error or needs to be adjusted.
Void Earning Transaction
Name
Value
{id}
Name
Type
Description
Name
Type
Description
{
"status": "success",
"status_code": 200,
"message": "Earning transaction #EA/24/00000025 has been voided.",
"data": null
}{
"status": "error",
"status_code": 422,
"message": "Earning transaction not found.",
"errors": [
"Earning transaction not found."
]
}Last updated