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

Downloads

note

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