-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
能否添加V3新版的代金券API #218
Comments
@linwb2006 如果你有业务需求,可以参照现有的其它接口实现,自定义一个优惠券V3版接口,没啥难度,就是花点时间而已。相信自己可以的 ! |
@liyiorg 新版的代金券API接口变化很大,规则都变了,webchatPay_api_v3需要改动很多基础类,希望版主高手能加上,哪怕是只写其中一个接口也行,老接口以后会禁用的。 |
@linwb2006 好像只有代金券这一块使用新的安全验证规则,并未看到支付相关接口有相关调整。微信官方提供了一个Java SDK,可以尝试使用。 |
请问你实现了吗,我现在也在弄,有点高不清楚,能说下怎么对接吗 |
新版的代金券API接口变化很大,希望能加入以下api:
1、发放代金券API https://api.mch.weixin.qq.com/v3/marketing/favor/users/{openid}/coupons
2、条件查询批次列表API https://api.mch.weixin.qq.com/v3/marketing/favor/stocks
3、查询批次详情API https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stockid}
4、设置消息通知API https://api.mch.weixin.qq.com/v3/marketing/favor/callbacks
5、根据核销商户查用户的券API https://api.mch.weixin.qq.com/v3/marketing/favor/users/{openid}/coupons
6、查询代金券详情API https://api.mch.weixin.qq.com/v3/marketing/favor/users/{openid}/coupons/{coupon_id}
官方文档:https://pay.weixin.qq.com/wiki/doc/apiv3/convention.php?chapter=13_1&index=1
The text was updated successfully, but these errors were encountered: