added http request and response to PaymentController endpoints