Skip to main content

Get Repayment Orders

Get a list of your loan repayment orders (orders which repaid the loan).

tip
  • Get the past 2 years data by default
  • Get up to the past 2 years of data

HTTP Request

GET /v5/ins-loan/repaid-history

Request Parameters

ParameterRequiredTypeComments
startTimefalseintegerThe start timestamp (ms)
endTimefalseintegerThe end timestamp (ms)
limitfalseintegerLimit for data size. [1, 100]. Default: 100

Response Parameters

ParameterTypeComments
repayInfoarrayObject
> repayOrderIdstringRepaid order ID
> repaidTimestringRepaid timestamp (ms)
> tokenstringRepaid coin
> quantitystringRepaid principle
> intereststringRepaid interest
> businessTypestringRepaid type. 1:normal repayment; 2:repaid by liquidation
> statusstring1:success; 2:fail

Request Example

GET /v5/ins-loan/repaid-history HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN-TYPE: 2
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1678687944725
X-BAPI-RECV-WINDOW: 5000
X-BAPI-SIGN: XXXXX

Response Example

{
"retCode": 0,
"retMsg": "",
"result": {
"repayInfo": [
{
"repayOrderId": "8189",
"repaidTime": "1663126393000",
"token": "USDT",
"quantity": "30000",
"interest": "0",
"businessType": "1",
"status": "1"
}
]
},
"retExtInfo": {},
"time": 1669366648366
}