cURL
curl --request GET \ --url https://api.example.com/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.
JWT token obtained from AWS Cognito or custom authentication service
Summary stats retrieved successfully.
Sum of inflow transactions.
Total inflow transactions.
Sum of outflow transactions.
Total outflow transactions.
Month of the transaction.
Year of the transaction.