Skip to main content

Error Codes

All errors return a JSON object with the following fields:

{
"statusCode": 400,
"error": "BAD_REQUEST",
"message": "Human-readable description of the error"
}

HTTP status codes

CodeMeaning
200Success
201Created
400Bad request (missing or invalid parameters)
401Unauthenticated (missing or invalid API key)
403Forbidden (insufficient permissions)
404Resource not found
422Unprocessable entity (validation failed)
429Too many requests (rate limiting)
500Internal server error

Business error codes

CodeHTTPMessage
INVALID_API_KEY401Missing or invalid / revoked API key
MERCHANT_SUSPENDED403Your merchant account is suspended. Please contact support.
TRANSACTION_NOT_FOUND404Transaction not found
OPERATOR_NOT_FOUND404Unknown or unavailable operator
OPERATOR_UNAVAILABLE503Operator temporarily unavailable
INSUFFICIENT_BALANCE422Insufficient balance to complete this operation
DUPLICATE_MERCHANT_REF409An active transaction already exists with this reference
AMOUNT_TOO_LOW422The minimum amount for {operator} is {amount} {currency}
AMOUNT_TOO_HIGH422The maximum amount for {operator} is {amount} {currency}
TRANSACTION_EXPIRED410This payment link has expired
RATE_LIMIT_EXCEEDED429Request rate limit exceeded