curl --request GET \
--url http://localhost/api/api/transactions/timeline \
--header 'Authorization: Bearer <token>'[
{
"created_date": "2023-12-25",
"PAY": 123,
"PAY_AMOUNT": 123,
"DEPOSIT": 123,
"DEPOSIT_AMOUNT": 123,
"WITHDRAW": 123,
"WITHDRAW_AMOUNT": 123
}
]Retrieve a timeline of transactions.
curl --request GET \
--url http://localhost/api/api/transactions/timeline \
--header 'Authorization: Bearer <token>'[
{
"created_date": "2023-12-25",
"PAY": 123,
"PAY_AMOUNT": 123,
"DEPOSIT": 123,
"DEPOSIT_AMOUNT": 123,
"WITHDRAW": 123,
"WITHDRAW_AMOUNT": 123
}
]JWT token obtained from AWS Cognito or custom authentication service
Transactions timeline retrieved successfully.