| 错误码 | 触发条件 |
|---|---|
RESOURCE.NOT_FOUND | 当前工作区内找不到该卡片或钱包。 |
VALIDATION.INVALID_PARAMETER | 金额或预付卡渠道不符合要求。 |
{
"cardInfoBizId": "CI_ABCDEF1234567890",
"amount": 2500
}curl --location 'https://api.lampays.com/card-products/10010107/prepaid/cards/withdraw/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 '{
"cardInfoBizId": "CI_ABCDEF1234567890",
"amount": 2500
}'{
"version": "string",
"timestamp": 0,
"success": true,
"code": "string",
"message": "string",
"data": {
"allowed": true,
"amount": 2500,
"feeItems": [
{
"feeType": {
"code": "ACTIVE",
"value": 35010102,
"label": "Active"
},
"amount": 25
}
],
"walletBalance": 10000,
"totalDebit": 2525,
"grossCredit": 2500,
"netCredit": 2475,
"balanceAfter": 7475,
"cardBalance": 8000,
"snapshotOnly": true,
"failureReason": "Insufficient wallet balance"
}
}