跳至主要内容

查詢還款信息

提示
  • 默認查詢過去2年的數據
  • 最多支持查詢過去2年的數據

HTTP 請求

GET /v5/ins-loan/repaid-history

請求參數

參數是否必須類型說明
startTimefalseinteger開始時間戳 (毫秒)
endTimefalseinteger結束時間戳 (毫秒)
limitfalseinteger返回數量限制. [1, 100]. 默認: 100

返回參數

參數類型說明
repayInfoarrayObject
> repayOrderIdstring還款訂單號
> repaidTimestring還款時間(毫秒)
> tokenstring還款幣種
> quantitystring還款本金
> intereststring還款利息
> businessTypestring還款類型. 1:正常還款; 2:系統強平還款
> statusstring1:還款成功; 2:還款失敗

Request Example

GET /v5/ins-loan/repaid-history HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN-TYPE: 2
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1678687944725
X-BAPI-RECV-WINDOW: 5000
X-BAPI-SIGN: XXXXX

Response Example

{
"retCode": 0,
"retMsg": "",
"result": {
"repayInfo": [
{
"repayOrderId": "8189",
"repaidTime": "1663126393000",
"token": "USDT",
"quantity": "30000",
"interest": "0",
"businessType": "1",
"status": "1"
}
]
},
"retExtInfo": {},
"time": 1669366648366
}