Error codes
This is a list of possible error codes. Error code is a machine readable identification of the error. This list is not exhaustive and you may encounter a code that is not mentioned.
Error code | Description |
---|---|
null | Unknown error. |
ACCESS_DENIED | Access to the respective item was denied. Ex: when you try to cancel a payment which belongs to another restaurant. |
ALREADY_AUTHORIZED | When POS sends auth-request when already authorized |
BAD_PARAMETER | A parameter in the incoming payload is invalid. |
BAD_PAYLOAD | Server can not parse the incoming payload. |
NO_SUCH_METHOD | Received MethodCallRequest.method is unknown. |
NOT_FOUND | Requested item was not found. Ex: POS sent invalid idPayment to the getPayment(…) method |
POS_BLOCKED | Pos-Id is valid, but access is denied. Usually to prevent further damage, because we have identified an error in your implementation. |
POS_UNKNOWN | Pos-Id is invalid. |
TIME_LIMIT_EXPIRED | When you try to cancel a payment after the allowed time limit. |
UNAUTHORIZED | Api-Key is invalid. |