settings 消费规则,不会实际发卡。| 错误码 | 触发条件 |
|---|---|
VALIDATION.INVALID_PARAMETER | cardCount 无效,或 settings 不受产品支持、不允许自定义。 |
RESOURCE.NOT_FOUND | 卡产品组、产品分配关系或对应币种的钱包不存在。 |
REQUEST.CONFLICT | 所选卡产品未启用。 |
{
"userCardProductGroupBizId": "UCPG_ABCDEF1234567890",
"platformCardProductBizId": "PLCP_ABCDEF1234567890",
"cardDisplayName": "Operations Card",
"settings": {
"limits": [
{
"period": "DAILY",
"amountMinor": 50000,
"timezone": "Asia/Shanghai",
"startDate": "2026-09-01"
}
],
"transaction": {
"minMinor": 100,
"maxMinor": 100000
},
"merchantRule": {
"mode": "ALLOW",
"merchantIds": [
"string"
]
},
"countryRule": {
"mode": "ALLOW",
"countries": [
"string"
]
},
"singleUse": false
},
"cardCount": 3
}curl --location 'https://api.lampays.com/card-products/10010105/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": "Operations Card",
"settings": {
"limits": [
{
"period": "DAILY",
"amountMinor": 50000,
"timezone": "Asia/Shanghai",
"startDate": "2026-09-01"
}
],
"transaction": {
"minMinor": 100,
"maxMinor": 100000
},
"merchantRule": {
"mode": "ALLOW",
"merchantIds": [
"string"
]
},
"countryRule": {
"mode": "ALLOW",
"countries": [
"string"
]
},
"singleUse": false
},
"cardCount": 3
}'{
"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
}
]
}
}