收藏
回答

分账参数receivers为什么传不进去?

参数

{"appid":"xx","sub_mchid":"xx","transaction_id":"xx","out_order_no":"xx","finish":true,"receivers":[{"receiver_mchid":"xx","amount":20,"description":"结算"}]}

提示报错

{"code":"PARAM_ERROR","detail":{"location":"body","value":0},"message":"输入源“/body/receivers”映射到字段“分账接收方列表”多重性规则校验失败,此字段个数为 0 个,低于最小值 1"}

请求的api接口:

/v3/ecommerce/profitsharing/orders

明明参数已经传递了啊,但是为什么格式还是不对?

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

1 个回答

登录 后发表内容