v1
latestOpenAPI 3.0.32026-07-2613529376.3 KBCrypto Lending - Flex
Get Flex Investment History
Retrieve complete investment operations history with advanced filtering.
Available Action Types:
- 1: INVEST - Investment creation
- 2: REINVEST - Automatic reinvestment
- 3: WITHDRAW_FROM_INVESTMENT - Partial withdrawal
- 4: DAILY_EARNING - Daily earnings
- 5: CLOSE_INVESTMENT - Investment closure
- 6: OPEN_INVESTMENT - Investment opening
post/api/v4/main-account/smart-flex/investments/history
Request body
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,
"actionTypes": [
1,
2,
4
],
"request": "{{request}}",
"nonce": 1594297865000
}Response
Successful response
Example response
{
"data": [
{
"createdAt": 1588345560,
"planId": "12",
"investmentId": "2765",
"currency": "USDT",
"amount": "100",
"transaction_id": "tx_123456",
"actionType": 1
}
]
}