Following we have a sequence of request the will be used to test the Api
POST /reset
200 OK
GET /balance?account_id=1234
404 0
POST /event {"type":"deposit", "destination":"100", "amount":10}
201 {"destination": {"id":"100", "balance":10}}
POST /event {"type":"deposit", "destination":"100", "amount":10}
201 {"destination": {"id":"100", "balance":20}}
GET /balance?account_id=100
200 20
POST /event {"type":"withdraw", "origin":"200", "amount":10}
404 0
POST /event {"type":"withdraw", "origin":"100", "amount":5}
201 {"origin": {"id":"100", "balance":15}}
POST /event {"type":"transfer", "origin":"100", "amount":15, "destination":"300"}
201 {"origin": {"id":"100", "balance":0}, "destination": {"id":"300", "balance":15}}
POST /event {"type":"transfer", "origin":"200", "amount":15, "destination":"300"}
404 0