1. Bin
OPEN-API
  • API Call Description
  • Constant Declaration
    • Wallet
      • Wallet Status
      • In Out Type
      • Transaction Type
      • Transaction Status
    • Bin
      • Bin Type
      • Bin Mode
      • Bin Status
    • Card
      • Card Status
      • Card Trade
        • Card Trade Type
        • Card Trade Result
    • Order
      • Card Type
      • Order Type
      • Order Status
      • Order Bill
        • Order Bill Type
        • In Out Type
        • Bill Category
    • Payee
      • Payee Status
    • Payment
      • Fee Mode
      • Payment Status
  • Webhook
    • Card Notify
      • Order
      • Card
      • Card Trade
    • Payee Notify
    • Payment Notify
    • Wallet Notify
  • Api
    • Wallet
      • 钱包列表
      • 钱包详情
      • 交易流水列表
      • 交易详情
      • 获取兑换汇率
    • Card
      • Bin
        • 卡Bin列表
          POST
        • 卡Bin详情
          POST
        • 卡Bin费用
          POST
        • 卡Bin限制
          POST
      • Card
        • 卡列表
        • 卡详情
        • 卡激活
        • 卡冻结
        • 卡解冻
        • 发起销卡
        • 卡交易列表
        • 商户交易评分
      • Order
        • 开卡
        • 卡充值
        • 订单列表
        • 订单详情
      • Holder
        • 持卡人列表
        • 创建持卡人
        • 编辑持卡人
        • 持卡人详情
        • 删除持卡人
    • PayMethod
      • 付款方式
    • Payee
      • 运营资金来源列表
      • 预期付款目的列表
      • 创建收款方
      • 编辑收款方
      • 申请收款方
      • 删除收款方
      • 收款方列表
      • 收款方详情
    • Payment
      • 付款原因
      • 创建付款
      • 付款列表
      • 付款详情
  1. Bin

卡Bin详情

POST
/{{version}}/openApi/card/bin/getBin

使用场景#

 获取卡Bin产品详情。
请求参数#
Http Post Application/json
字段类型是否必传描述
customer_idlong是客户id
app_idlong是应用id
keystring是授权key
bin_idstring是bin id
示例
{
    "customer_id": 10000011,
    "app_id": 100001,
    "key": "ae9ae3f5ad284ef4836de18aa3d41c47",
    "bin_id": "cpi_65326ac921382"
}
响应内容#
字段类型是否必传描述
bin_idstring是bin id
bin_codestring是bin 号
typeint是bin 类型
settle_currencystring是结算币种
recharge_currencystring是充值币种
modeint是卡组 1:VISA 2:MASTERCARD
areastring是地区
card_categoryint是卡性质类型 1: credit(信用卡) 2: debit(借记卡)
bankstring是发卡行
statusint是状态 1:激活 2:计划维护 3:维护中 4:下架 5:计划上架
is_createint是是否允许开卡 1:是 0:否
is_rechargeint是是否允许充值 1:是 0:否
is_tradeint是是否允许交易 1:是 0:否
示例
{
    "code": 0,
    "message": "success",
    "data": {
        "bin_info": {
            "bin_id": "cpi_6530de6a2f1c7",
            "bin_code": "134338",
            "type": 2,
            "settle_currency": "USD",
            "recharge_currency": "USD",
            "mode": 1,
            "area": "US",
            "card_category": 1,
            "bank": "Cit Bank",
            "status": 1,
            "is_create": 1,
            "is_recharge": 1,
            "is_trade": 1
        },
        "bin_fee": {
            "create_fee": 10,
            "daily_hire": 0.27,
            "recharge_fee": 0.02
        },
        "bin_limit": {
            "min_pre_recharge_amount": 10,
            "min_recharge_amount": 10,
            "max_active": 100
        }
    }
}

请求参数

Body 参数application/json

示例
{
    "customer_id": 10000011,
    "app_id": 100001,
    "key": "ae9ae3f5ad284ef4836de18aa3d41c47",
    "bin_id": "cpi_65326ac921382"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http://prod-cn.your-api-server.com/{{version}}/openApi/card/bin/getBin' \
--header 'Content-Type: application/json' \
--data-raw '{
    "customer_id": 10000011,
    "app_id": 100001,
    "key": "ae9ae3f5ad284ef4836de18aa3d41c47",
    "bin_id": "cpi_65326ac921382"
}'

返回响应

🟢200成功
application/json
Body

示例
{}
修改于 2026-03-19 06:16:48
上一页
卡Bin列表
下一页
卡Bin费用
Built with