跳到主要内容

查询还款历史

限速规则 10次/1s (UID)

描述

查询还款历史列表

HTTP请求

  • GET /api/v2/earn/loan/repay-history
请求示例
curl "https://api.bitget.com/api/v2/earn/loan/repay-history?startTime=1685957902000&endTime=1691228302423" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"

请求参数

参数名参数类型是否必须描述
orderIdString订单ID
loanCoinString借贷币种
pledgeCoinString质押币种
startTimeString开始时间,仅支持查询近三个月数据
endTimeString结束时间
pageNoStringpageNo 默认值1
pageSizeStringpageSize 默认值10,最大值100
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1684747525424,
"data": [{
"orderId": "12121212121",
"loanCoin": "TRX",
"pledgeCoin": "USDT",
"repayAmount": "1566.23820848",
"payInterest": "0.1185634",
"repayLoanAmount": "1566.22635214",
"repayUnlockAmount": "195",
"repayTime": "1684747525424"
}, {
"orderId": "12121212121",
"loanCoin": "TRX",
"pledgeCoin": "USDT",
"repayAmount": "1566.23820848",
"payInterest": "0.1185634",
"repayLoanAmount": "1566.22635214",
"repayUnlockAmount": "195",
"repayTime": "1684747525424"
}]
}

返回参数

返回字段参数类型字段说明
orderIdString订单ID
loanCoinString需借币种
loanAmountString质押币种
repayAmountString还款数量
payInterestString借币币种支付利息数量
repayLoanAmountString借币币种归还本金数量
repayUnlockAmountString赎回数量
repayTimeString还款时间

您的阅读体验如何?