调用接口地址:https://api.weixin.qq.com/shop/pay/refundorder?access_token=xxxxxxxxx
请求参数:
{
"openid":"oR1AF5o1V3dAc0VD_P5pen-GVDRg",
"mchid":"1625743788",
"trade_no":"2022102511433023311578127",
"transaction_id":"4200001599202210258275758477",
"refund_no":"2022102512451455836",
"total_amount":1,
"refund_amount":1
}
返回数据:
object(stdClass)[622]
public 'errcode' => int 48001
public 'errmsg' => string 'api unauthorized rid: 637326a7-76f9dd75-4060ad8a' (length=48)