curl --request GET \
--url http://localhost/api/api/transactions/summary \
--header 'Authorization: Bearer <token>'[
{
"sum_inflow": 123,
"total_inflow": 123,
"sum_outflow": 123,
"total_outflow": 123,
"month": 123,
"year": 123
}
]Retrieve a summary of transaction statistics.
curl --request GET \
--url http://localhost/api/api/transactions/summary \
--header 'Authorization: Bearer <token>'[
{
"sum_inflow": 123,
"total_inflow": 123,
"sum_outflow": 123,
"total_outflow": 123,
"month": 123,
"year": 123
}
]JWT token obtained from AWS Cognito or custom authentication service
Summary stats retrieved successfully.