https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_8.shtml
服务商微信分账-添加分账接收方API,我添加个人微信账号是没问题的,能添加成功!
但是分账对象是商户号就一直说参数错误,不管添加分账对象是普通其他特约商户还是服务商本身的商户号都报请求参数错误{"code":"PARAM_ERROR","message":"请求参数错误"}
请求参数
array(5) {
["sub_mchid"] => string(10) "1622461***"
["appid"] => string(18) "wx8d4807dc96a36***"
["type"] => string(11) "MERCHANT_ID"
["account"] => string(10) "1500061***"
["relation_type"] => string(16) "SERVICE_PROVIDER"
}
Client error: `POST https://api.mch.weixin.qq.com/v3/profitsharing/receivers/add` resulted in a `400 Bad Request` response: {"code":"PARAM_ERROR","message":"请求参数错误"}
添加商户号类型为分账接收方时需要传商户全称