Skip to main content

5. API Errors

CodeMeaning
200OK. Request completed, including idempotent "already exists" responses.
201Created. Resource created.
401Unauthorized. Authentication error: key, signature, or timestamp.
403Forbidden. Access denied.
404Not Found. Payout or PayIn by external_id was not found.
422Unprocessable Entity. Validation or business rule error.
429Too Many Requests. Rate limit exceeded; retry after the response Retry-After value.
503Service Unavailable. Canonical-signature replay protection storage is unavailable.
500Internal Server Error. Server error.

Example response

{
"message": "Invalid API key"
}

Authentication, IP whitelist, and replay-protection middleware errors can use this message-only form. Application validation and business errors use the structured envelope below.

Transaction or business limit violations return HTTP 422 with a stable code value and text in message. Request-rate limiting is separate and returns HTTP 429.