public IHttpActionResult ExecutePayment(ExecutePaymentPostObj data) { try { var result = PaymentsService.ExecutePayment(data); return(Ok(PaymentsService.GetPaymentsList())); } catch (Exception e) { return(BadRequest(e.Message)); } }