Errors
Errors are returned with HTTP 200 and a non-zero code. A successful call always returns code 0.
Authentication errors return HTTP 401 (see Authentication).
A declined transaction is not an error: it returns code 0, and the outcome is in data.response_code (see Response Codes).
Attributes
code
integer
required
0 = success. Any other value is an error from the tables below.
message
string
Key identifying the error, e.g. services.refund_exceeding_initial_amount.
errors
object
Validation errors only: field name → message.
The general codes are summarised in the JSON general code summary on the right. The Acquiring-specific codes are listed below.
Validation error
{
"code": 11001,
"message": "services.general.validation_error",
"errors": {
"amount": "This value should be greater than or equal to 0.01."
}
}
General codes
General error codes.
General codes
| Code | Message | Meaning |
|---|---|---|
400 | services. | Bad request |
404 | services. | Not found |
500 | services. | Server error |
11000 | services. | General error |
11001 | services. | Validation error — see errors |
11002 | services. | Entity not found |
11008 | services. | Service request error |
Acquiring codes
Error codes specific to the Acquiring API.
Acquiring codes
| Code | Message | Meaning |
|---|---|---|
90001 | services. | Saved card not found |
90002 | services. | Merchant configuration not found |
90003 | services. | Card has no successful 3-D Secure initial transaction |
90005 | services. | Pre-authorization already captured |
90006 | services. | This type of transaction cannot be reversed |
90008 | services. | Initial recurring / credential-on-file payment requires 3-D Secure |
90009 | services. | {init} session not found or expired |
90011 | services. | Capture amount exceeds the authorized amount |
90012 | services. | Transaction is not a pre-authorization |
90013 | services. | Terminal not active |
90014 | services. | Original transaction is not successful |
90015 | services. | Only a purchase or a capture can be refunded |
90016 | services. | Refund exceeds the remaining refundable amount |
90017 | services. | Operation not supported for this card or transaction |
90018 | services. | Transaction can no longer be reversed |
90019 | services. | Initial transaction was made with a different card |
90020 | services. | Action not supported for this transaction |
90021 | services. | 3-D Secure authentication required |
90022 | services. | New card is of a different brand |
21000 | — | Declined by fraud screening |
21001 | — | Flagged as suspicious by fraud screening |
50004 | services. | Transaction not found |