api接口:创建创建代金券批次API
https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_1.shtml
参数为:{
"stock_name": "满20减5代金券",
"comment": "1416770802",
"belong_merchant": "1416770802",
"available_begin_time": "2020-11-04T22:00:00.120+08:00",
"available_end_time": "2020-11-04T10:00:00.120+08:00",
"stock_use_rule": {
"max_coupons": 1000,
"max_amount": 500000,
"max_coupons_per_user": 1,
"natural_person_limit": false,
"prevent_api_abuse": true
},
"pattern_info": {
"description": "满20元可用",
"merchant_logo": "https://wxpaylogo.qpic.cn/wxpaylogo/PiajxSqBRaEIPAeia7ImvtstvibBibSeibSMvCRcxEQhbHUSTH5YXHURfyA/0",
"merchant_name": "aaaaaa",
" coupon_image ": "https://wxpaylogo.qpic.cn/wxpaylogo/PiajxSqBRaEIPAeia7ImvtshaFP8ssjktKZSEKoOUOrcky3pWqXloJVA/0"
},
"coupon_use_rule": {
"fixed_normal_coupon": {
"coupon_amount": 500,
"transaction_minimum": 2000
},
"combine_use": false,
"available_merchants": [
"1416770802"
]
},
"no_cash": false,
"stock_type": "NORMAL",
"out_request_no": "1416770802-rmm0419114720203369912"
}
存在跨商户号发券吗?