请求分账接口报:无分账权限
服务商已经开通了电商收付通,并且也邀请了二级商户。 1.调统一下单接口: 参数: {
"amount": {
"total": 100
},
"description": "order55156165354931520211393",
"notify_url": "xxxxxxxx",
"out_trade_no": "wxNo77847165354931540165387",
"payer": {
"sp_openid": "o6cg_5RG-77nWY2B2hBzCOhWHbnA"
},
"settle_info": {
"profit_sharing": true,
"subsidy_amount": 30
},
"sp_appid": "wxb938a289f049047d",
"sp_mchid": "1624918221",
"sub_mchid": "1624948831"
}
返回正常,回调也成功。 2.调请求分账接口: 参数: {
"appid":"wxb938a289f049047d",
"finish":true,
"out_order_no":"wxNo77847165354931540165387",
"receivers":[
{
"amount":30,
"description":"订单分账",
"receiver_account":"1624948831",
"type":"MERCHANT_ID"
}
],
"sp_appid":true,
"sub_mchid":"1624948831",
"transaction_id":"4200001492202205264340782407"
}
返回403,报错信息: ..."body":"{\"code\":\"NO_AUTH\",\"message\":\"无分账权限\"}",...