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

发卡预检

POST
/card-products/10010107/prepaid/cards/create/precheck
检查零余额发卡条件及费用,不会发卡或划转资金。settings 不传或传 {},不接受 initialAmount。
常见错误
错误码触发条件
RESOURCE.NOT_FOUND卡产品组、产品、钱包或服务商资源不存在。
VALIDATION.INVALID_PARAMETER产品不是预付卡、settings 不为空或请求参数无效。
REQUEST.CONFLICT所选卡产品或服务商资源未启用。

请求参数

Header 参数

Body 参数application/json必填

示例
{
    "userCardProductGroupBizId": "UCPG_ABCDEF1234567890",
    "platformCardProductBizId": "PLCP_ABCDEF1234567890",
    "cardDisplayName": "Travel Card",
    "settings": null,
    "cardCount": 1
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://api.lampays.com/card-products/10010107/prepaid/cards/create/precheck' \
--header 'X-API-VERSION: 2' \
--header 'X-Api-Key: {{api_key}}' \
--header 'X-Timestamp;' \
--header 'X-Nonce;' \
--header 'X-Signature;' \
--header 'X-Signature-Algorithm: RSA-SHA256' \
--header 'Content-Type: application/json' \
--data '{
    "userCardProductGroupBizId": "UCPG_ABCDEF1234567890",
    "platformCardProductBizId": "PLCP_ABCDEF1234567890",
    "cardDisplayName": "Travel Card",
    "settings": null,
    "cardCount": 1
}'

返回响应

🟢200成功
application/json
请求成功。
Bodyapplication/json

示例
{
    "version": "string",
    "timestamp": 0,
    "success": true,
    "code": "string",
    "message": "string",
    "data": {
        "allowed": true,
        "requestedCount": 3,
        "quotaAllowed": true,
        "maxTotalCardCount": 100,
        "totalCreatedCardCount": 25,
        "remainingQuota": 75,
        "balanceAllowed": true,
        "issuanceFeePerCard": 200,
        "totalIssuanceFee": 600,
        "walletBalance": 50000,
        "balanceAfterIssuance": 49400,
        "initialAmountPerCard": 2550,
        "totalInitialAmount": 7650,
        "failureReason": "Insufficient quota",
        "initialRechargeFeePerCard": 100,
        "totalInitialRechargeFee": 300,
        "totalFee": 900,
        "totalRequiredAmount": 8550,
        "feeItems": [
            {
                "feeType": {
                    "code": "ACTIVE",
                    "value": 35010102,
                    "label": "Active"
                },
                "perCard": 25,
                "total": 50,
                "amount": 50
            }
        ]
    }
}
修改于 2026-09-19 14:18:18
上一页
发卡
下一页
更新卡片消费规则
Built with