Ejemplo n.º 1
0
        /// <summary>
        ///  POST payments/details API call
        /// </summary>
        /// <param name="paymentsDetailsRequest"></param>
        /// <returns></returns>
        public PaymentsResponse PaymentDetails(PaymentsDetailsRequest paymentsDetailsRequest)
        {
            var jsonRequest  = Util.JsonOperation.SerializeRequest(paymentsDetailsRequest);
            var jsonResponse = _paymentDetails.Request(jsonRequest);

            return(JsonConvert.DeserializeObject <PaymentsResponse>(jsonResponse));
        }