> ## Documentation Index
> Fetch the complete documentation index at: https://docs.localpayment.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 订阅

订阅状态用于跟踪定期付款安排，而非单笔付款。订阅内的单次付款尝试被视为 Payin 交易。

## 状态

以下状态代码描述了交易处理后的结果。

| 代码 | 状态 | 描述 |
| :-: | :-: | :-: |
| 104 | `Received` | 订阅已收到 |
| 105 | `Inprogress` | 订阅正在进行中 |
| 106 | `Onhold` | 订阅已暂停 |
| 202 | `Completed` | 订阅已完成 |
| 922 | `ChargeBack` | 订阅已暂停 - 拒付处理中 |

***

## 错误

以下错误代码说明了交易无法成功处理的原因。

| 代码 | 状态 | 描述 |
| :-: | :-: | :-: |
| 300 | `Rejected` | 无效参数 + \[参数名称] + \[原因] |
| 301 | `Rejected` | 空必填参数 + \[参数名称] |
| 834 | `Rejected` | 生成订阅时发生系统错误 |
| 851 | `Rejected` | 订阅更新错误 |
| 903 | `Cancelled` | 订阅已取消 - 商户请求 |
| 904 | `Cancelled` | 订阅已取消 - 失败尝试次数过多 |
| 921 | `Cancelled` | 订阅已取消 - 因拒付败诉 |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.