Skip to main content

查询还款记录历史(USER_DATA)

接口描述#

查询还款记录历史

HTTP请求#

GET /sapi/v1/loan/repay/history

请求权重(IP)#

400

请求参数#

名称类型是否必需描述
orderIdLONGNO
loanCoinSTRINGNO
collateralCoinSTRINGNO
startTimeLONGNO
endTimeLONGNO
currentLONGNO当前查询页数,从 1 开始。默认值:1;最大:1000。
limitLONGNO默认值:10;最大:100。
recvWindowLONGNO
timestampLONGYES
  • 如果没有发送 startTime 和 endTime,默认返回最近 90 天的数据。
  • startTime 和 endTime 的最大间隔为 180 天。

响应示例#

{  "rows": [    {    "loanCoin": "BUSD",    "repayAmount": "10000",    "collateralCoin": "BNB",    "collateralUsed": "0"    "collateralReturn": "49.27565492"    "repayType": "1" // 1 for "repay with borrowed coin", 2 for "repay with collateral"    "repayStatus": "Repaid" // Repaid, Repaying, Failed    "repayTime": 1575018510000    "orderId": 756783308056935434    }  ],  "total": 1}