Skip to content

获取订单费用 ​

GET /api/v1.0/accounts/{acc_id}/orders/{order_id}/fees

查询指定订单的费用明细,包括各费用项类型、金额及合计费用。

注意

暂不支持查询外汇订单的费用明细。 加拿大券商账户不支持查询订单费用。

路径参数 ​

参数类型必填说明
acc_idstring是业务账户 ID。
order_idstring是订单 ID。

请求示例 ​

bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/accounts/{acc_id}/orders/{order_id}/fees' \
  -H 'Authorization: Bearer <AccessToken>' | jq

响应参数 ​

字段类型说明
order_idstring订单 ID。
currencystring币种。
total_feestring总费用金额。
feeslist[order_fee]费用明细列表。

响应示例 ​

json
{
  "s": "ok",
  "d": {
    "order_id": "123456789",
    "currency": "USD",
    "total_fee": "3.88",
    "fees": [
      {
        "type": "佣金",
        "amount": "2.99"
      },
      {
        "type": "平台费",
        "amount": "0.89"
      }
    ]
  }
}