wechat-card
1.0.8 • Public • Published wechat-card
微信卡券API接口NODEJS版
目前版本仅支持以下几种类型的卡券: CASH
, GIFT
, GROUPON
, DISCOUNT
, GENERAL_COUPON
, LUCK_MONEY
。
我们会在之后的版本陆续推出这些功能的支持。
安装
npm install wechat-card
使用方法
var wxCard = require("wechat-card");
wxCard.setConfig({
appId: "YOUR APP ID",
appSecret: "YOUR APP SECRET"
});
wxCard.card.createCard(cardinfo, function(error, cardid) {
});
文档
卡券详细文档
License
MIT
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.8
2
Version History
Package Sidebar
Install
Weekly Downloads