This endpoint updates the user’s account by incrementing the user’s balance
Endpoint: https://cashboard-f5x2.onrender.com/account/:id
Query Parameter: User UUID
Path Parameter: Account ID
The response body is a JSON object that contains the updated account details. Each account includes:
name(string) - the name of the account
desc(string) - a short description of the account
currentAmount(number) - the account’s balance
_id(string) - the unique identifier for the account
required
required
OK
The response is of type object
.