Crypto Lending - Flex
Get User Flex Investments
Retrieve user's investment portfolio with optional filtering.
<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
Request
- Base URLhttps://whitebit.com
- AuthAPI key in header X-TXC-APIKEY and API key in header X-TXC-PAYLOAD and API key in header X-TXC-SIGNATURE
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"limit": 100,
"ticker": "USDT",
"plan": "8f2e9d3c-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
"investment": "inv_7e2d9c3b-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
"investmentStatus": 1,
"request": "{{request}}",
"nonce": 1594297865000
}Response
Successful response
Example response
{
"data": [
{
"id": "2765",
"planId": "12",
"currency": "USDT",
"invested": "100",
"withAutoReinvest": true,
"status": 1,
"createdAt": 1588345560,
"updatedAt": 1588345560
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.