[FIX] Show correct error messages
[TASK] Remove extraneous html
[TASK] Refactor rest calls as functions
[TASK] Refactor http calls with factory style structure and refresh balance and transaction table after confirming payment