请求:https://api.mch.weixin.qq.com/v3/ecommerce/applyments/out-request-no/00000000000000061?sub_mchid=1600022790 返回:{"code":"PARAM_ERROR","detail":{"location":"organization_typ","value":""},"message":"输入源“/organization_type”映射到字段“主体类型”必填性规则校验失败,此字段为必填项"}
电商收付通 / 退款 / 查询退款API 失败String url = String.format("https://api.mch.weixin.qq.com/v3/ecommerce/applyments/out-request-no/%s?sub_mchid=%s", outRefundNo, subMchid); out_refund_no:00000000000000061 sub_mchid:1600022790 已经申请退款了,钱也退了,就是查询一直报错。 [图片] 返回结果如下 {"code":"PARAM_ERROR","detail":{"location":"organization_typ","value":""},"message":"输入源“/organization_type”映射到字段“主体类型”必填性规则校验失败,此字段为必填项"} 这个 主体类型 organization_type 我们传什么?
2020-06-22