1. 卡片发行
Wayflow
Version 1
  • Version 2
  • Version 1
  • SDK 使用指南
  • PHP 快速开始
  • Java 快速开始
  • Node.js / TypeScript 快速开始
  • Python 快速开始
  • Go 快速开始
  • 接入指南
  • 认证与签名
  • 加密与解密
  • Webhook 通知
  • 错误码与重试
  • 关于SDK
  • 卡产品组
    • 卡产品组列表(分页)
      POST
    • 卡产品组列表(非分页)
      POST
    • 卡产品组详情
      POST
  • 卡产品
    • 卡产品相关字典
      • 费用模型字典
      • 舍入模式字典
    • 卡产品列表(分页)
      POST
    • 卡产品列表(非分页)
      POST
    • 卡产品详情
      POST
  • 卡钱包
    • 卡钱包划转
      • 卡钱包转出
      • 卡钱包转入
    • 卡钱包相关字典
      • 交易订单状态字典
      • 交易订单流向字典
      • 交易订单审批状态字典
    • 卡钱包查询
      • 卡钱包列表(分页)
      • 卡钱包列表(非分页)
      • 卡钱包详情
  • 卡片交易
    • 交易查询
      • 卡片交易列表(分页)
      • 卡片交易列表(非分页)
      • 卡片交易详情
    • 卡片交易相关字典
      • 交易类型字典
      • 交易状态字典
      • 交易商户国家字典
      • 交易资金流向字典
  • 卡钱包交易
    • 卡钱包交易订单
      • 卡钱包转账订单列表(分页)
      • 卡钱包转账订单列表(非分页)
      • 卡钱包转账订单详情
      • 取消卡钱包转账订单
    • 卡钱包交易流水
      • 卡钱包流水列表(分页)
      • 卡钱包流水列表(非分页)
      • 卡钱包流水详情
  • 卡片
    • 卡片查询
      • 卡片列表(分页)
      • 卡片列表(非分页)
      • 卡片详情
      • 查询卡片敏感信息
    • 卡片发行
      • 发卡预检
        POST
      • 发卡
        POST
    • 卡片更新
      • 消费控制配置示例
      • 更新卡片消费规则
      • 更新卡片别名
    • 卡片状态操作
      • 卡片冻结
      • 卡片解冻
      • 卡片注销
    • 卡片任务
      • 发卡任务详情
      • 发卡任务明细(分页)
      • 批量修改卡片状态
      • 卡片状态任务明细(分页)
      • 卡片状态任务详情
    • 商户查询
      • 商户列表(分页)
      • 商户详情
    • 卡片相关字典
      • 卡片状态字典
      • 国家字典(分页)
      • 消费限制类型字典
      • 消费限额周期字典
      • 时区字典
  1. 卡片发行

发卡

POST
/card-products/10010105/cards/create
提交一张或多张卡片的发卡申请。建议先调用开卡预检;返回的批次 ID 可用于查询任务进度及明细。
调用要求:使用 SDK 加密调用,算法为 RSA-OAEP-AES-256-GCM。
本接口要求幂等键,重试同一业务操作时复用原值。
常见错误
错误码触发条件
VALIDATION.INVALID_PARAMETERcardCount 无效,或开卡设置不受产品支持、不允许自定义。
RESOURCE.NOT_FOUND卡产品组、产品分配关系或对应币种的钱包不存在。
REQUEST.CONFLICT卡产品未启用。
REQUEST.CONFLICT同一幂等请求仍在处理中,或幂等键已用于不同请求。

请求参数

Header 参数

Body 参数application/json必填

示例
{
    "userCardProductGroupBizId": "UCPG_ABCDEF1234567890",
    "platformCardProductBizId": "PLCP_ABCDEF1234567890",
    "cardDisplayName": "Operations Card",
    "settings": {
        "spendingConstraint": {
            "spendingRule": {
                "utilizationLimit": {
                    "preset": "daily",
                    "limitAmount": {
                        "amountCents": 0
                    },
                    "timezone": "Asia/Shanghai",
                    "startDate": "2026-08-12"
                },
                "transactionSizeLimit": {
                    "minimum": {
                        "amountCents": 0
                    },
                    "maximum": {
                        "amountCents": 0
                    }
                }
            },
            "merchantRule": {
                "merchants": [
                    "string"
                ],
                "restriction": "string"
            },
            "countryRule": {
                "countries": [
                    "string"
                ],
                "restriction": "string"
            }
        },
        "isSingleUse": true
    },
    "cardCount": 3
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/card-products/10010105/cards/create' \
--header 'X-API-VERSION: 1' \
--header 'X-Api-Key: {{api_key}}' \
--header 'X-Timestamp;' \
--header 'X-Nonce;' \
--header 'X-Signature;' \
--header 'X-Signature-Algorithm;' \
--header 'X-Idempotency-Key;' \
--header 'X-Request-Id;' \
--header 'X-Platform-Encryption-Key-Id;' \
--header 'Content-Type: application/json' \
--data '{
    "userCardProductGroupBizId": "UCPG_ABCDEF1234567890",
    "platformCardProductBizId": "PLCP_ABCDEF1234567890",
    "cardDisplayName": "Operations Card",
    "settings": {
        "spendingConstraint": {
            "spendingRule": {
                "utilizationLimit": {
                    "preset": "daily",
                    "limitAmount": {
                        "amountCents": 0
                    },
                    "timezone": "Asia/Shanghai",
                    "startDate": "2026-08-12"
                },
                "transactionSizeLimit": {
                    "minimum": {
                        "amountCents": 0
                    },
                    "maximum": {
                        "amountCents": 0
                    }
                }
            },
            "merchantRule": {
                "merchants": [
                    "string"
                ],
                "restriction": "string"
            },
            "countryRule": {
                "countries": [
                    "string"
                ],
                "restriction": "string"
            }
        },
        "isSingleUse": true
    },
    "cardCount": 3
}'

返回响应

🟢200成功
*/*
OK
Headers

Body*/*

示例
{
    "version": "string",
    "timestamp": 0,
    "success": true,
    "code": "string",
    "message": "string",
    "data": {
        "batchBizId": "CCB_ABCDEF1234567890",
        "requestedCount": 3,
        "acceptedCount": 3,
        "outcome": "ACCEPTED"
    }
}
修改于 2026-09-21 10:39:41
上一页
发卡预检
下一页
消费控制配置示例
Built with