cURL
curl --request GET \ --url https://demoapi.saasphereltd.com/api/v1/investments/list \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "customer_id": "CUST001", "status": "active" } '
{ "status": "00", "message": "Active investments retrieved successfully", "data": [] }
Paste only the token (no "Bearer " prefix).
optional Filter by customer ID.
"CUST001"
optional Filter by status (active, pending, declined, liquidated).
"active"
"00"
"Active investments retrieved successfully"
[]