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
These codes cover wallet address requests, verification, application and lookup failures.Compatibility Codes
Outer login, permission and routing failures continue using the existing platform
codes, including
auth_login_required, auth_permission_denied,
common_resource_not_found and common_method_not_allowed. Existing user-not-found
and missing KYC/KYB checks retain their shared user/verification error codes rather
than introducing new approval or access rules.
Error Propagation And Response Contract
- Known wallet codes are preserved across structured responses and structured HTTP errors. Unknown error codes are not accepted merely because their name starts with wallet_address_.
- Generic
channel_request_invalid/request_parameter_invalid/channel_not_supportedbecomewallet_address_request_invalid.channel_collect_failedbecomeswallet_address_channel_apply_failed. Empty channel responses becomewallet_address_dependency_response_invalid. - An unavailable or malformed query dependency is not reported as a missing wallet/application. The not-found classification requires an actual successful lookup with no matching application in the current user’s scope.
- Malformed/missing public request bodies return HTTP 400 with the standard response envelope. Business failures may return HTTP 200 with success=false; clients must check the envelope rather than relying on HTTP status alone.
- Responses contain a string
code,trace_idwhen available and a numeric millisecondtimestamp. Include the trace ID when contacting support. - Error messages do not expose internal diagnostic details. Use the trace ID when contacting support.
Business Flow Compatibility
- Successful response fields and date formats follow the wallet address endpoint definitions.
- Existing validation order, ownership checks, channel selection, channel-account reuse and identifier prefixes are unchanged. Error classification does not add a new channel application, retry task or notification.
- Repeating the same complete business key returns the existing application snapshot without another channel submission. Creation does not accept a client request reference. Query by
wallet_id; success=true means the query succeeded, not that the application succeeded. - A success notification is sent after the successful application result has been saved.
- Failure notifications retain their existing code and reason. A notification delivery failure does not change a successful address application result.
- A timeout or invalid response after submission does not prove that no channel
write happened. Query with the original
wallet_idbefore resubmitting. This change does not add an automatic retry of aFAILEDrequest.
OpenAPI failure example
request_id. Query uses wallet_id; it must identify an owned wallet address. PENDING/PROCESSING/UNKNOWN/FAILED may return a successful snapshot without an address; SUCCESS without an address is an invalid dependency response.
