HTTP请求方式: POSTURL:https://api.weixin.qq.com/card/create?access_token=ACCESS_TOKEN
{
"card": {
"card_type": "MEMBER_CARD",
"member_card": {
"background_pic_url": "http://mmbiz.qpic.cn/sz_mmbiz_png/Fqk3zDeodYmVytUlWcFVJehqR11Oib0CN3dDVV4P5ZmEFJDnhNaicJ5JhL74fTqnYbWPcnaaWFTc1CEDNRGDb45g/0?from=appmsg",
"base_info": {
"brand_name": "萧山咖啡店",
"can_give_friend": false,
"center_title": "会员码",
"code_type": "CODE_TYPE_NONE",
"color": "Color010",
"date_info": {
"type": "DATE_TYPE_PERMANENT"
},
"description": "到店请出示会员码",
"logo_url": "http://mmbiz.qpic.cn/sz_mmbiz_png/Fqk3zDeodYmVytUlWcFVJehqR11Oib0CNnAL24DCMfbQEHclvAP67FH5A4wgyuB09yoxwYHpRxHEZAaqo9YE2FA/0?from=appmsg",
"notice": "使用时点击查看详情",
"promotion_url": "http://samcauthtest.zjnsjk.com/auth/mini/commonAuth.htm?shop_id=387&source=WXMEMBER&jumpType=storeList&redirect_uri=http%3A%2F%2Fsamccitest.zjnsjk.com%2Fmember-h5%2F",
"promotion_url_name": "适用门店",
"sku": {
"quantity": 100000000
},
"title": "普通会员卡",
"use_custom_code": false
},
"custom_cell1": {
"name": "会员中心",
},
"custom_field1": {
"name": "积分",
},
"custom_field2": {
"name": "优惠券",
},
"custom_field3": {
"name": "余额",
},
"prerogative": "以实际门店为准",
"supply_balance": false,
"supply_bonus": false,
"wx_activate": true
}
}
}
可以提供相关的请求信息给我们技术支持同学查询一下。
技术支持渠道:https://support.pay.weixin.qq.com/online-service?from=wechatpay
body里不传access_token,还肯定对
@第三方平台助手