Error Codes (Admin & Merchant API)
All Admin & Merchant API errors are either HTTP status code 400 or 500, will have a State field of Failed, a Status field with the negative error code, and an Error field with a description of the error.
{ ... "State": "Error", "Status": "-5", "Error": "Transaction Failed - Not Authorised"}| Code | Error Description | Explanation |
|---|---|---|
| -1 | Validation / Verification Errors | The bearer token provided is invalid, the user does not exist, the community does not exist, etc. |
| -2 | Duplicate reference | The transaction failed because the reference number used already exists. |
| -3 | Invalid request | The request was in an invalid format. |
| -4 | Invalid MEID | The StoreID was invalid. |
| -5 | Not Authorised | The actor is not authorized to perform this action in this community. |
| -6 | Invalid TID | The TID (Transaction ID) was invalid. |
| -7 | Transaction Failed General | The transaction failed for an unspecified reason. |
| -8 | Invalid Currency | The Currency code was invalid. |
| -12 | Transaction Failed Insufficient funds | The transaction failed as there were insufficient funds available on the voucher. |
| -13 | Transaction Failed Wrong Merchant | The transaction failed as the voucher is not valid to be spent at this merchant. |
| -14 | Transaction Failed Incorrect Voucher Number | The transaction failed as the voucher does not exist. |