收藏
回答

创建会员卡格式错误,data format error hint:[KBiGwa0802r556]?

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": "会员码",

                "center_url": "http://samcauthtest.zjnsjk.com/auth/mini/commonAuth.htm?shop_id=387&source=WXMEMBER&jumpType=barCodePay&redirect_uri=http%3A%2F%2Fsamccitest.zjnsjk.com%2Fmember-h5%2F",

                "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": "会员中心",

                "url": "http://samcauthtest.zjnsjk.com/auth/mini/commonAuth.htm?shop_id=387&source=WXMEMBER&redirect_uri=http%3A%2F%2Fsamccitest.zjnsjk.com%2Fmember-h5%2F"

            },

            "custom_field1": {

                "name": "积分",

                "url": "http://samcauthtest.zjnsjk.com/auth/mini/commonAuth.htm?shop_id=387&source=WXMEMBER&jumpType=score&redirect_uri=http%3A%2F%2Fsamccitest.zjnsjk.com%2Fmember-h5%2F"

            },

            "custom_field2": {

                "name": "优惠券",

                "url": "http://samcauthtest.zjnsjk.com/auth/mini/commonAuth.htm?shop_id=387&source=WXMEMBER&jumpType=coupon&redirect_uri=http%3A%2F%2Fsamccitest.zjnsjk.com%2Fmember-h5%2F"

            },

            "custom_field3": {

                "name": "余额",

                "url": "http://samcauthtest.zjnsjk.com/auth/mini/commonAuth.htm?shop_id=387&source=WXMEMBER&jumpType=balance&redirect_uri=http%3A%2F%2Fsamccitest.zjnsjk.com%2Fmember-h5%2F"

            },

            "prerogative": "以实际门店为准",

            "supply_balance": false,

            "supply_bonus": false,

            "wx_activate": true

        }

    }

}

最后一次编辑于  06-18
回答关注问题邀请回答
收藏

3 个回答

  • 支付社区运营
    支付社区运营
    06-19

    可以提供相关的请求信息给我们技术支持同学查询一下。

    技术支持渠道:https://support.pay.weixin.qq.com/online-service?from=wechatpay


    06-19
    有用
    回复
  • Mr.Zhao
    Mr.Zhao
    06-18

    body里不传access_token,还肯定对

    06-18
    有用
    回复 4
    • BaoBao
      BaoBao
      06-18
      这个到时候会拿出来的
      06-18
      回复
    • Mr.Zhao
      Mr.Zhao
      06-18回复BaoBao
      你别到时候了,实事求是,postman直接请求微信接口截个图
      06-18
      回复
    • BaoBao
      BaoBao
      06-18回复BaoBao
      微信文档里完整的拿出来测试,也是一样的结果
      06-18
      回复
    • Mr.Zhao
      Mr.Zhao
      06-18回复BaoBao
      截图让我看,别自己回复自己
      06-18
      回复
  • BaoBao
    BaoBao
    06-18

    @第三方平台助手

    06-18
    有用
    回复 1
    • BaoBao
      BaoBao
      06-18
      谁能帮忙看看是啥原因,是缺少参数了,还是其他原因,json格式肯定是对的
      06-18
      回复
登录 后发表内容