One-time payments

Error codes

Protocol: JSON v3 · XML 2.9OpenAPI

JSON v3 and XML 2.9 error codes from OpenAPI.

JSON v3 returns an HTTP status and error.code; XML 2.9 always responds with HTTP 200 and puts ResultCode in the body. Below are the codes from the specification.

CodeHTTPMeaning
AUTH_INVALID_SIGNATURE401Invalid signature or missing auth header
AUTH_INVALID_TIMESTAMP401Missing/expired X-Timestamp
AUTH_INVALID_PROJECT403Project inactive or IP not whitelisted
BAD_REQUEST400Invalid request parameters
INVALID_MSISDN422Invalid MSISDN format
INVALID_CLIENT_IP422Invalid or missing client_ip
INVALID_PRICE422Invalid price
INVALID_BILLING_DETAILS422Invalid billing details
INVALID_AUTHORIZE_INFO422Invalid PIN / authorization data
AUTHORIZE_INFO_DENIED422Authorization data not allowed for this operation
CUSTOMER_NOT_SUPPORTED422Customer/operator not supported
CUSTOMER_BLACKLISTED422MSISDN is in the black list
FRAUD_SUSPECTED422Request rejected for fraud reasons
INVOICE_NOT_AUTHORIZED422Wrong PIN

What to do

  • 401 / AUTH_* — check the login, time and signature.

  • 403 / AUTH_INVALID_PROJECT — project inactive or IP not whitelisted.

  • 409 CONTRACT_ALREADY_EXISTS — reuse the existing binding.

  • 422 — validate request fields; details are in error.details.

  • 5xx — retry with the same merchant_order_id; the operation is idempotent by order id.