跳至主要内容

贖回

贖回

HTTP 請求

POST /v5/spot-lever-token/redeem

請求參數

參數是否必需類型說明
ltCointruestringLT資產名稱,例如BTC3L
quantityturestring贖回代幣數量
serialNofalsestring序列號

響應參數

參數類型說明
ltCoinstring槓桿代幣資產簡稱
ltOrderStatusstring申購單狀態. 1: 已完成, 2: 等待中, 3: 失敗
quantitystring數量
execQtystring訂單數量
execAmtstring實際成交的金額
redeemIdstring交易單號
serialNostring序列號
valueCoinstring報價幣種

請求示例

POST /v5/spot-lever-token/redeem HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1672296416024
X-BAPI-SIGN: XXXXX
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json

{
"ltCoin": "EOS3L",
"quantity": "150",
"serialNo": "redeem-001"
}

響應示例

{
"retCode": 0,
"retMsg": "OK",
"result": {
"execAmt": "",
"execQty": "150",
"ltCoin": "EOS3L",
"ltOrderStatus": "2",
"quantity": "",
"redeemId": "2619",
"serialNo": "redeem-001",
"valueCoin": "EOS3L"
},
"retExtInfo": {},
"time": 1672296417363
}