Expense
Expenses
Expense
This endpoint is used to get an expense for a specific user.
Endpoint: https://cashboard-f5x2.onrender.com/expense/:id
Query: User’s UUID
The response will be a JSON object that includes details of the specified expense.
The expense object will have the following properties:
-
desc (string): Description of the expense
-
category (string): Category of the expense
-
date (timestamp): Date of the expense
-
account (string): Account associated with the expense
-
amount (number): Amount of the expense
-
_id (string): Unique identifier for the expense

