Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

卡片信息

简要描述

卡信息及余额查询

变更记录

变更时间变更内容
2025-04-23返回增加 status 字段

请求URL

${baseUrl}/op/card/H/balance

请求方式

  • Method: POST
  • Content-Type: application/json

请求参数

参数名必选类型说明
cardNumberstring卡号

返回示例

{
    "data": {
        "availableCredit": 123,
        "currentBillingEndDate": 1724342400000,
        "cvv": "WBM3cgTCXY2Yt6ARQ82IVQ==",
        "expiry": "202707",
        "overallCreditLimit": 123,
        "panFirst6": "451888",
        "panLast4": "0229",
        "status": "activated",
        "totalBalance": 0
    },
    "msg": "操作成功",
    "status": 200,
    "success": true
}

返回参数说明

通用参数

参数名称示例参数说明schema
datajson响应数据data信息
msg操作成功响应消息
status200响应码
successtrue是否成功(true/false)

data 字段说明

参数名称示例参数说明
availableCredit11可用信用额度 - 总余额,相当于 overallCreditLimit + totalBalance
overallCreditLimit10整体信用限额,当日增值总额会在此字段体现,T+1会转到 totalBalance
totalBalance11总余额
currentBillingEndDate1723824000000当前账单结算时间
expiry202707有效期
panFirst6451888卡号前6位
panLast40229卡号后4位
statusactivated卡状态
cvvWBM3cgTCXY2Yt6ARQ82IVQ==CVV,使用密钥解密后使用,解密请参考相关解密文档