卡头持卡人要求
返回单个卡头对持卡人的要求:该卡头能否使用持卡人、在其上开卡是否必须使用持卡人、持卡人是否须先通过身份认证、审核需要哪些资料、发卡方对该卡头的完整规则(可接受的证件类型、年龄范围、国家 / 区号名单、字段格式、地址证明时效与条件要求)、哪些资料模块必须填写,以及每位持卡人可持有的卡数。v1.6.8 起所有要求都来自发卡方对该卡头的要求 —— 平台不附加任何自有规则。
端点
| 项 | 值 |
|---|---|
| Method | POST |
| Path | /api/v1/openapi/cardholder/requirement |
| 鉴权 | HMAC |
| 幂等键 | 不需要 |
请求字段
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
header_id | string | ✅ | 来自 /card_headers/list 的 hdr_<id> |
cardholder_id | string | 可选,chd_<id>。传了就按该持卡人已保存的资料评估 rules.conditionals[] 的 applies(不传则为 null),sections[] 也会计入对该持卡人成立的条件要求 |
{ "header_id": "hdr_5" }评估某位持卡人还差什么:
{ "header_id": "hdr_5", "cardholder_id": "chd_12" }响应字段
| 字段 | 类型 | 说明 |
|---|---|---|
header_id | string | 回显的 hdr_<id> |
card_bin | string | 卡头的 BIN(与 /card_headers/list 的 card_bin 相同) |
card_type | string | 小写卡类型,如 virtual_g |
supported | bool | 该卡头能否使用持卡人:virtual_v / virtual_r / virtual_g / virtual_a / virtual_s921 为 true;virtual_l / virtual_p 卡头为 false —— 此时下面其余字段都为空 / false |
required | bool | 在该卡头开卡必须使用已审核通过的持卡人 —— 与 /card_headers/list 的 cardholder_required 取值相同。v1.6.8 起 supported=true 时恒为 true(requirement_available=false 时也是),与 registration_required 无关;supported=false 时为 false |
registration_required | bool | 发卡方对该卡头的 registration_required 原值,仅供参考 —— v1.6.8 起不再决定是否必须使用持卡人(看 required)。发卡方要求未同步或暂不可用时为 false |
kyc_required | bool | 持卡人须先通过该卡头要求的身份认证:用本 header_id 发起认证,通过后再提交审核。见身份认证 |
requirement_available | bool | 发卡方当前能否给出该卡头的要求。为 false 时,对该卡头的提交审核与开卡都会被拒,直至恢复 —— 请稍后重试 |
required_kyc_level | string | 已废弃 —— 为兼容保留,恒为 ""。请改用 kyc_required |
kyc_level | string | 已废弃 —— 为兼容保留,恒为 "" |
required_fields | array | 以树形表示的 required_field_paths —— 见 required_fields[] |
required_field_paths | string[] | 必须提供的字段路径 —— 只有发卡方对该卡头的必填字段(rules.required_fields),不含身份认证时采集的 residential_address.* 路径;identity 这类对象路径会补在其下字段之前。平台不附加任何路径(v1.6.8 起不再并入账单地址)。与 /cardholder/check 的 issues[].field / missing_fields 命名相同。只在满足条件时才必填的路径见 rules.conditionals。要求未同步或暂不可用时为 [] |
support_billing_region | string[] | 允许的持卡人账单地址国家(ISO alpha-2)= rules.country_lists.billing_countries;[] = 不限。不适用于不用持卡人开卡时的 billing_address |
support_nationality | string[] | 允许的国籍 = rules.country_lists.nationalities;[] = 不限 |
sanctioned_nationality | string[] | 不接受的国籍 = rules.country_lists.blocked_nationalities |
support_area_code | string[] | 允许的手机区号(+65 形式)= rules.country_lists.area_codes;[] = 不限 |
max_cards_per_cardholder | int | 一位持卡人在该卡头最多可持有的卡数;0 = 不限 |
rules | object | 发卡方对该卡头的完整要求 —— 见 rules。上面四个扁平名单为兼容保留;「白名单出现但为空」只能从 rules.country_lists 判断 |
requirement_synced | bool | 是否已拿到发卡方对该卡头的要求。为 false 时 rules、required_fields、required_field_paths 与 sections[].fields 都为空,但卡头仍可能有要求 —— 请以 /cardholder/check 为准 |
synced_at | string | null | 要求最近一次更新的时间(RFC3339)。调用本接口时若要求已超过 10 分钟,会先向发卡方实时更新 |
sections | array | 证件信息、账单地址、快递地址三个资料模块在该卡头是否必须填写 —— 见 sections[]。supported=false 时为 [] |
required_fields[]
| 字段 | 类型 | 说明 |
|---|---|---|
name | string | 字段名,与登记资料中的字段同名(如 nationality、identity、front_file_id) |
type | string | 有子字段时为 object,否则为 string |
required | bool | 恒为 true(字段树只包含 required_field_paths) |
fields | array | 子字段(结构相同);叶子为 [] |
读法:
- 树中每个节点都必须提供;它就是按对象整理后的
required_field_paths。 - 树中只有发卡方对该卡头要求的内容。发卡方未列出的模块(如许多卡头的
billing_address)对该卡头不是必填。 - 只对部分持卡人必填的字段(如部分国籍须提供地址证明、美国国籍须提供
ssn)不在树中 —— 见rules.conditionals。 /cardholder/create//cardholder/update只要求基础字段(first_name、last_name、birth_date、email、area_code、mobile_number),其余资料不全时仍会保存;提交审核前请用/cardholder/check查看缺项。
rules
发卡方对该卡头的要求(以发卡方定义为准)。/cardholder/check、/cardholder/submit 与开卡都按同一套规则判定,issues[].rules 的取值与下列字段名一一对应。空数组 / 空对象 / 0 表示「不限」。
| 字段 | 类型 | 说明 |
|---|---|---|
required_fields | string[] | 发卡方的必填字段路径(升序)。少数路径(residential_address.*)在身份认证时采集,您无法填写 —— 它们不计入 required_field_paths |
identity_types | string[] | 可接受的 identity.type;[] = 不限 |
holder_age | object | { "min": <含>, "max_exclusive": <不含> },按周岁;0 = 该侧不限 |
country_lists | object | 国家 / 区号名单,键为 nationalities / blocked_nationalities / residence_countries / blocked_residence_countries / billing_countries / area_codes / poa_issuing_countries。键不出现 = 不限;白名单键出现且为 [] = 不允许任何值。 residence_* 针对身份认证时采集的居住地址 |
field_constraints | object | 字段路径 → { "min_length", "max_length", "charset", "format" }。charset:LATIN_NAME 拉丁字母、单词间单个空格 / LATIN_TEXT 拉丁字母、数字、空格及 , . ' / # ( ) - & / LATIN_ALNUM_DASH 拉丁字母、数字、空格及 - / DIGITS 仅数字;format:EMAIL / ISO_DATE / ISO_COUNTRY / E164;0 / "" = 不限 |
poa_max_age_months | int | 地址证明须在提交前 N 个月内出具;0 = 不限 |
conditionals | array | 只在满足条件时才生效的要求 —— 见 conditionals[] |
conditionals[]
| 字段 | 类型 | 说明 |
|---|---|---|
when.field | string | 条件字段路径(与资料字段同名);age = 按 birth_date 计算的周岁 |
when.op | string | in:取值在 values 内(不区分大小写)/ not_in:已提供且不在 values 内 / lt:小于 number / gte:大于等于 number(lt / gte 只用于 age)。字段未提供时条件不成立 |
when.values | string[] | in / not_in 的取值 |
when.number | int | lt / gte 的比较值 |
then | object | 条件成立时还须满足的要求 —— 结构同 rules(可再嵌套 conditionals) |
applies | bool | null | 传了 cardholder_id:该条件对该持卡人已保存的资料是否成立(上级条件不成立时其下嵌套条件为 false);不传 cardholder_id 时为 null —— 请按表单当前值自行判断 |
sections[]
各资料模块在该卡头是否必须填写 —— 用来决定登记表单的哪些部分必填。固定 3 项,顺序为 identity、billing_address、delivery_address。
| 字段 | 类型 | 说明 |
|---|---|---|
key | string | identity(证件信息)/ billing_address(账单地址)/ delivery_address(快递地址)—— 与登记资料中的同名对象一致 |
required | bool | true:该卡头必须填写此模块 —— 表单中应始终展示、不提供「不填写」的选项。false:选填 |
reasons | string[] | 必填的原因;选填时为 []。required_fields:required_field_paths 中包含该模块或其下某个字段 / conditional:传了 cardholder_id 时,对该持卡人成立的发卡方条件要求要求。v1.6.8 起只有这两种原因 —— 都来自发卡方的要求。后续可能新增取值 —— 只按 required 判断,不认识的取值忽略即可 |
fields | string[] | 本模块中必须提供的字段路径:required_field_paths 中属于该模块的路径,传了 cardholder_id 时另含对该持卡人成立的条件要求字段(如 identity.proof_of_address_file_id)。没有时为 []。未列出的字段可以留空 |
传入的 cardholder_id 对应持卡人的国籍命中下方示例中的条件要求(CN / IN / RU 须提供地址证明)时:
"sections": [
{
"key": "identity", "required": true, "reasons": ["required_fields", "conditional"],
"fields": ["identity.front_file_id", "identity.number", "identity.type", "identity.proof_of_address_file_id", "identity.proof_of_address_issue_date", "identity.proof_of_address_issuing_country"]
},
{
"key": "billing_address", "required": true, "reasons": ["required_fields"],
"fields": ["billing_address.city", "billing_address.country", "billing_address.line1", "billing_address.postcode", "billing_address.state"]
},
{ "key": "delivery_address", "required": false, "reasons": [], "fields": [] }
]sections 只由发卡方的要求推导(required_field_paths,传了 cardholder_id 时另加对其成立的条件要求),是布局表单最简单的依据:模块是否必填看 required,模块内哪些字段必填看 fields。模块之外的顶层字段(如 nationality、gender)是否必填,看 required_field_paths。选填模块可以不填,也可以只填一部分 —— 登记不会拒绝 —— 最终以 /cardholder/check 为准。
响应示例
{
"code": 0,
"message": "Success",
"data": {
"header_id": "hdr_5",
"card_bin": "424242",
"card_type": "virtual_g",
"supported": true,
"required": true,
"registration_required": true,
"kyc_required": true,
"requirement_available": true,
"required_kyc_level": "",
"kyc_level": "",
"required_fields": [
{
"name": "billing_address",
"type": "object",
"required": true,
"fields": [
{ "name": "city", "type": "string", "required": true, "fields": [] },
{ "name": "country", "type": "string", "required": true, "fields": [] },
{ "name": "line1", "type": "string", "required": true, "fields": [] },
{ "name": "postcode", "type": "string", "required": true, "fields": [] },
{ "name": "state", "type": "string", "required": true, "fields": [] }
]
},
{
"name": "identity",
"type": "object",
"required": true,
"fields": [
{ "name": "front_file_id", "type": "string", "required": true, "fields": [] },
{ "name": "number", "type": "string", "required": true, "fields": [] },
{ "name": "type", "type": "string", "required": true, "fields": [] }
]
},
{ "name": "nationality", "type": "string", "required": true, "fields": [] }
],
"required_field_paths": [
"billing_address", "billing_address.city", "billing_address.country", "billing_address.line1",
"billing_address.postcode", "billing_address.state",
"identity", "identity.front_file_id", "identity.number", "identity.type", "nationality"
],
"support_billing_region": [],
"support_nationality": [],
"sanctioned_nationality": ["KP"],
"support_area_code": [],
"max_cards_per_cardholder": 5,
"rules": {
"required_fields": [
"billing_address.city", "billing_address.country", "billing_address.line1", "billing_address.postcode",
"billing_address.state", "identity.front_file_id", "identity.number", "identity.type", "nationality"
],
"identity_types": ["ID_CARD", "PASSPORT"],
"holder_age": { "min": 18, "max_exclusive": 80 },
"country_lists": { "blocked_nationalities": ["KP"] },
"field_constraints": {
"first_name": { "min_length": 2, "max_length": 32, "charset": "LATIN_NAME", "format": "" },
"billing_address.line1": { "min_length": 0, "max_length": 70, "charset": "LATIN_TEXT", "format": "" }
},
"poa_max_age_months": 0,
"conditionals": [
{
"when": { "field": "nationality", "op": "in", "values": ["CN", "IN", "RU"], "number": 0 },
"then": {
"required_fields": ["identity.proof_of_address_file_id", "identity.proof_of_address_issue_date", "identity.proof_of_address_issuing_country"],
"identity_types": [],
"holder_age": { "min": 0, "max_exclusive": 0 },
"country_lists": { "poa_issuing_countries": ["SG"] },
"field_constraints": {},
"poa_max_age_months": 12,
"conditionals": []
},
"applies": null
}
]
},
"requirement_synced": true,
"synced_at": "2026-10-26T02:00:00Z",
"sections": [
{
"key": "identity", "required": true, "reasons": ["required_fields"],
"fields": ["identity.front_file_id", "identity.number", "identity.type"]
},
{
"key": "billing_address", "required": true, "reasons": ["required_fields"],
"fields": ["billing_address.city", "billing_address.country", "billing_address.line1", "billing_address.postcode", "billing_address.state"]
},
{ "key": "delivery_address", "required": false, "reasons": [], "fields": [] }
]
}
}上面的字段树与发卡方规则仅为示例 —— 其他卡头可能根本不要求账单地址;请以您的卡头实际返回值为准。
典型错误
| HTTP | code | error_key | 说明 |
|---|---|---|---|
| 200 | 40001 | validation_failed | 请求体无法解析 |
| 200 | 40000 | openapi_invalid_header_id | header_id 缺失或格式不正确 |
| 200 | 40000 | openapi_invalid_cardholder_id | cardholder_id 格式不正确 |
| 404 | 40400 | cardholder_header_not_found | 卡头不存在 |
| 404 | 40400 | cardholder_not_found | cardholder_id 不是您账号下的持卡人 |
| 200 | 50000 | cardholder_service_not_configured | 持卡人服务未开通 —— 请联系我们 |
| 401 | 40100 | openapi_invalid_credentials | 鉴权失败 |
| 429 | 42900 | too_many_requests | 触发限流,按 Retry-After 重试 |
| 200 | 50000 | openapi_cardholder_failed | 服务端异常 |
注意事项
- 这些要求描述的是审核需要什么。某位持卡人是否满足,由
/cardholder/check逐卡头给出 —— 请以它为准。 - 在某卡类型审核通过的持卡人,可用于该类型下所有其已提交资料能覆盖要求的卡头;需要更多资料的卡头在预检时返回
review_status=COVERAGE_INSUFFICIENT。 - v1.6.8 起平台不附加任何自有要求:原有的
holder_rules、required_when_provided、billing_address_random_available与sections[].back_file_required_id_types已移除,平台的居住地限制名单也一并移除。字符集、最短长度、年龄、是否需要证件信息 / 地址以及国家 / 居住国限制,全部来自rules(如field_constraints、holder_age、country_lists.blocked_residence_countries),以及发卡方在预检 / 提交审核 / 开卡时报出的问题。 - 卡头要求来自发卡方的「查询卡头要求」:平台定期更新全部卡头,并在调用本接口时对已超过 10 分钟的卡头实时更新(
synced_at为最近一次更新时间)。请在登记 / 编辑页面打开时重新获取,不要长期缓存。