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—
orderIdstringfalse—Order ID—
loanCurrencyIdListarrayfalse—List of loan currency IDs—
pledgeCurrencyIdListarrayfalse—List of pledge currency IDs—
statusarrayfalse—List of order statusesRUNNING, REPAID, COMPLETE
repaymentTypesarrayfalse—Repayment history typesORDINARY_REPAYMENT, PLEDGE_REPAYMENT
productTypesarrayfalse—List of product typesSEVEN_DAY_APR, THIRTY_DAY_APR, NINETY_DAY_APR, DEMAND, VIP
startTimeintegerfalse—Start timestamp (ms)—
endTimeintegerfalse—End 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
}
]
}
}