收藏
回答

请求分账接口报:无分账权限

服务商已经开通了电商收付通,并且也邀请了二级商户。

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\":\"无分账权限\"}",...

回答关注问题邀请回答
收藏

1 个回答

  • 用爱发电
    用爱发电
    2022-05-26

    去工具箱开一下权限

    2022-05-26
    有用
    回复 2
    • cr龙
      cr龙
      2022-05-27
      是指二级商户的工具箱吗?
      2022-05-27
      回复
    • 用爱发电
      用爱发电
      2022-05-27回复cr龙
      不然呢?
      2022-05-27
      回复
登录 后发表内容