# 30.每日&每月开卡剩余数量查询

## 基本信息

* 接口类型：HTTPS POST
* 编码格式：UTF-8
* 测试地址：/api/v1.0/card/quota/query
* 生产接口：/api/v1.0/card/quota/query
* 同异步标识：同步

## 请求参数

<table><thead><tr><th width="184.55560302734375">名称</th><th>字段描述</th><th>字段类型</th><th>是否必填</th><th>备注</th></tr></thead><tbody><tr><td>cardProductCode</td><td>卡产品名称</td><td>String</td><td>N</td><td></td></tr><tr><td>operator</td><td>操作人</td><td>String</td><td>N</td><td></td></tr></tbody></table>

## 请求示例

```json
{
  "custNo": "1586326....992",
  "request": {
     "cardProductCode": "EV525U"
     "operator": ""
  },
  "verify": "893337.....64ebf00f06bab20c5b4e3824081b4991a6"
}
```

## 待签名字符串

```
custNo=custNo
```

## 响应结果

| 字段名称            | 字段描述    | 字段类型    | 是否必填 |
| --------------- | ------- | ------- | ---- |
| cardProductCode | 产品名称    | String  | Y    |
| quotaType       | 统计范围    | String  | Y    |
| totalQuota      | 限额总数    | Integer | Y    |
| usedCount       | 客户已使用额度 | Integer | Y    |
| remainingCount  | 剩余额度    | Integer | Y    |

## 响应实例

```json
{
    "success": true,
    "result": [
        {
            "cardProductCode": "EV525U",
            "quotaDetails": [
                {
                    "quotaType": "daily",
                    "totalQuota": 500,
                    "usedCount": 1,
                    "remainingCount": 499
                },
                {
                    "quotaType": "monthly",
                    "totalQuota": 15000,
                    "usedCount": 2,
                    "remainingCount": 14998
                }
            ]
        },
        {
            "cardProductCode": "KO539U",
            "quotaDetails": [
                {
                    "quotaType": "daily",
                    "totalQuota": 500,
                    "usedCount": 0,
                    "remainingCount": 500
                },
                {
                    "quotaType": "monthly",
                    "totalQuota": 2147483647,
                    "usedCount": 0,
                    "remainingCount": 2147483647
                }
            ]
        }
    ],
    "errorCode": null,
    "errorMsg": null
}
```
