コード例 #1
0
        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));
        }