请求地址:https://api.mch.weixin.qq.com/secapi/pay/refund
参数中未提供商户信息,如有需要可单独提供
微信小程序请求退款异常,请求参数:<xml>
<nonce_str>7417477239727177728</nonce_str>
<out_trade_no>0126031241102085115988085_2</out_trade_no>
<transaction_id>4200002373202411025594722434</transaction_id>
<out_refund_no>7417477239729373185</out_refund_no>
<total_fee>100</total_fee>
<refund_fee>100</refund_fee>
<op_user_id>1329402101</op_user_id>
</xml>,异常:org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request
at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:79)
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:122)
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:102)
at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63)
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:778)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:736)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:670)
v2这个报错一般是证书问题