跳至主要内容

撤銷贖回

HTTP 請求

POST /v5/lending/redeem-cancel

請求參數

參數是否必需類型說明
coinfalsestringCoin name
orderIdfalsestringThe order ID of redemption
serialNofalsestringSerial no. The customised ID of redemption

響應參數

參數類型說明
orderIdstringOrder ID
serialNostringSerial No
updatedTimestringUpdated timestamp (ms)

請求示例

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

{
"coin": "BTC",
"orderId": "1403517113428086272",
"serialNo": null
}

響應示例

{
"retCode": 0,
"retMsg": "OK",
"result": {
"orderId": "1403517113428086272",
"serialNo": "linear004",
"updatedTime": "1682048277963"
},
"retExtInfo": {},
"time": 1682048278001
}