See Common Errors for shared authentication, identity and prerequisite codes. Inspect the business code and success, including on HTTP 200. Responses use trace_id and a numeric millisecond timestamp. Authentication, route and permission failures retain platform codes and differ from internal dependency authentication errors. Do not interpret technical failure as an absent record, empty list or zero funds. After an uncertain write, query the original business reference before resubmitting.

Business Error Codes

The following codes distinguish invalid requests, unavailable services and failed balance queries.

Failure Versus Zero Balance

  • A genuine empty account list remains successful and returns an empty list.
  • An existing account whose queried numeric amounts are all zero remains successful with zero amounts.
  • A null account-list response is invalid, not an empty account list.
  • A registered account not found by Account is an error, not a zero balance.
  • If any required account lookup fails, the whole balance query fails. It does not return partial totals or replace failed amounts with zero.
  • Missing required amount/currency fields in an otherwise successful dependency response are invalid, not zero.
  • No balance mutation, freeze, debit or credit is performed by this query.

Common Errors And Normalization

  • Public login, scene validation, RBAC, routing and method errors keep existing platform codes, including auth_login_required, auth_permission_denied, request_parameter_invalid, common_resource_not_found and common_method_not_allowed, as applicable.
  • Known balance codes propagate through the chain. Legacy balance_account_request_invalid is normalized to balance_request_invalid.
  • Account account_no_records_found / account_does_not_exists become balance_account_not_found.
  • Internal invalid-currency/missing-data errors become balance_dependency_response_invalid because the balance chain supplies those internal parameters.
  • Raw dependency exceptions are logged internally; internal diagnostic details and provider response bodies are not returned as public error messages.
  • Retry availability/query failures after checking dependency health. Fix identity/configuration errors first. Do not treat a failed query as evidence of insufficient or zero funds.

OpenAPI failure example

Additional gateway and list-operation codes

These codes are grouped by related operations; a single endpoint may return only a subset. The Common Errors page covers shared prerequisites.