[TASK] Added payment status route and refactored payments_controller functions.
Merge remote-tracking branch 'origin/master'