cURL
curl --request POST \ --url https://demoapi.saasphereltd.com/api/v1/investments/liquidate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "investment_id": 123 } '
{ "status": "00", "message": "Investment liquidated successfully", "data": [] }
Paste only the token (no "Bearer " prefix).
The investment ID to liquidate.
123
Investment liquidated successfully
"00"
"Investment liquidated successfully"
[]