参数
{"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
明明参数已经传递了啊,但是为什么格式还是不对?
你的receivers里面参数不对