Skip to main content

Error Reference

Scope

This page covers all server error codes surfaced by the Payments & SMS API and re-emitted by the Android SDK.

Use it to decide how your app should react (retry, show a toast, log & fail, etc.).

Error format​

All errors are returned as JSON objects in the following format:

{
"code": "error_code",
"msg": "error_message"
}

Category cheatsheet​

CategoryCode ranges
Success0
Auth / Session1, 1001, 10020–10023
Validation & Integration10001–10019
User Account20001–20003
WeChat30001–30003
Alipay40001
Payment50001–50022
Device / Report60001
Service Config70002–70007
System99998–99999

Note on 99999 (Android SDK)​

On the Android SDK, 99999 means the SDK caught an unexpected local exception while processing the request or payment flow — for example a missing Activity, a dependency/configuration problem, or a JSON parsing error. It is not, by itself, a specific payment-provider or backend decline.

Do not classify a 99999 from the error code alone: obtain the underlying Android exception and surrounding logs first. See Troubleshooting → Understanding SDK error 99999.


Note on 10002 after a refund (Payments)​

10002 ("Data does not exist or has been deleted") on GET /detail.json after a refund may mean the original bizNo is no longer the stored lookup key — refunded orders have been observed in /history.json under a timestamp-suffixed bizNo (<originalBizNo>_YYYYMMDDHHMMSS).

  • Do not conclude the user never had a transaction from 10002 alone.
  • Query GET /history.json for the same customerIdentity and look for a current bizNo that matches the original value plus a timestamp suffix.
  • Persist both the original and the latest returned bizNo.

This response was observed with an HTTP 400 status, so parse the JSON body even on non-2xx responses. See Server Verification and Entitlements and the API reference.


Downloads​

note

If you encounter undocumented errors or behavior, please contact support with the traceId of your request.