v1

latestOpenAPI 3.0.32026-07-2613529376.3 KB
Crypto Lending - Flex

Get Flex Payment History

Retrieve investment earnings history (ONLY DAILY_EARNING operations).

Note: The endpoint automatically filters to show ONLY DAILY_EARNING operations (type 4).

<Warning> Rate limit: 1000 requests/10 sec. </Warning> <Note> The API does not cache the response. </Note>
post/api/v4/main-account/smart-flex/investments/payment-history

Request body

limitinteger

Pagination limit.

offsetinteger

Pagination offset.

planstring

Filter by plan ID (UUID).

investmentstring

Filter by investment ID.

transactionstring

Filter by transaction ID.

dateFrominteger

Filter from date (timestamp).

dateTointeger

Filter to date (timestamp).

requeststring required

Request signature

nonceinteger required

Unique request identifier

Example request

{
  "limit": 50,
  "plan": "8f2e9d3c-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
  "investment": "inv_7e2d9c3b-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
  "transaction": "tx_9f3e0d4c-2b5c-4d3e-8f6g-7a8b9c0d1e2f",
  "dateFrom": 1640995200,
  "dateTo": 1641081600,
  "request": "{{request}}",
  "nonce": 1594297865000
}

Response

Successful response

limitinteger
offsetinteger

Example response

{
  "data": [
    {
      "createdAt": 1588345560,
      "planId": "12",
      "investmentId": "2765",
      "currency": "USDT",
      "amount": "100",
      "transaction_id": "tx_123456",
      "actionType": 1
    }
  ]
}