public async Task <JsonResult> Submit(SubmitPaymentPayload submitPaymentPayload) { Log.Information("POST"); var paymentRequest = GetPaymentRequest(submitPaymentPayload); return(new JsonResult(await _paymentGateway.Submit(paymentRequest))); }