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

# 门店交易汇总查询

## 功能说明

收支平台通过门店（商户号）查询当前订单实际交易情况。

> [!NOTE]
>
> 支付交易汇总可自己生成，无需调用接口。

## 请求地址

⚠️暂未获取（接口资料未提供该接口地址）

## 请求参数

| 字段 | 类型 | 必填 | 说明 |
| - | - | - | - |
| `merchant_code` | string(32) | 是 | 商户号 |

## 响应参数

| 字段 | 类型 | 说明 |
| - | - | - |
| `merchant_code` | string | 平台分配的商户号 |
| `failure_code` | string | 失败原因编码，错误编码，仅状态错误时返回 |
| `failure_msg` | string | 失败原因描述，错误消息，仅状态错误时返回 |
| `state` | string | 状态；`00` 表示支付成功；`01` 表示失败 |
| 在途金额 ⚠️变量名暂未获取 | int | 订单支付后：在途金额 = 子订单付款金额；对账后网商创单：在途金额 = 0 |
| 到账金额 ⚠️变量名暂未获取 | int | 订单支付后：到账金额 = 0；对账后网商创单：到账金额 = 子订单付款金额扣除手续费后金额；退款后：到账金额 = 原到账金额 - 退款金额 + 退款手续费金额；其他状态不变 |
| 手续费 ⚠️变量名暂未获取 | int | 订单支付后：手续费 = 0；对账后网商创单：手续费 = 实际手续费；退款后：手续费 = 退款后实际手续费 |

## 响应示例

⚠️暂未获取（接口资料未提供响应示例）


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