特约商户和服务商是间连模式,都是从银行机构提交创建到微信的,
代金券-创建代金券批次请求参数为:{"stock_name":"测试","available_end_time":"2020-12-31T14:59:59.000+08:00","belong_merchant":"签约商户号","stock_type":"NORMAL","coupon_use_rule":{"fixed_normal_coupon":{"coupon_amount":100,"transaction_minimum":101},"available_merchants":["签约商户号"]},"no_cash":true,"stock_use_rule":{"prevent_api_abuse":false,"natural_person_limit":false,"max_amount":500,"max_coupons_per_user":1,"max_coupons":5},"comment":"comment111111111111111111","out_request_no":"CS304533718604185600","available_begin_time":"2020-12-31T14:59:10.000+08:00"}
代金券-创建代金券批次返回参数为:{"headers":{"Keep-Alive":["timeout=8"],"Wechatpay-Timestamp":["1609335209"],"Server":["nginx"],"X-Content-Type-Options":["nosniff"],"Connection":["keep-alive"],"Date":["Wed, 30 Dec 2020 13:33:29 GMT"],"Wechatpay-Serial":["xxx"],"Wechatpay-Nonce":["xxx"],"Wechatpay-Signature":["xxx"],"Cache-Control":["no-cache, must-revalidate"],"Content-Length":["78"],"Content-Language":["zh-CN"],"Request-ID":["xxx-x"],"Content-Type":["application/json; charset=utf-8"]},"body":"{\"code\":\"INVALID_REQUEST\",\"message\":\"可用商户不符合规则,请检查\"}","status":400}
参看下这个帖子:https://developers.weixin.qq.com/community/develop/doc/000ee2e21fc9589eadcac25ea51000?_at=1609380325882
证书和密钥用的都是服务商的账户和密钥,