HttpGet httpGet = new HttpGet(wxPayConfig.getDomain().concat("/v3/refund/domestic/refunds").concat("/").concat(orderNo));
httpGet.setHeader("Accept","application/json");
//完成签名并执行请求
CloseableHttpResponse response = WxPayClient.execute(httpGet);
退款查询接口 /v3/refund/domestic/refunds/订单号
V3接口查询退款需要传“商户退款单号”来进行查询,报错这个就说明你给的不是商户退款单号
退款失败异常 = 404查询退款成功{"code":"RESOURCE_NOT_EXISTS","message":"退款单不存在"}