# dcb.requestForeignerAuthentication
发起境外人员认证。
# 参数
属性 | 类型 | 默认值 | 必填 | 说明 | 最低版本 |
---|---|---|---|---|---|
nation | string | 是 | 国籍编码,港澳台人员使用
| ||
idType |
| 是 | 证件类型。
| ||
idNumber | string | 是 | 证件号。 | ||
name | string | 是 | 姓名。 |
# 返回值
属性 | 类型 | 说明 | 最低版本 |
---|---|---|---|
photo | string | 认证图片的 base64 字符串。 |
# 示例
const res = await dcb.requestForeignerAuthentication({
nation: 'CHN',
idType: '516',
idNumber: '123456',
name: '发条方',
});
// 结果类似:
// {
// "photo": "xxxx"
// }