Skip to main content
POST
/
api
/
v4
/
main-account
/
smart-flex
/
investments
/
history
Get Flex Investment History
curl --request POST \
  --url https://whitebit.com/api/v4/main-account/smart-flex/investments/history \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "limit": 50,
  "offset": 0,
  "plan": "8f2e9d3c-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
  "investment": "inv_123",
  "transaction": "tx_456",
  "dateFrom": 1640995200,
  "dateTo": 1641081600,
  "actionTypes": [
    1,
    2,
    4
  ],
  "request": "{{request}}",
  "nonce": "{{nonce}}"
}
'
{
  "data": [
    {
      "createdAt": 1640995200,
      "planId": "8f2e9d3c-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
      "investmentId": "inv_7e2d9c3b-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
      "currency": "USDT",
      "amount": "15.75",
      "transactionId": "tx_9f3e0d4c-2b5c-4d3e-8f6g-7a8b9c0d1e2f",
      "actionType": 1
    }
  ],
  "limit": 50,
  "offset": 0
}
These endpoints are available only for B2B partner services, you need to fill the form https://whitebit.com/institutional-services/b2b in order to get permissions to use these endpoints.

Authorizations

X-TXC-APIKEY
string
header
required

API key authentication using signed requests

Body

application/json
request
string
required

Request signature

nonce
string
required

Unique request identifier

limit
integer
default:50

Pagination limit.

offset
integer
default:0

Pagination offset.

plan
string

Filter by plan ID (UUID).

investment
string

Filter by investment ID.

transaction
string

Filter by transaction ID.

dateFrom
integer

Filter from date (timestamp).

dateTo
integer

Filter to date (timestamp).

actionTypes
integer[]

Array of operation type IDs. See table below.

Response

Successful response

data
object[]
limit
integer
offset
integer