Create Transaction class
POST implementation for transaction resource
Fix condition and response