Skip to main content

Error - Response Code

Less than 1 minute

Error Response Codes

APIs return a standard code. Branch on code — do not rely on message text alone.

Error Code System

Standard response codes

codeMeaningWhat to do
00SuccessUpdate local order; notify user; audit log
01In progressPoll with inquiry; set a timeout
10Bad requestFix required fields, types, request shape
11Not foundCheck endpoint, orderNo / tradeNo, API version
12UnauthorizedCheck signature, keys, payment method → Signature Rules
13Too many requestsReduce rate; exponential backoff
14ForbiddenCheck account / method status; contact BD
15TimeoutCheck network; retry with increasing delay
16Insufficient balanceValidate balance before pay-out; clear user message
99System / channel errorLog full response + requestId; short retry, then support

Example response body

{
  "code": "10",
  "message": "Bad Request",
  "details": "Missing required parameter: merchantId",
  "timestamp": "2020-12-17T10:55:00-05:00",
  "requestId": "req_123456789"
}

Implementation notes

  1. Branch on code — copy may change; codes stay stable.
  2. Retry only when safe01 / 15 / some 99; fix 1014 and 16 first.
  3. Logging — at least code, requestId, and your order id.
  4. Idempotent updates — retries and callbacks must not double-credit.

Support playbook for code + responseCode: Customer RAG.