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

# 关闭订单接口

## 功能说明

关闭未支付的聚合支付订单。订单关闭后用户将无法继续支付该订单，适用于订单超时或商户主动取消交易的场景。

## 请求地址

`POST /v1/aggregate/payment/charge/close`

## 请求参数

| 字段                  | 类型     | 必填 | 说明      |
| ------------------- | ------ | -- | ------- |
| `out_trade_no`      | string | 是  | 商户流水号   |
| `business_trade_no` | string | 否  | 商户业务订单号 |
| `merchant_code`     | string | 是  | 商户编码    |

## 请求示例

```json theme={null}
{
  "out_trade_no": "ea51203e1a0146d7954b39ac88aecaf7",
  "business_trade_no": "B20231025152300001",
  "merchant_code": "226801000000865319122"
}
```

## 响应参数

本接口响应无业务字段，无错误码表示成功。

## 响应示例

```json theme={null}
{}
```
