public async Task <PaymentResponse> PaymentRequest(string merchantId, [FromBody] PaymentRequest payload) { var request = RequestMapper.MapPaymentRequest(merchantId, payload, clock); var result = await gateway.HandlePaymentRequest(request); return(ResponseMapper.MapResponse(result)); }