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.futunn.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"
      }
    ]
  }
}