InfiniaX
  1. 无界卡
InfiniaX
  • API
    • 对接指引
      • 接口请求认证
      • 交易认证
      • 枚举解释
      • webhook
        • 使用Webhook
        • Webhook数据模型定义
        • Events
          • Card Events
          • Account Transaction Events
          • Card Transaction Events
          • Share Transaction Events
    • 无界卡概念
      • 什么是无界卡
      • 什么是共享组
      • 什么是卡Bin(卡渠道)
      • 开卡指引
    • 账户
      • 获取账户余额
      • 账户交易列表
    • 无界卡持卡人
      • 获取持有人列表
      • 创建持有人
      • 删除持有人
    • 无界卡
      • 无界卡交易场景
        • 获取支持的场景列表
        • 获取设置的卡场景列表
        • 修改卡场景
      • 获取可用的卡渠道
        GET
      • 创建无界卡
        POST
      • 批量创建无界卡
        POST
      • 获取无界卡列表
        GET
      • 无界卡交易列表
        GET
      • 删除无界卡
        DELETE
      • 获取批量开卡进度
        GET
      • 无界卡转入转出
        PUT
      • 获取无界卡私密信息
        GET
      • 冻结无界卡
        PUT
      • 解冻无界卡
        PUT
      • 无界卡统计
        GET
      • 获取无界卡机构费率配置
        GET
      • 修改无界卡机构费率配置
        PUT
      • 获取卡额度配置
        GET
      • 更新卡额度配置
        PUT
    • 共享组
      • 创建共享组
      • 更新共享组
      • 获取所有共享组
      • 冻结共享组
      • 删除共享组
      • 解冻共享组
      • 共享组交易列表
  1. 无界卡

批量创建无界卡

POST
/open-api/v1/cards/batch

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Basic 之后拼接空格,以及经过 Base64 编码的 username:password
示例:
Authorization: Basic *****************
Body 参数application/json

示例
{
    "budgetId": "string",
    "channelId": "string",
    "otaConfig": {
        "airCode": "string",
        "isUS": true
    },
    "cardType": "virtual",
    "sceneIds": [
        "string"
    ],
    "sceneType": 0,
    "list": [
        {
            "amount": 0,
            "callId": "string",
            "cardHolder": {
                "id": "string",
                "label": "string",
                "firstName": "string",
                "lastName": "string",
                "phoneCode": "string",
                "phoneNumber": "string",
                "email": "string",
                "address": {
                    "line1": "string",
                    "line2": "string",
                    "postCode": "string",
                    "city": "string",
                    "state": "string",
                    "country": "string"
                },
                "createdAt": "2019-08-24T14:15:22Z"
            },
            "cardHolderId": "string",
            "label": "string",
            "cardExpireDate": "2019-08-24T14:15:22Z",
            "appendFee": {
                "actionFeeCnt": 0,
                "fxFeeProrate": 0
            }
        }
    ]
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://service-test.infiniax.com/open-api/v1/cards/batch' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "budgetId": "string",
    "channelId": "string",
    "otaConfig": {
        "airCode": "string",
        "isUS": true
    },
    "cardType": "virtual",
    "sceneIds": [
        "string"
    ],
    "sceneType": 0,
    "list": [
        {
            "amount": 0,
            "callId": "string",
            "cardHolder": {
                "id": "string",
                "label": "string",
                "firstName": "string",
                "lastName": "string",
                "phoneCode": "string",
                "phoneNumber": "string",
                "email": "string",
                "address": {
                    "line1": "string",
                    "line2": "string",
                    "postCode": "string",
                    "city": "string",
                    "state": "string",
                    "country": "string"
                },
                "createdAt": "2019-08-24T14:15:22Z"
            },
            "cardHolderId": "string",
            "label": "string",
            "cardExpireDate": "2019-08-24T14:15:22Z",
            "appendFee": {
                "actionFeeCnt": 0,
                "fxFeeProrate": 0
            }
        }
    ]
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 0,
    "message": "string",
    "timestamp": 0,
    "data": true
}
修改于 2025-03-11 08:03:30
上一页
创建无界卡
下一页
获取无界卡列表
Built with