| 错误码 | 触发条件 |
|---|---|
VALIDATION.INVALID_PARAMETER | 请求参数无效。 |
RESOURCE.NOT_FOUND | 卡片或产品不存在,或不属于当前工作区。 |
REQUEST.CONFLICT | 卡片当前状态不允许操作,或请求与正在处理的业务冲突。 |
{
"userCardProductGroupBizId": "string",
"platformCardProductBizId": "string",
"cardDisplayName": "string",
"amount": 100,
"cardCount": 1
}curl --location '/card-products/10010110/cards/create/precheck' \
--header 'X-API-VERSION: 3' \
--header 'X-Signature-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": "string",
"platformCardProductBizId": "string",
"cardDisplayName": "string",
"amount": 100,
"cardCount": 1
}'{
"version": "string",
"timestamp": 0,
"success": true,
"code": "string",
"message": "string",
"data": {
"allowed": true,
"requestedCount": 0,
"quotaAllowed": true,
"maxTotalCardCount": 0,
"totalCreatedCardCount": 0,
"remainingQuota": 0,
"balanceAllowed": true,
"issuanceFeePerCard": 0,
"totalIssuanceFee": 0,
"walletBalance": 0,
"balanceAfterIssuance": 0,
"initialAmountPerCard": 0,
"totalInitialAmount": 0,
"failureReason": "string",
"initialRechargeFeePerCard": 0,
"totalInitialRechargeFee": 0,
"totalFee": 0,
"totalRequiredAmount": 0,
"feeItems": [
{
"feeType": {
"code": "string",
"value": 0,
"label": "string"
},
"perCard": 0,
"total": 0,
"amount": 0
}
]
}
}