跳至主要内容

查詢代金券參數

HTTP 請求

POST /v5/broker/award/info

請求參數

參數是否必需類型說明
idtruestring代金券ID

響應參數

參數類型說明
idstring代金券ID
coinstring幣種
amountUnitstring計價單位
  • AWARD_AMOUNT_UNIT_USD
  • AWARD_AMOUNT_UNIT_COIN
  • productLinestring業務線
    subProductLinestring子業務線
    totalAmountObject代金券總金額
    usedAmountstring代金券已發出金額

    請求示例

    POST /v5/broker/award/info HTTP/1.1
    Host: api.bybit.com
    X-BAPI-SIGN: XXXXXX
    X-BAPI-API-KEY: XXXXXX
    X-BAPI-TIMESTAMP: 1726107086048
    X-BAPI-RECV-WINDOW: 5000
    Content-Type: application/json
    Content-Length: 22

    {
    "id": "80209"
    }

    響應示例

    {
    "retCode": 0,
    "retMsg": "",
    "result": {
    "id": "80209",
    "coin": "USDT",
    "amountUnit": "AWARD_AMOUNT_UNIT_USD",
    "productLine": "PRODUCT_LINE_CONTRACT",
    "subProductLine": "SUB_PRODUCT_LINE_CONTRACT_DEFAULT",
    "totalAmount": "10000",
    "usedAmount": "100"
    },
    "retExtInfo": {},
    "time": 1726107086313
    }