This endpoint updates an investment’s balance by incrementing its value. It can be used for crediting an investment account.
Endpoint: https://cashboard-f5x2.onrender.com/investment/:id
Query Parameters: User UUID
Path Parameters: Investment ID
The response body is a JSON object that contains:
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
.