Beispiel #1
0
        /// <summary>
        /// 退款查询
        /// </summary>
        /// <param name="request">查询信息</param>
        /// <param name="config">配置</param>
        /// <returns>结果</returns>
        public static RefundQueryResult RefundPayQuery(RefundQueryRequest request, Config config)
        {
            var requestStr = TenpayUtil.GetRefundQueryRequestXml(request, config);
            var response   = HttpHelp.PostXmlToUrl(Config.RefundQueryUrl, requestStr);
            var result     = TenpayUtil.ConvertToRefundQueryResult(response);

            return(result);
        }