ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
~~~[api] post:/pay/coupon/getCouponInfo *string:custom_id#会员编号 *string:user_coupon_id#优惠券 * <<< success { "status": "0000", "codemsg": "查询成功", "data": { "id": 1179, "kuser_id": 21, "coupon_id": 285, "app": 2, "status": 1, "is_lock": 0, "use_time_start": "2020-12-24 15:06:29", "use_time_end": "2020-12-27 23:59:59", "finish_time": null, "finish_type": 0, "trade_no": "-", "amount": "3.00", "url_type": 2, "deleted_at": null, "created_at": "2020-12-24 15:06:29", "updated_at": "2020-12-24 15:06:29", "trade_no_sub": "", "real_amount": "0.00", "range": { "merchant": [ 7557 ], "trade_area": [ 1 ] }, "type": 1, "threshold": "4.00", "explain": "", "clearance_mode": "1,2,3,4", "coupon_name": "码付单个门店测试", "incrementing": true, "exists": true, "wasRecentlyCreated": false, "timestamps": true, "phone": "15238399426", "app_name": "钱包", "no": "2012241245", "status_name": "未核销", "finish_time_format": "-", "finish_type_name": "-", "range_text": "适用于郑州世纪联华百货有限公司", "use_text": "出示付款码到指定商户支付自动抵扣核销" } } <<< error {"status":errorcode,"codemsg":error msg} ~~~ **返回参数说明 参考coupon,user\_coupon表字段名称** | 参数名 | 类型 | 说明 | | --- | --- | --- | | type | int | 类型:1满减 | | trade\_area | string | 商圈 range字段 | | merchant | string | 店铺 range字段 | | explain | [应答码说明](https://www.kancloud.cn/zzkpay/jyzzpay/1029159)