curl --location 'https://kf.pikabao.cc/agent/v1/cards/bins?appid=user123×tamp=1640995200000&sign=ABC123...'
{
"code": 0,
"msg": "成功",
"content": [
{
"id": "240820174023000001",
"bin": "491090",
"cr": "美国",
"organization": "VISA",
"actualOpenCardPrice": "2.00",
"actualRechargeFeeRate": "3.00%",
"enable": true,
"description": "美国 VISA 虚拟卡"
},
{
"id": "240820174023000002",
"bin": "554866",
"cr": "美国",
"organization": "MASTERCARD",
"actualOpenCardPrice": "2.00",
"actualRechargeFeeRate": "3.00%",
"enable": true,
"description": "美国 MasterCard 虚拟卡"
}
]
}
用户与卡片
获取可用BIN
获取当前可用的信用卡 BIN(Bank Identification Number)列表及费率信息
GET
/
agent
/
v1
/
cards
/
bins
curl --location 'https://kf.pikabao.cc/agent/v1/cards/bins?appid=user123×tamp=1640995200000&sign=ABC123...'
{
"code": 0,
"msg": "成功",
"content": [
{
"id": "240820174023000001",
"bin": "491090",
"cr": "美国",
"organization": "VISA",
"actualOpenCardPrice": "2.00",
"actualRechargeFeeRate": "3.00%",
"enable": true,
"description": "美国 VISA 虚拟卡"
},
{
"id": "240820174023000002",
"bin": "554866",
"cr": "美国",
"organization": "MASTERCARD",
"actualOpenCardPrice": "2.00",
"actualRechargeFeeRate": "3.00%",
"enable": true,
"description": "美国 MasterCard 虚拟卡"
}
]
}
请求参数
用户标识
当前时间戳(毫秒)
签名值
响应
响应代码
响应消息
curl --location 'https://kf.pikabao.cc/agent/v1/cards/bins?appid=user123×tamp=1640995200000&sign=ABC123...'
{
"code": 0,
"msg": "成功",
"content": [
{
"id": "240820174023000001",
"bin": "491090",
"cr": "美国",
"organization": "VISA",
"actualOpenCardPrice": "2.00",
"actualRechargeFeeRate": "3.00%",
"enable": true,
"description": "美国 VISA 虚拟卡"
},
{
"id": "240820174023000002",
"bin": "554866",
"cr": "美国",
"organization": "MASTERCARD",
"actualOpenCardPrice": "2.00",
"actualRechargeFeeRate": "3.00%",
"enable": true,
"description": "美国 MasterCard 虚拟卡"
}
]
}
使用说明
开卡前建议先调用此接口获取可用的 BIN 列表和费率信息,然后选择合适的 BIN 进行开卡
费率计算示例
如果选择 BIN491090:
- 开卡费:$2.00
- 充值 100,手续费:100 × 3% = $3.00
- 实际扣费:100+3.00 + 2.00=105.00
⌘I
