> ## 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.

# 货币兑换

货币兑换交易是指两个账户之间资金从一种货币兑换成另一种货币的过程。每笔交易在处理过程中都会经历一系列状态。

## 状态

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

| 代码 | 状态 | 类别 | 描述 |
| - | - | - | - |
| 103 | `Approved` | | 货币兑换已获批准 |
| 200 | `Completed` | | 货币兑换结束了。 |

***

## 错误

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

| 代码 | 状态 | 类别 | 描述 |
| - | - | - | - |
| 303 | `Rejected` | ProcessingError | 此汇率令牌已过期。 |
| 511 | `Rejected` | BusinessLogicError | `ZeroAmount` |
| 701 | `Rejected` | ProcessingError | 已扣款账户不存在 |
| 702 | `Rejected` | ProcessingError | 账户所有者和客户必须相同 |
| 703 | `Rejected` | ProcessingError | 账户所在国家/地区必须匹配 |
| 704 | `Rejected` | ProcessingError | 已入账账户不存在 |
| 705 | `Rejected` | ProcessingError | 贷记账户货币不匹配 |
| 706 | `Rejected` | ProcessingError | 已入账账户不允许进行此类交易。 |
| 707 | `Rejected` | BusinessLogicError | 字段 debited.amount 和 credited.amount 互斥，只能报告其中一个。 |
| 716 | `Rejected` | ProcessingError | 已扣款账户不接受交易类型 |
| 825 | `Rejected` | ProcessingError | 生成货币兑换时出现系统错误 |
| 826 | `Rejected` | BusinessLogicError | 无效的账户余额 |
| 833 | `Rejected` | BusinessLogicError | 实际到账金额与计算金额不同。 |
| 890 | `Rejected` | BusinessLogicError | 非营业时间交易。请在 \[timeRange] 时间段重试。周末及节假日除外。 |


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