我们是微信支付服务商, 在没有二级子商户情况下, 现在调用https://api.mch.weixin.qq.com/pay/unifiedorder微信商户支付接口下单报错
返回:
<xml>
<return_code><![CDATA[FAIL]]></return_code>
<return_msg><![CDATA[受理机构必须传入sub_mch_id]]></return_msg>
</xml>
请求:
<xml>
<trade_type>JSAPI</trade_type>
<appid>xxxx</appid>
<mch_id>1654174067</mch_id>
<nonce_str>ecf607a412c347a281afb62ac36f10c2</nonce_str>
<body>商城订单_202312201044132</body>
<out_trade_no>2023122011940593</out_trade_no>
<fee_type>CNY</fee_type>
<total_fee>1</total_fee>
<notify_url>http://ssss</notify_url>
<attach>{"t":0,"p":"Shopping"}</attach>
<time_start>20231220110116</time_start>
<time_expire>20231220111116</time_expire>
<sign>2F2C9DDCAFACC116E092B2FA4028E4D6</sign>
<spbill_create_ip>127.0.0.1</spbill_create_ip>
<openid>xxxx</openid>
</xml>
不可以的