收藏
回答

创建会员卡接口返回40071,经过检查参数都没问题,这是什么情况,有人遇到过吗?

这个接口一直在使用没什么问题。 最近也没改动,用户却出现了以下报错。

返回:

{\"errcode\":40071,\"errmsg\":\"invalid card type hint: [PrSe40954r245]\"}"


参数:

{

        "card": {

                "card_type": "MEMBER_CARD",

                "member_card": {

                        "background_pic_url": "这里替换成示例的数据",

                        "base_info": {

                                "logo_url": "这里替换成示例的数据",

                                "brand_name": "这里替换成示例的数据",

                                "code_type": "CODE_TYPE_QRCODE",

                                "title": "会员卡",

                                "sub_title": null,

                                "color": "Color010",

                                "notice": "这里替换成示例的数据",

                                "description": "这里替换成示例的数据",

                                "date_info": {

                                        "type": "DATE_TYPE_FIX_TIME_RANGE",

                                        "begin_timestamp": 1590130285,

                                        "end_timestamp": 1684738285,

                                        "fixed_term": null,

                                        "fixed_begin_term": null

                                },

                                "sku": {

                                        "quantity": 100000000

                                },

                                "use_custom_code": true,

                                "bind_openid": null,

                                "service_phone": null,

                                "location_id_list": null,

                                "use_all_locations": true,

                                "center_title": "这里替换成示例的数据",

                                "center_sub_title": "这里替换成示例的数据",

                                "center_url": "这里替换成示例的数据",

                                "custom_app_brand_user_name": null,

                                "custom_app_brand_pass": null,

                                "center_app_brand_user_name": null,

                                "center_app_brand_pass": null,

                                "custom_url_name": "充值",

                                "custom_url": "这里替换成示例的数据",

                                "custom_url_sub_title": "这里替换成示例的数据",

                                "promotion_url_name": "",

                                "promotion_url": "",

                                "promotion_app_brand_pass": null,

                                "promotion_app_brand_user_name": null,

                                "promotion_url_sub_title": "",

                                "get_limit": 1,

                                "can_share": false,

                                "can_give_friend": false,

                                "source": "",

                                "need_push_on_view": false,

                                "pay_info": null,

                                "is_pay_and_qrcode": null,

                                "use_dynamic_code": false

                        },

                        "prerogative": "这里替换成示例的数据",

                        "auto_activate": false,

                        "wx_activate": true,

                        "wx_activate_after_submit": true,

                        "wx_activate_after_submit_url": "这里替换成示例的数据",

                        "supply_bonus": false,

                        "bonus_url": null,

                        "supply_balance": false,

                        "balance_url": null,

                        "custom_field1": {

                                "name_type": "FIELD_NAME_TYPE_LEVEL",

                                "name": "这里替换成示例的数据",

                                "app_brand_user_name": null,

                                "app_brand_pass": null,

                                "url": "这里替换成示例的数据"

                        },

                        "custom_field2": {

                                "name_type": "FIELD_NAME_TYPE_LEVEL",

                                "name": "这里替换成示例的数据",

                                "app_brand_user_name": null,

                                "app_brand_pass": null,

                                "url": "这里替换成示例的数据"

                        },

                        "custom_field3": {

                                "name_type": "FIELD_NAME_TYPE_LEVEL",

                                "name": "这里替换成示例的数据",

                                "app_brand_user_name": null,

                                "app_brand_pass": null,

                                "url": "这里替换成示例的数据"

                        },

                        "bonus_cleared": null,

                        "bonus_rules": null,

                        "balance_rules": null,

                        "activate_url": "",

                        "custom_cell1": {

                                "name": "",

                                "tips": null,

                                "url": "",

                                "app_brand_user_name": null,

                                "app_brand_pass": null

                        },

                        "custom_cell2": {

                                "name": "",

                                "tips": null,

                                "url": "",

                                "app_brand_user_name": null,

                                "app_brand_pass": null

                        },

                        "bonus_rule": null,

                        "discount": null

                }

        }

}

最后一次编辑于  2020-05-22
回答关注问题邀请回答
收藏

1 个回答

  • 微信支付技术助手8
    微信支付技术助手8
    2020-05-25

    检查一下你得传参。

    2020-05-25
    有用
    回复 1
    • IMBWJ
      IMBWJ
      发表于移动端
      2020-07-25
      我也遇到了同样的问题,测试账号创建成功,同样的代码换成正式的appid后,提示40071
      2020-07-25
      回复
登录 后发表内容
问题标签