简要描述:

  • 接口版本:

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

请求URL:

请求方式:

  • POST

请求头:

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

type=1请求参数:

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

type=2请求参数:

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

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "编辑成功",
    "data": {},
    "other": []
}

错误时返回:

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

返回参数说明:

参数名 类型 说明
cart_id string 购物车ID

备注:

作者:admin  创建时间:2026-02-05 20:22
最后编辑:admin  更新时间:2026-02-05 21:16