法律合规与合同审校 · law.prepaid.check
单用途商业预付卡合规限额核查
依据《单用途商业预付卡管理办法》校验储值卡面额、有效期及退卡条款合规性。
请求地址(支持 GET / POST)
POST https://www.xntou.cn/api/open/v1/law/prepaid-check
单次计费
¥0.03 / 3 点沙箱体验
免费 20 次/日⚡ 在线调试台(Sandbox Debugger)
实时返回结果
{
"error_code": 0,
"reason": "Success",
"api_code": "law.prepaid.check",
"result": {
"compliant": false,
"maxAllowedYuan": 5000
}
}
请求参数与返回字段说明
1. 请求参数
| 参数名 | 类型 | 必填 | 示例默认值 | 说明 |
|---|---|---|---|---|
cardType |
string | 必填 | named |
卡类型:named(记名卡)/ unnamed(不记名卡) |
amountYuan |
number | 必填 | 6000 |
单张储值金额(元) |
hasExpiryLimit |
boolean | 选填 | true |
是否设置余额作废有效期 |
2. 核心返回字段(result)
| 字段路径 | 类型 | 说明 |
|---|---|---|
result.compliant |
boolean | 是否符合法定限额及有效期规定 |
result.issues |
array | 违规项说明 |
多语言接入代码示例
curl -s -X POST "https://www.xntou.cn/api/open/v1/law/prepaid-check" \
-H "Content-Type: application/json" \
-H "X-Api-Key: YOUR_APP_KEY" \
-d '{"cardType":"named","amountYuan":6000,"hasExpiryLimit":true}'