微信支付请求失败,响应码 = 400,返回结果 = {"code":"PARAM_ERROR","detail":{"location":"body","value":{"currency":"CNY","refund":40,"total":40}},"message":"无法将 JSON 输入源“/body/amount”映射到目标字段“回退金额”中,此字段需要一个合法的 64 位无符号整数"}
请求参数 "amount":{"total":40,"currency":"CNY","refund":40}
贴完整请求参数,或者用postman请求一下截图
请求参数 ===> {}{"transaction_id":"4200001749202303146290584947","out_return_no":"1635895419764260866","amount":{"total":40,"currency":"CNY","refund":40}}