收藏
回答

创建代金券 参数 领取后有效时间 最大值 问题?

available_time_after_receive 

如果设置大于1天的值,接口返回 available_time_after_receive”映射到数值字段“领取后有效时间”规则校验失败,值高于最大值 1440


{"code":"PARAM_ERROR","detail":{"location":"body","value":14400},"message":"输入源“/body/coupon_use_rule/coupon_available_time/available_time_after_receive”映射到数值字段“领取后有效时间”规则校验失败,值高于最大值 1440"}---请求:{"stock_name":"满10减7元代金券新2","belong_merchant":"1267388801","available_begin_time":"2020-07-03T17:00:14+08:00","available_end_time":"2020-08-02T17:00:14+08:00","stock_use_rule":{"max_coupons":10,"max_amount":7000,"max_coupons_per_user":1,"natural_person_limit":true,"prevent_api_abuse":true},"pattern_info":{"description":"本优惠券不可兑换现金,不可找零。","merchant_logo":"http://open.liantuobank.cn/imgPath/club-open/1579068655222.jpg","merchant_name":"券券蛋糕商户","background_color":"#63b359","coupon_image":""},"coupon_use_rule":{"coupon_available_time":{"second_day_available":true,"available_time_after_receive":14400},"fixed_normal_coupon":{"coupon_amount":700,"transaction_minimum":1000},"trade_type":["MICROAPP","APPPAY","PPAY"],"combine_use":true,"available_merchants":["1561331311"]},"no_cash":true,"stock_type":"NORMAL","out_request_no":"1593766757358"}


该如何解决

回答关注问题邀请回答
收藏

1 个回答

  • 微信支付技术助手8
    微信支付技术助手8
    2020-07-06

    你好,缩小你的传入数值即可。谢谢。

    2020-07-06
    有用
    回复
登录 后发表内容
问题标签