Skip to main content
POST
/
api
/
v4
/
main-account
/
smart-flex
/
investments
Get User Flex Investments
curl --request POST \
  --url https://whitebit.com/api/v4/main-account/smart-flex/investments \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "limit": 100,
  "offset": 0,
  "ticker": "USDT",
  "plan": "8f2e9d3c-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
  "investment": "invest_id_123",
  "investmentStatus": 1,
  "request": "{{request}}",
  "nonce": "{{nonce}}"
}
'
{
  "data": [
    {
      "id": "inv_7e2d9c3b-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
      "planId": "8f2e9d3c-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
      "currency": "USDT",
      "invested": "1500.75",
      "withAutoReinvest": true,
      "status": 1,
      "createdAt": 1640995200,
      "updatedAt": 1641081600
    }
  ],
  "limit": 100,
  "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:100

Pagination limit. Default: 100.

offset
integer
default:0

Pagination offset. Default: 0.

ticker
string

Filter by currency ticker. Example: USDT.

plan
string

Filter by plan ID (UUID).

investment
string

Filter by investment ID.

investmentStatus
enum<integer>

Filter by status (1=ACTIVE, 0=CLOSED).

Available options:
0,
1

Response

Successful response

data
object[]
limit
integer
offset
integer