Bail out of request on error.
Flesh out TODOs.
Finish implementing payment endpoints, fix compile errors.