> For the complete documentation index, see [llms.txt](https://payment.gitbook.io/mpay/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://payment.gitbook.io/mpay/summary/otherremark/errordetails.md).

# 1.3.1 返回错误码列表

### 错误码

**公共错误码**

网关会对开发者的接口非业务调用错误做统一处理，返回码如下：

| code（返回码） | msg（返回码描述）      | 描述                |
| --------- | --------------- | ----------------- |
| 0         | 请求成功            | 请求成功              |
| -1        | 系统繁忙            | 系统繁忙              |
| 20000     | 服务不可用           | 服务暂不可用（网关自身的未知错误） |
| 40001     | 缺少必选参数          | 请求参数里面必须要有参数      |
| 40002     | 请求方法不存在         | method 不存在        |
| 40003     | 签名错误            | 请检查签名             |
| 40004     | 商户不存在           | 商户不存在             |
| 40005     | 商户已被停用          | 商户已被停用            |
| 40006     | 商户资料未认证         | 商户资料未认证           |
| 40007     | 子商户不存在          | 子商户不存在            |
| 45009     | 接口调用超过限制        | -                 |
| 46001     | 手续费账户余额不足       | -                 |
| 46002     | 提现支付宝账号未设置，请先设置 | -                 |
| 46003     | 提现支付宝账号不存在      | -                 |
| 46004     | 提现支付宝账号未启用      | -                 |
| 46001     | 手续费账户余额不足       | -                 |
| 46001     | 手续费账户余额不足       | -                 |

**业务错误码**

| code（返回码） | msg（返回码描述） | 描述   |
| --------- | ---------- | ---- |
| 0         | 请求成功       | 请求成功 |
