跳至主要内容

查詢最大可減少的質押金額

查詢某個借貸訂單允許的最大可減少質押金額

權限: "現貨交易"

HTTP 請求

GET /v5/crypto-loan/max-collateral-amount

請求參數

參數是否必需類型說明
orderIdtruestring借貸訂單ID

響應參數

參數類型說明
maxCollateralAmountstring最大可減少金額

請求示例

GET /v5/crypto-loan/max-collateral-amount?orderId=1794267532472646144 HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: XXXXXX
X-BAPI-TIMESTAMP: 1728634289933
X-BAPI-RECV-WINDOW: 5000

響應示例

{
"retCode": 0,
"retMsg": "request.success",
"result": {
"maxCollateralAmount": "0.00210611"
},
"retExtInfo": {},
"time": 1728634291554
}