[FEATURE] response and error handling

- finish error and response handling for payments class
- follow express deprecation suggestions for part of the app
Thank you!