收藏
回答

微信支付创建代金券报400 Bad Request

请求数据:

{"stock_name":"10\u5143\u4ee3\u91d1\u5238","belong_merchant":"1662255494","available_begin_time":"2024-08-20T17:23:44+08:00","available_end_time":"2024-08-24T17:23:44+08:00","stock_use_rule":{"max_coupons":10000000,"max_amount":10000000000,"max_coupons_per_user":1,"natural_person_limit":true,"prevent_api_abuse":false},"coupon_use_rule":{"fixed_normal_coupon":{"coupon_amount":1000,"transaction_minimum":100},"available_merchants":["1662255494"]},"no_cash":true,"stock_type":"NORMAL","out_request_no":"16622554942024082017234466c460a079848"}

报错:

Client error: `POST https://api.mch.weixin.qq.com/v3/marketing/favor/coupon-stocks` resulted in a `400 Bad Request` response:

{"code":"PARAM_ERROR","message":"券面额必须大于0"}

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

2 个回答

  • Memory (私信不回复)
    Memory (私信不回复)
    08-20

    使用门槛必须大于优惠金额

    08-20
    有用 1
    回复
  • 沐风
    沐风
    08-20

    太感谢了,改了一下就好了

    08-20
    有用
    回复
登录 后发表内容