Crypto Lending - Flex
Create Flex Investment
Create new investment in a Flex plan.
<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/invest
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
{
"plan": "8f2e9d3c-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
"amount": "1000.500000",
"withReinvest": true,
"request": "{{request}}",
"nonce": 1594297865000
}Response
Investment created successfully
Changes
No recorded changes to this operation across all 1 revision of this API.