Crypto Lending - Flex
Close Flex Investment
Completely close investment and withdraw all funds.
Validation Rules:
- plan: required, string, UUID format, must exist
- Investment must be ACTIVE
post/api/v4/main-account/smart-flex/investments/close
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",
"request": "{{request}}",
"nonce": 1594297865000
}Response
Investment closed successfully
Changes
No recorded changes to this operation across all 1 revision of this API.