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
CodeMessageMeaning
400services.general.bad_requestBad request
404services.general.http_not_found_exceptionNot found
500services.general.http_exceptionServer error
11000services.general.errorGeneral error
11001services.general.validation_errorValidation error — see errors
11002services.general.entity_not_foundEntity not found
11008services.general.service_request_exceptionService request error

Acquiring codes

Error codes specific to the Acquiring API.

Acquiring codes
CodeMessageMeaning
90001services.card-not-foundSaved card not found
90002services.configuration-not-foundMerchant configuration not found
90003services.no-initial-3d-transactionCard has no successful 3-D Secure initial transaction
90005services.transaction_already_capturedPre-authorization already captured
90006services.transaction_is_not_reversibleThis type of transaction cannot be reversed
90008services.initial_recurring_or_cof_requires_3dInitial recurring / credential-on-file payment requires 3-D Secure
90009services.session_not_found_or_expired{init} session not found or expired
90011services.capture_amount_greater_than_initialCapture amount exceeds the authorized amount
90012services.cannot_capture_non_pre_auth_trnTransaction is not a pre-authorization
90013services.terminal_not_foundTerminal not active
90014services.initial_transaction_unsuccessfulOriginal transaction is not successful
90015services.initial_transaction_not_refundableOnly a purchase or a capture can be refunded
90016services.refund_exceeding_initial_amountRefund exceeds the remaining refundable amount
90017services.operation_not_supportedOperation not supported for this card or transaction
90018services.transaction_not_reversibleTransaction can no longer be reversed
90019services.initial_transaction_with_different_cardInitial transaction was made with a different card
90020services.unsupported_actionAction not supported for this transaction
90021services.required_3ds3-D Secure authentication required
90022services.cannot_update_card_with_different_brandNew card is of a different brand
21000—Declined by fraud screening
21001—Flagged as suspicious by fraud screening
50004services.transactions.not_foundTransaction not found
esc
↑↓ navigate ↵ open esc close
Copied