接口描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期 备注

请求URL:

  • 代理商URL/api/mchQrCodes

请求方式:

  • GET

请求参数:

参数名 说明
pageNumber/pageSize 标准分页参数
appId 根据appId查询

返回数据说明:

参数名 说明
fixedFlag 是否固定支付金额: 1-是, 0-否
entryPage 入口页面呈现方式: default-默认(未指定,取决于二维码是否绑定到微信侧), h5-仅H5网页, lite-仅小程序
storeId 绑定门店ID
qrcState 码牌状态: 0-停用, 1-正常
qrcId 码牌ID
qrcAlias 别名
bindState 码牌绑定状态: 0-未绑定, 1-已绑定(一定存在mchNo、appId 和 storeId)
appId 绑定的应用ID, 默认为空串
qrcBelongType 码牌所属类型: 1-商户自制码牌, 2-运营平台下发码牌
qrcTemplateId 码牌模板ID, 0-表示仅二维码
mchNo 绑定的商户号, 默认为空串
fixedPayAmount 固定支付金额,单位分
createdAt 创建时间
updatedAt 更新时间

返回示例:

{
    "msg": "SUCCESS",
    "code": 0,
    "data": {
        "current": 1,
        "total": 6,
        "hitCount": false,
        "pages": 1,
        "optimizeCountSql": true,
        "size": 10,
        "records": [
            {
                "fixedFlag": 0,
                "entryPage": "default",
                "storeId": 1019,
                "qrcState": 1,
                "qrcId": 1011,
                "createdAt": "2022-01-07 14:22:44",
                "bindState": 1,
                "appId": "",
                "qrcBelongType": 1,
                "qrcTemplateId": 0,
                "mchNo": "M1639390389",
                "fixedPayAmount": 0,
                "updatedAt": "2022-01-07 14:22:44"
            },
            {
                "fixedFlag": 0,
                "entryPage": "default",
                "storeId": 1019,
                "qrcState": 1,
                "qrcId": 1010,
                "createdAt": "2022-01-07 14:22:16",
                "bindState": 1,
                "appId": "",
                "qrcBelongType": 1,
                "qrcTemplateId": 0,
                "mchNo": "M1639390389",
                "fixedPayAmount": 0,
                "updatedAt": "2022-01-07 14:22:16"
            },
            {
                "fixedFlag": 0,
                "entryPage": "default",
                "storeId": 1019,
                "qrcState": 1,
                "qrcId": 1009,
                "createdAt": "2022-01-07 14:22:15",
                "bindState": 1,
                "appId": "",
                "qrcBelongType": 1,
                "qrcTemplateId": 0,
                "mchNo": "M1639390389",
                "fixedPayAmount": 0,
                "updatedAt": "2022-01-07 14:22:15"
            },
            {
                "fixedFlag": 0,
                "entryPage": "default",
                "storeId": 1019,
                "qrcState": 1,
                "qrcId": 1008,
                "createdAt": "2022-01-07 14:21:58",
                "bindState": 1,
                "appId": "",
                "qrcBelongType": 1,
                "qrcTemplateId": 0,
                "mchNo": "M1639390389",
                "fixedPayAmount": 0,
                "updatedAt": "2022-01-07 14:21:58"
            },
            {
                "fixedFlag": 0,
                "entryPage": "default",
                "storeId": 1019,
                "qrcState": 1,
                "qrcId": 1007,
                "createdAt": "2022-01-07 14:21:42",
                "bindState": 1,
                "appId": "",
                "qrcBelongType": 1,
                "qrcTemplateId": 0,
                "mchNo": "M1639390389",
                "fixedPayAmount": 0,
                "updatedAt": "2022-01-07 14:21:42"
            },
            {
                "fixedFlag": 1,
                "entryPage": "default",
                "storeId": 1019,
                "qrcState": 1,
                "qrcId": 1006,
                "createdAt": "2021-12-28 14:50:10",
                "bindState": 1,
                "appId": "61b71cb5d9d220bcc03b79a5",
                "qrcBelongType": 1,
                "qrcTemplateId": 0,
                "alipayWayCode": "ALI_WAP",
                "mchNo": "M1639390389",
                "fixedPayAmount": 100,
                "updatedAt": "2021-12-28 14:50:10"
            }
        ],
        "searchCount": true,
        "orders": []
    }
}}

备注:

-

文档更新时间: 2022-03-23 17:40   作者:马腾飞