curl --request GET \
--url http://localhost/api/api/transactions/countries \
--header 'Authorization: Bearer <token>'[
{
"country": "<string>",
"sum_inflow": 123,
"total_inflow": 123,
"sum_outflow": 123,
"total_outflow": 123
}
]Retrieve a list of transactions by country.
curl --request GET \
--url http://localhost/api/api/transactions/countries \
--header 'Authorization: Bearer <token>'[
{
"country": "<string>",
"sum_inflow": 123,
"total_inflow": 123,
"sum_outflow": 123,
"total_outflow": 123
}
]JWT token obtained from AWS Cognito or custom authentication service