文档sub_orders.sub_mchid 参数传过去 接口报错 sub_orders.sub_mch_id 必须 所以我改成sub_mch_id,传进去之后如下JSON 后面我把sub_mch_id 换成sub_mchid 又报sub_mch_id 必传 感觉文档与实际接口不匹配 参数经过N多次对比,依然出错
{
"combine_out_trade_no": "7455ffdlwu3l5we63a",
"combine_mchid": "1616434370",
"combine_appid": "wx2df2929ccb2a4b7d",
"scene_info": {
"device_id": "POS1:123",
"payer_client_ip": "113.111.134.30"
},
"sub_orders": [
{
"mchid": "1628714438",
"attach": "社群VIP会员开通",
"amount": {
"total_amount": 10,
"currency": "CNY"
},
"out_trade_no": "8vnwm0k88nhwzahpw2",
"sub_mch_id": "1628714438",
"description": "群友会员"
},
{
"mchid": "1624854274",
"attach": "商务VIP会员开通",
"amount": {
"total_amount": 10,
"currency": "CNY"
},
"out_trade_no": "ksy7qy46zwfr716ig4",
"sub_mch_id": "1624854274",
"description": "商务会员"
}
],
"combine_payer_info": {
"openid": "osCgb0dqaGl3dHGPzBe9d7pQc_AY"
},
"time_start": "2023-06-29T01:32:04.500243Z",
"time_expire": "2023-06-29T01:32:04.500265Z",
"notify_url": "https://qun.hk/pay"
}
sub_orders.mchid 是服务商商户号ID来的 报错提示有问题 受理机构必须传入sub_mch_id