Margin

Query Repay Record (USER_DATA)

  • txId or startTime must be sent. txId takes precedence.
  • Response in descending order
  • If isolatedSymbol is not sent, crossed margin data will be returned
  • Set archived to true to query data from 6 months ago

Weight(IP): 10

get/sapi/v1/margin/repay

Query parameters

assetstring required
Example:BTC
isolatedSymbolstring

Isolated symbol

txIdinteger
Example:2970933056

the tranId in POST /sapi/v1/margin/repay

startTimeinteger

UTC timestamp in ms

endTimeinteger

UTC timestamp in ms

currentinteger
Example:1

Current querying page. Start from 1. Default:1

sizeinteger
Example:100

Default:10 Max:100

archivedstring

Default: false. Set to true for archived data from 6 months ago

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Load records

totalinteger required

Example response

{
  "rows": [
    {
      "isolatedSymbol": "BNBUSDT",
      "amount": "14.00000000",
      "asset": "BNB",
      "interest": "0.01866667",
      "principal": "13.98133333",
      "status": "CONFIRMED",
      "timestamp": 1563438204000,
      "txId": 2970933056
    }
  ],
  "total": 1
}

Changes