GET
/
api
/
v1
/
investments
/
list
Get a list of investments with optional filters.
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": []
}

Authorizations

Authorization
string
header
required

Paste only the token (no "Bearer " prefix).

Body

application/json
customer_id
string

optional Filter by customer ID.

Example:

"CUST001"

status
string

optional Filter by status (active, pending, declined, liquidated).

Example:

"active"

Response

200 - application/json
status
string
Example:

"00"

message
string
Example:

"Active investments retrieved successfully"

data
any[]
Example:
[]