小程序
小游戏
企业微信
微信支付
扫描小程序码分享
麻烦问下,自定义交易组件的订单是调用同意退款就可以完成订单退款么?还是需要像普通商户订单一样要调用微信退款接口呢
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
调用同意退款接口就可以了
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
请求接口
https://api.weixin.qq.com/shop/aftersale/get?access_token=xxxxxxxxx
请求参数:
array(2) {
["out_order_id"] => string(22) "2302211703111694187010"
["openid"] => string(28) "otIqP5Q2NnK5LXzmr9hdu01UFotE"
}
返回:
["errcode"] => int(0)
["aftersale_infos"] => array(0) {
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
调用同意退款接口就可以了
请求接口
https://api.weixin.qq.com/shop/aftersale/get?access_token=xxxxxxxxx
请求参数:
array(2) {
["out_order_id"] => string(22) "2302211703111694187010"
["openid"] => string(28) "otIqP5Q2NnK5LXzmr9hdu01UFotE"
}
返回:
array(2) {
["errcode"] => int(0)
["aftersale_infos"] => array(0) {
}
}