Request-ID:kmsj1i
请求数据:
{
"stock_name": "测试代金券",
"belong_merchant": "15xxxxxxx",
"comment":"测试代金券",
"available_begin_time": "2020-06-17T11:51:27+08:00",
"available_end_time": "2020-07-17T10:51:27+08:00",
"stock_use_rule": {
"max_coupons": 100,
"max_amount": 10000,
"max_amount_by_day": 100,
"max_coupons_per_user": 10,
"natural_person_limit": false,
"prevent_api_abuse": false
},
"pattern_info": {
"description": "接口添加代金券",
"background_color": "Color020",
"merchant_name":"测试商户"
},
"coupon_use_rule": {
"coupon_available_time": {
"fix_available_time": {
"available_week_day": [1,2,3,4,5],
"begin_time": 0,
"end_time": 3600
}
},
"fixed_normal_coupon": {
"coupon_amount": 100,
"transaction_minimum": 10
},
"goods_tag": [],
"trade_type": [
"MICROAPP",
"APPPAY",
"OTHER"
],
"combine_use": false,
"available_items": [],
"unavailable_items": [],
"available_merchants": [
"15xxxxxxx"
]
},
"no_cash": false,
"stock_type": "NORMAL",
"out_request_no": "15xxxxxxx20200616217131521713152171315"
}
接口返回:
{
"code": "SYSTEM_ERROR",
"message": "系统繁忙,请稍后重试"
}
有办法能排查是什么故障么?
请按照以下几点进行排查:
1.stock_name:最多可填写9个字
2.max_coupons_per_user:单天发放个数上限不能为0
3. coupon_amount:10<=coupon_amount<=100000
4.available_time_after_receive:可用时间:相对时间,按分钟设置,是否1min<=分钟范围<=1440min
5.transaction_minimum校验规则:
6.stock_type:目前只支持NORMAL
7.out_request_no:校验规则:不可以重复