简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2026-02-05

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string 凭证

请求参数:

参数名 是否必须 类型 说明
type string 1=信用卡列表,2=远传电信代收

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "ok",
    "data": [
        {
            "id": 3,
            "type": 1,
            "phone": "0987654322",
            "card_number": "98574124165",
            "card_brand": "Visa",
            "cardholder_name": "kevin",
            "is_default": 1,
            "expiry_year_month": "2040-12",
            "cvv": "123456"
        },
        {
            "id": 5,
            "type": 1,
            "phone": "0987654323",
            "card_number": "98574124163",
            "card_brand": "Visa",
            "cardholder_name": "kevin",
            "is_default": 2,
            "expiry_year_month": "2040-12",
            "cvv": "123456"
        }
    ],
    "other": []
}


{
    "status": 200,
    "msg": "ok",
    "data": {
        "id": 1,
        "type": 2,
        "phone": "0987654322"
    },
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "验证错误"
}

type=1返回参数说明:

参数名 类型 说明
id string id
type string 类型【1=信用卡,2=远传电信代收】
phone string 预留手机号
card_number string 卡号
card_brand string 卡号组织【Visa, Mastercard, UnionPay, American Express, Discover,JCB,】
cardholder_name string 持卡人姓名
expiry_year_month string 有效期
cvv string cvv
is_default string 是否预设【1=预设 2=不】

type=2返回参数说明:

参数名 类型 说明
id string id
type string 类型【1=信用卡,2=远传电信代收】
phone string 手机号

备注:

作者:admin  创建时间:2026-02-05 20:15
最后编辑:admin  更新时间:2026-02-05 21:16
上一篇:
下一篇: