Skip to main content

Query Repayment History

Description

Endpoint: GET /v4/order/finance/loan/order/history/repay


Query Parameters

NameTypeRequiredDefaultDescriptionAllowed Values
pageintegerfalse1Page number
limitintegerfalse10Number of items per page
orderIdstringfalseOrder ID
loanCurrencyIdListarrayfalseList of loan currency IDs
pledgeCurrencyIdListarrayfalseList of pledge currency IDs
statusarrayfalseList of order statusesRUNNING, REPAID, COMPLETE
repaymentTypesarrayfalseRepayment history typesORDINARY_REPAYMENT, PLEDGE_REPAYMENT
productTypesarrayfalseList of product typesSEVEN_DAY_APR, THIRTY_DAY_APR, NINETY_DAY_APR, DEMAND, VIP
startTimeintegerfalseStart timestamp (ms)
endTimeintegerfalseEnd timestamp (ms)

Response Example

Response Example
{
"rc": 0, // Response code: 0 - success
"mc": "SUCCESS", // Message
"ma": [], // Message arguments
"result": {
"hasPrev": false, // Has previous page
"hasNext": false, // Has next page
"items": [ // Repayment history list
{
"id": "542798144228902336", // Order ID
"repaymentPrincipalAmount": "111", // Repaid principal amount
"repaymentInterestAmount": "0.00040207", // Repaid interest amount
"repaymentTotalAmount": "111.00040207", // Total repayment (principal + interest)
"loanCurrency": "xt", // Loan currency symbol
"loanCurrencyId": 128, // Loan currency ID
"pledgeCurrency": "btc", // Pledge currency symbol
"pledgeCurrencyId": 2, // Pledge currency ID
"repaymentPledgeAmount": null, // Pledged repayment amount (if partial)
"returnPledgeAmount": "0.0085350021", // Returned pledge amount
"status": "COMPLETE", // Repayment status
"createTime": 1760405945766, // Repayment time (ms)
"repaymentType": "ORDINARY_REPAYMENT", // Repayment type
"productType": "DEMAND" // Product type
}
]
}
}