Skip to main content

Get Loan Repayment History(USER_DATA)

API Description#

Get Loan Repayment History

HTTP Request#

GET /sapi/v1/loan/repay/history

Request Weight(IP)#

400

Request Parameters#

NameTypeMandatoryDescription
orderIdLONGNO
loanCoinSTRINGNO
collateralCoinSTRINGNO
startTimeLONGNO
endTimeLONGNO
currentLONGNOCurrent querying page. Start from 1; default: 1; max: 1000
limitLONGNODefault: 10; max: 100
recvWindowLONGNO
timestampLONGYES
  • If startTime and endTime are not sent, the recent 90-day data will be returned.
  • The max interval between startTime and endTime is 180 days.

Response Example#

{  "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}