I'm not sure how we want to handle this.  If we want to send something back through the API we can wrap it in a {'success': True, 'error': 'something', 'transaction': .....} which is what I wanted to do but I wanted to talk to Kumar about what he expects from the API.