This endpoint is used to create an investment.
Endpoint: https://cashboard-f5x2.onrender.com/investment/add
Query Parameter: User UUID
The request body contains:
The response body is a JSON object that contains an array of all investments. An individual investment includes:
desc (string) - A description of the investment account
category (string) - Category for the investment
currentAmount (number) - the investment’s balance
_id (string) - the unique identifier for the investment
createdAt (timestamp) - whenthe investment was created
updatedAt (timestamp) - when the investment was last updated
OK
The response is of type object
.