View history of transactions
There must be endpoints to view transactions. This includes viewing transactions that have been made or received by one user.
Acceptance Criteria
There exists an endpoint GET /api/v1/accounts/transactions that returns all transactions made.
There exists an endpoint GET /api/v1/accounts/{id}/transactions that returns all transactions made or received by one account.
An admin can see all transactions made.
A user can only see the transactions that he/she has done or received.
Edited by kekarind