Create API Endpoint to delete transactions
Closed this issue · 1 comments
schinken commented
Needed for https://github.com/strichliste/strichliste/issues/27
DELETE /user/23/transaction/42
TODO
- Delete transaction
- Revert money transfer if applicable
- Update money receiver account balance if applicable
- Decrement article use count
- Update account balance
Discuss
- Only allow before xx minutes?
schinken commented
Transactions are now marked as deleted, not deleted directly. I'm thinking about making this configurable. That's for another ticket ;)