tencentcloud-sdk-nodejs-faceid 4.0.618 → 4.0.620
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +487 -0
- package/SERVICE_CHANGELOG.md +478 -156
- package/package.json +1 -1
- package/products.md +30 -30
- package/src/services/faceid/v20180301/faceid_models.ts +366 -692
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +366 -366
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
*/
|
|
21
21
|
export interface DetectInfoVideoData {
|
|
22
22
|
/**
|
|
23
|
-
|
|
23
|
+
* 活体视频的base64编码
|
|
24
24
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
25
|
-
|
|
25
|
+
*/
|
|
26
26
|
LivenessVideo: string
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -34,39 +34,32 @@ export interface GetDetectInfoEnhancedRequest {
|
|
|
34
34
|
* 人脸核身流程的标识,调用DetectAuth接口时生成。
|
|
35
35
|
*/
|
|
36
36
|
BizToken: string
|
|
37
|
-
|
|
38
37
|
/**
|
|
39
38
|
* 用于细分客户使用场景,由腾讯侧在线下对接时分配。
|
|
40
39
|
*/
|
|
41
40
|
RuleId: string
|
|
42
|
-
|
|
43
41
|
/**
|
|
44
|
-
|
|
42
|
+
* 指定拉取的结果信息,取值(0:全部;1:文本类;2:身份证信息;3:视频最佳截图信息)。
|
|
45
43
|
如 13表示拉取文本类、视频最佳截图信息。
|
|
46
44
|
默认值:0
|
|
47
|
-
|
|
45
|
+
*/
|
|
48
46
|
InfoType?: string
|
|
49
|
-
|
|
50
47
|
/**
|
|
51
48
|
* 从活体视频中截取一定张数的最佳帧(仅部分服务支持,若需使用请与慧眼小助手沟通)。默认为0,最大为10,超出10的最多只给10张。(InfoType需要包含3)
|
|
52
49
|
*/
|
|
53
50
|
BestFramesCount?: number
|
|
54
|
-
|
|
55
51
|
/**
|
|
56
52
|
* 是否对身份证照片进行裁边。默认为false。(InfoType需要包含2)
|
|
57
53
|
*/
|
|
58
54
|
IsCutIdCardImage?: boolean
|
|
59
|
-
|
|
60
55
|
/**
|
|
61
56
|
* 是否需要从身份证中抠出头像。默认为false。(InfoType需要包含2)
|
|
62
57
|
*/
|
|
63
58
|
IsNeedIdCardAvatar?: boolean
|
|
64
|
-
|
|
65
59
|
/**
|
|
66
60
|
* 已弃用。
|
|
67
61
|
*/
|
|
68
62
|
IsEncrypt?: boolean
|
|
69
|
-
|
|
70
63
|
/**
|
|
71
64
|
* 是否需要对返回中的敏感信息进行加密。仅指定加密算法Algorithm即可,其余字段传入默认值。其中敏感信息包括:Response.Text.IdCard、Response.Text.Name、Response.Text.OcrIdCard、Response.Text.OcrName
|
|
72
65
|
*/
|
|
@@ -81,39 +74,32 @@ export interface GetFaceIdTokenRequest {
|
|
|
81
74
|
* 本地上传照片(LOCAL)、商业库(BUSINESS)
|
|
82
75
|
*/
|
|
83
76
|
CompareLib: string
|
|
84
|
-
|
|
85
77
|
/**
|
|
86
78
|
* CompareLib为商业库时必传。
|
|
87
79
|
*/
|
|
88
80
|
IdCard?: string
|
|
89
|
-
|
|
90
81
|
/**
|
|
91
82
|
* CompareLib为商业库时必传。
|
|
92
83
|
*/
|
|
93
84
|
Name?: string
|
|
94
|
-
|
|
95
85
|
/**
|
|
96
|
-
|
|
86
|
+
* CompareLib为上传照片比对时必传,Base64后图片最大8MB。
|
|
97
87
|
请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
|
|
98
|
-
|
|
88
|
+
*/
|
|
99
89
|
ImageBase64?: string
|
|
100
|
-
|
|
101
90
|
/**
|
|
102
91
|
* SDK中生成的Meta字符串
|
|
103
92
|
*/
|
|
104
93
|
Meta?: string
|
|
105
|
-
|
|
106
94
|
/**
|
|
107
95
|
* 透传参数 1000长度字符串
|
|
108
96
|
*/
|
|
109
97
|
Extra?: string
|
|
110
|
-
|
|
111
98
|
/**
|
|
112
|
-
|
|
99
|
+
* 默认为false,设置该参数为true后,核身过程中的视频图片将会存储在人脸核身控制台授权cos的bucket中,拉取结果时会返回对应资源完整cos地址。开通地址见https://console.cloud.tencent.com/faceid/cos
|
|
113
100
|
【注意】选择该参数为true后将不返回base64数据,请根据接入情况谨慎修改。
|
|
114
|
-
|
|
101
|
+
*/
|
|
115
102
|
UseCos?: boolean
|
|
116
|
-
|
|
117
103
|
/**
|
|
118
104
|
* 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
119
105
|
*/
|
|
@@ -125,30 +111,27 @@ export interface GetFaceIdTokenRequest {
|
|
|
125
111
|
*/
|
|
126
112
|
export interface LivenessRequest {
|
|
127
113
|
/**
|
|
128
|
-
|
|
114
|
+
* 用于活体检测的视频,视频的BASE64值;
|
|
129
115
|
BASE64编码后的大小不超过8M,支持mp4、avi、flv格式。
|
|
130
|
-
|
|
116
|
+
*/
|
|
131
117
|
VideoBase64: string
|
|
132
|
-
|
|
133
118
|
/**
|
|
134
|
-
|
|
119
|
+
* 活体检测类型,取值:LIP/ACTION/SILENT。
|
|
135
120
|
LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模式选择一种传入。
|
|
136
|
-
|
|
121
|
+
*/
|
|
137
122
|
LivenessType: string
|
|
138
|
-
|
|
139
123
|
/**
|
|
140
|
-
|
|
124
|
+
* 数字模式传参:数字验证码(1234),需先调用接口获取数字验证码;
|
|
141
125
|
动作模式传参:传动作顺序(2,1 or 1,2),需先调用接口获取动作顺序;
|
|
142
126
|
静默模式传参:不需要传递此参数。
|
|
143
|
-
|
|
127
|
+
*/
|
|
144
128
|
ValidateData?: string
|
|
145
|
-
|
|
146
129
|
/**
|
|
147
|
-
|
|
130
|
+
* 额外配置,传入JSON字符串。
|
|
148
131
|
{
|
|
149
132
|
"BestFrameNum": 2 //需要返回多张最佳截图,取值范围1-10
|
|
150
133
|
}
|
|
151
|
-
|
|
134
|
+
*/
|
|
152
135
|
Optional?: string
|
|
153
136
|
}
|
|
154
137
|
|
|
@@ -170,22 +153,18 @@ export interface Encryption {
|
|
|
170
153
|
* 在使用加密服务时,填入要被加密的字段。本接口中可填入加密后的一个或多个字段
|
|
171
154
|
*/
|
|
172
155
|
EncryptList: Array<string>
|
|
173
|
-
|
|
174
156
|
/**
|
|
175
157
|
* 有加密需求的用户,接入传入kms的CiphertextBlob,关于数据加密可查阅<a href="https://cloud.tencent.com/document/product/1007/47180">数据加密</a> 文档。
|
|
176
158
|
*/
|
|
177
159
|
CiphertextBlob: string
|
|
178
|
-
|
|
179
160
|
/**
|
|
180
161
|
* 有加密需求的用户,传入CBC加密的初始向量(客户自定义字符串,长度16字符)。
|
|
181
162
|
*/
|
|
182
163
|
Iv: string
|
|
183
|
-
|
|
184
164
|
/**
|
|
185
165
|
* 加密使用的算法(支持'AES-256-CBC'、'SM4-GCM'),不传默认为'AES-256-CBC'
|
|
186
166
|
*/
|
|
187
167
|
Algorithm?: string
|
|
188
|
-
|
|
189
168
|
/**
|
|
190
169
|
* SM4-GCM算法生成的消息摘要(校验消息完整性时使用)
|
|
191
170
|
*/
|
|
@@ -200,7 +179,6 @@ export interface CheckBankCardInformationRequest {
|
|
|
200
179
|
* 银行卡号。
|
|
201
180
|
*/
|
|
202
181
|
BankCard: string
|
|
203
|
-
|
|
204
182
|
/**
|
|
205
183
|
* 敏感数据加密信息。对传入信息(银行卡号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
206
184
|
*/
|
|
@@ -212,7 +190,7 @@ export interface CheckBankCardInformationRequest {
|
|
|
212
190
|
*/
|
|
213
191
|
export interface MobileNetworkTimeVerificationResponse {
|
|
214
192
|
/**
|
|
215
|
-
|
|
193
|
+
* 认证结果码,收费情况如下。
|
|
216
194
|
收费结果码:
|
|
217
195
|
0: 成功
|
|
218
196
|
-2: 手机号不存在
|
|
@@ -220,20 +198,17 @@ export interface MobileNetworkTimeVerificationResponse {
|
|
|
220
198
|
不收费结果码:
|
|
221
199
|
-1: 手机号格式不正确
|
|
222
200
|
-4: 验证中心服务繁忙
|
|
223
|
-
|
|
201
|
+
*/
|
|
224
202
|
Result: string
|
|
225
|
-
|
|
226
203
|
/**
|
|
227
204
|
* 业务结果描述。
|
|
228
205
|
*/
|
|
229
206
|
Description: string
|
|
230
|
-
|
|
231
207
|
/**
|
|
232
|
-
|
|
208
|
+
* 在网时长区间。
|
|
233
209
|
格式为(a,b],表示在网时长在a个月以上,b个月以下。若b为+时表示没有上限。
|
|
234
|
-
|
|
210
|
+
*/
|
|
235
211
|
Range: string
|
|
236
|
-
|
|
237
212
|
/**
|
|
238
213
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
239
214
|
*/
|
|
@@ -250,7 +225,7 @@ export type GetLiveCodeRequest = null
|
|
|
250
225
|
*/
|
|
251
226
|
export interface CheckIdNameDateResponse {
|
|
252
227
|
/**
|
|
253
|
-
|
|
228
|
+
* 认证结果码,收费情况如下。
|
|
254
229
|
收费结果码:
|
|
255
230
|
0: 一致
|
|
256
231
|
-1: 不一致
|
|
@@ -261,14 +236,12 @@ export interface CheckIdNameDateResponse {
|
|
|
261
236
|
-5: 身份信息无效
|
|
262
237
|
-6: 证件库服务异常
|
|
263
238
|
-7: 证件库中无此身份证记录
|
|
264
|
-
|
|
239
|
+
*/
|
|
265
240
|
Result: string
|
|
266
|
-
|
|
267
241
|
/**
|
|
268
242
|
* 业务结果描述。
|
|
269
243
|
*/
|
|
270
244
|
Description: string
|
|
271
|
-
|
|
272
245
|
/**
|
|
273
246
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
274
247
|
*/
|
|
@@ -283,12 +256,10 @@ export interface IdCardVerificationRequest {
|
|
|
283
256
|
* 身份证号
|
|
284
257
|
*/
|
|
285
258
|
IdCard: string
|
|
286
|
-
|
|
287
259
|
/**
|
|
288
260
|
* 姓名
|
|
289
261
|
*/
|
|
290
262
|
Name: string
|
|
291
|
-
|
|
292
263
|
/**
|
|
293
264
|
* 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
294
265
|
*/
|
|
@@ -303,23 +274,19 @@ export interface BankCardVerificationRequest {
|
|
|
303
274
|
* 开户证件号,与CertType参数的证件类型一致,如:身份证,则传入身份证号。
|
|
304
275
|
*/
|
|
305
276
|
IdCard: string
|
|
306
|
-
|
|
307
277
|
/**
|
|
308
278
|
* 姓名
|
|
309
279
|
*/
|
|
310
280
|
Name: string
|
|
311
|
-
|
|
312
281
|
/**
|
|
313
282
|
* 银行卡
|
|
314
283
|
*/
|
|
315
284
|
BankCard: string
|
|
316
|
-
|
|
317
285
|
/**
|
|
318
|
-
|
|
286
|
+
* 证件类型,请确认该证件为开户时使用的证件类型,未用于开户的证件信息不支持验证。
|
|
319
287
|
目前默认:0 身份证,其他证件类型需求可以添加[腾讯云人脸核身小助手](https://cloud.tencent.com/document/product/1007/56130)进行确认。
|
|
320
|
-
|
|
288
|
+
*/
|
|
321
289
|
CertType?: number
|
|
322
|
-
|
|
323
290
|
/**
|
|
324
291
|
* 敏感数据加密信息。对传入信息(姓名、身份证号、银行卡号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
325
292
|
*/
|
|
@@ -331,31 +298,27 @@ export interface BankCardVerificationRequest {
|
|
|
331
298
|
*/
|
|
332
299
|
export interface CheckBankCardInformationResponse {
|
|
333
300
|
/**
|
|
334
|
-
|
|
301
|
+
* 认证结果码,收费情况如下。
|
|
335
302
|
收费结果码:
|
|
336
303
|
0: 查询成功
|
|
337
304
|
-1: 未查到信息
|
|
338
305
|
不收费结果码:
|
|
339
306
|
-2:验证中心服务繁忙
|
|
340
307
|
-3:银行卡不存在
|
|
341
|
-
|
|
308
|
+
*/
|
|
342
309
|
Result?: string
|
|
343
|
-
|
|
344
310
|
/**
|
|
345
311
|
* 业务结果描述
|
|
346
312
|
*/
|
|
347
313
|
Description?: string
|
|
348
|
-
|
|
349
314
|
/**
|
|
350
315
|
* 开户行
|
|
351
316
|
*/
|
|
352
317
|
AccountBank?: string
|
|
353
|
-
|
|
354
318
|
/**
|
|
355
319
|
* 卡性质:1. 借记卡;2. 贷记卡;3. 预付费卡;4. 准贷记卡
|
|
356
320
|
*/
|
|
357
321
|
AccountType?: number
|
|
358
|
-
|
|
359
322
|
/**
|
|
360
323
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
361
324
|
*/
|
|
@@ -367,15 +330,14 @@ export interface CheckBankCardInformationResponse {
|
|
|
367
330
|
*/
|
|
368
331
|
export interface DetectInfoBestFrame {
|
|
369
332
|
/**
|
|
370
|
-
|
|
333
|
+
* 活体比对最佳帧Base64编码。
|
|
371
334
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
372
|
-
|
|
335
|
+
*/
|
|
373
336
|
BestFrame: string
|
|
374
|
-
|
|
375
337
|
/**
|
|
376
|
-
|
|
338
|
+
* 自截帧Base64编码数组。
|
|
377
339
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
378
|
-
|
|
340
|
+
*/
|
|
379
341
|
BestFrames: Array<string>
|
|
380
342
|
}
|
|
381
343
|
|
|
@@ -387,17 +349,14 @@ export interface WeChatBillDetail {
|
|
|
387
349
|
* token
|
|
388
350
|
*/
|
|
389
351
|
BizToken: string
|
|
390
|
-
|
|
391
352
|
/**
|
|
392
353
|
* 本token收费次数
|
|
393
354
|
*/
|
|
394
355
|
ChargeCount: number
|
|
395
|
-
|
|
396
356
|
/**
|
|
397
357
|
* 本token计费详情
|
|
398
358
|
*/
|
|
399
359
|
ChargeDetails: Array<ChargeDetail>
|
|
400
|
-
|
|
401
360
|
/**
|
|
402
361
|
* 业务RuleId
|
|
403
362
|
*/
|
|
@@ -409,41 +368,35 @@ export interface WeChatBillDetail {
|
|
|
409
368
|
*/
|
|
410
369
|
export interface GetEidTokenConfig {
|
|
411
370
|
/**
|
|
412
|
-
|
|
371
|
+
* 姓名身份证输入方式。
|
|
413
372
|
1:传身份证正反面OCR
|
|
414
373
|
2:传身份证正面OCR
|
|
415
374
|
3:用户手动输入
|
|
416
375
|
4:客户后台传入
|
|
417
376
|
默认1
|
|
418
377
|
注:使用OCR时仅支持用户修改结果中的姓名
|
|
419
|
-
|
|
378
|
+
*/
|
|
420
379
|
InputType?: string
|
|
421
|
-
|
|
422
380
|
/**
|
|
423
381
|
* 是否使用意愿核身,默认不使用。注意:如开启使用,则计费标签按【意愿核身】计费标签计价;如不开启,则计费标签按【E证通】计费标签计价,价格详见:[价格说明](https://cloud.tencent.com/document/product/1007/56804)。
|
|
424
382
|
*/
|
|
425
383
|
UseIntentionVerify?: boolean
|
|
426
|
-
|
|
427
384
|
/**
|
|
428
385
|
* 意愿核身模式。枚举值:1( 朗读模式),2(问答模式) 。默认值1
|
|
429
386
|
*/
|
|
430
387
|
IntentionMode?: string
|
|
431
|
-
|
|
432
388
|
/**
|
|
433
389
|
* 意愿核身朗读模式使用的文案,若未使用意愿核身朗读功能,该字段无需传入。默认为空,最长可接受120的字符串长度。
|
|
434
390
|
*/
|
|
435
391
|
IntentionVerifyText?: string
|
|
436
|
-
|
|
437
392
|
/**
|
|
438
393
|
* 意愿核身问答模式的配置列表。当前仅支持一个问答。
|
|
439
394
|
*/
|
|
440
395
|
IntentionQuestions?: Array<IntentionQuestion>
|
|
441
|
-
|
|
442
396
|
/**
|
|
443
397
|
* 意愿核身过程中识别用户的回答意图,开启后除了IntentionQuestions的Answers列表中的标准回答会通过,近似意图的回答也会通过,默认不开启。
|
|
444
398
|
*/
|
|
445
399
|
IntentionRecognition?: boolean
|
|
446
|
-
|
|
447
400
|
/**
|
|
448
401
|
* 是否支持港澳台居住证识别
|
|
449
402
|
*/
|
|
@@ -458,54 +411,44 @@ export interface CheckIdCardInformationResponse {
|
|
|
458
411
|
* 相似度,取值范围 [0.00, 100.00]。推荐相似度大于等于70时可判断为同一人,可根据具体场景自行调整阈值(阈值70的误通过率为千分之一,阈值80的误通过率是万分之一)
|
|
459
412
|
*/
|
|
460
413
|
Sim: number
|
|
461
|
-
|
|
462
414
|
/**
|
|
463
415
|
* 业务错误码,成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
|
|
464
416
|
*/
|
|
465
417
|
Result: string
|
|
466
|
-
|
|
467
418
|
/**
|
|
468
419
|
* 业务结果描述。
|
|
469
420
|
*/
|
|
470
421
|
Description: string
|
|
471
|
-
|
|
472
422
|
/**
|
|
473
423
|
* 姓名
|
|
474
424
|
*/
|
|
475
425
|
Name: string
|
|
476
|
-
|
|
477
426
|
/**
|
|
478
427
|
* 性别
|
|
479
428
|
*/
|
|
480
429
|
Sex: string
|
|
481
|
-
|
|
482
430
|
/**
|
|
483
431
|
* 民族
|
|
484
432
|
*/
|
|
485
433
|
Nation: string
|
|
486
|
-
|
|
487
434
|
/**
|
|
488
435
|
* 出生日期
|
|
489
436
|
*/
|
|
490
437
|
Birth: string
|
|
491
|
-
|
|
492
438
|
/**
|
|
493
439
|
* 地址
|
|
494
440
|
*/
|
|
495
441
|
Address: string
|
|
496
|
-
|
|
497
442
|
/**
|
|
498
443
|
* 身份证号
|
|
499
444
|
*/
|
|
500
445
|
IdNum: string
|
|
501
|
-
|
|
502
446
|
/**
|
|
503
447
|
* 身份证头像照片的base64编码,如果抠图失败会拿整张身份证做比对并返回空。
|
|
504
448
|
*/
|
|
505
449
|
Portrait: string
|
|
506
|
-
|
|
507
450
|
/**
|
|
508
|
-
|
|
451
|
+
* 告警信息,当在Config中配置了告警信息会停止人像比对,Result返回错误(FailedOperation.OcrWarningOccurred)并有此告警信息,Code 告警码列表和释义:
|
|
509
452
|
|
|
510
453
|
-9101 身份证边框不完整告警,
|
|
511
454
|
-9102 身份证复印件告警,
|
|
@@ -515,20 +458,17 @@ export interface CheckIdCardInformationResponse {
|
|
|
515
458
|
-9106 身份证 PS 告警。
|
|
516
459
|
-8001 图片模糊告警
|
|
517
460
|
多个会 | 隔开如 "-9101|-9106|-9104"
|
|
518
|
-
|
|
461
|
+
*/
|
|
519
462
|
Warnings: string
|
|
520
|
-
|
|
521
463
|
/**
|
|
522
464
|
* 图片质量分数,当请求Config中配置图片模糊告警该参数才有意义,取值范围(0~100),目前默认阈值是50分,低于50分会触发模糊告警。
|
|
523
465
|
*/
|
|
524
466
|
Quality: number
|
|
525
|
-
|
|
526
467
|
/**
|
|
527
|
-
|
|
468
|
+
* 敏感数据加密信息。
|
|
528
469
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
529
|
-
|
|
470
|
+
*/
|
|
530
471
|
Encryption: Encryption
|
|
531
|
-
|
|
532
472
|
/**
|
|
533
473
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
534
474
|
*/
|
|
@@ -540,47 +480,40 @@ export interface CheckIdCardInformationResponse {
|
|
|
540
480
|
*/
|
|
541
481
|
export interface GetDetectInfoEnhancedResponse {
|
|
542
482
|
/**
|
|
543
|
-
|
|
483
|
+
* 文本类信息。
|
|
544
484
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
545
|
-
|
|
485
|
+
*/
|
|
546
486
|
Text: DetectInfoText
|
|
547
|
-
|
|
548
487
|
/**
|
|
549
|
-
|
|
488
|
+
* 身份证照片信息。
|
|
550
489
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
551
|
-
|
|
490
|
+
*/
|
|
552
491
|
IdCardData: DetectInfoIdCardData
|
|
553
|
-
|
|
554
492
|
/**
|
|
555
|
-
|
|
493
|
+
* 最佳帧信息。
|
|
556
494
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
557
|
-
|
|
495
|
+
*/
|
|
558
496
|
BestFrame: DetectInfoBestFrame
|
|
559
|
-
|
|
560
497
|
/**
|
|
561
|
-
|
|
498
|
+
* 视频信息。
|
|
562
499
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
563
|
-
|
|
500
|
+
*/
|
|
564
501
|
VideoData: DetectInfoVideoData
|
|
565
|
-
|
|
566
502
|
/**
|
|
567
|
-
|
|
503
|
+
* 敏感数据加密信息。
|
|
568
504
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
569
|
-
|
|
505
|
+
*/
|
|
570
506
|
Encryption: Encryption
|
|
571
|
-
|
|
572
507
|
/**
|
|
573
|
-
|
|
508
|
+
* 意愿核身相关信息。若未使用意愿核身功能,该字段返回值可以不处理。
|
|
574
509
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
575
|
-
|
|
510
|
+
*/
|
|
576
511
|
IntentionVerifyData: IntentionVerifyData
|
|
577
|
-
|
|
578
512
|
/**
|
|
579
|
-
|
|
513
|
+
* 意愿核身问答模式结果。若未使用该意愿核身功能,该字段返回值可以不处理。
|
|
580
514
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
581
|
-
|
|
515
|
+
*/
|
|
582
516
|
IntentionQuestionResult: IntentionQuestionResult
|
|
583
|
-
|
|
584
517
|
/**
|
|
585
518
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
586
519
|
*/
|
|
@@ -595,27 +528,22 @@ export interface PhoneVerificationRequest {
|
|
|
595
528
|
* 身份证号
|
|
596
529
|
*/
|
|
597
530
|
IdCard: string
|
|
598
|
-
|
|
599
531
|
/**
|
|
600
532
|
* 姓名
|
|
601
533
|
*/
|
|
602
534
|
Name: string
|
|
603
|
-
|
|
604
535
|
/**
|
|
605
536
|
* 手机号
|
|
606
537
|
*/
|
|
607
538
|
Phone: string
|
|
608
|
-
|
|
609
539
|
/**
|
|
610
540
|
* 有加密需求的用户,传入kms的CiphertextBlob,关于数据加密可查阅 <a href="https://cloud.tencent.com/document/product/1007/47180">数据加密</a> 文档。
|
|
611
541
|
*/
|
|
612
542
|
CiphertextBlob?: string
|
|
613
|
-
|
|
614
543
|
/**
|
|
615
544
|
* 在使用加密服务时,填入要被加密的字段。本接口中可填入加密后的IdCard,Name,Phone中的一个或多个。
|
|
616
545
|
*/
|
|
617
546
|
EncryptList?: Array<string>
|
|
618
|
-
|
|
619
547
|
/**
|
|
620
548
|
* 有加密需求的用户,传入CBC加密的初始向量。
|
|
621
549
|
*/
|
|
@@ -630,17 +558,14 @@ export interface PhoneVerificationCMCCRequest {
|
|
|
630
558
|
* 身份证号
|
|
631
559
|
*/
|
|
632
560
|
IdCard: string
|
|
633
|
-
|
|
634
561
|
/**
|
|
635
562
|
* 姓名
|
|
636
563
|
*/
|
|
637
564
|
Name: string
|
|
638
|
-
|
|
639
565
|
/**
|
|
640
566
|
* 手机号
|
|
641
567
|
*/
|
|
642
568
|
Phone: string
|
|
643
|
-
|
|
644
569
|
/**
|
|
645
570
|
* 敏感数据加密信息。对传入信息(姓名、身份证号、手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
646
571
|
*/
|
|
@@ -655,14 +580,12 @@ export interface GetEidResultRequest {
|
|
|
655
580
|
* E证通流程的唯一标识,调用GetEidToken接口时生成。
|
|
656
581
|
*/
|
|
657
582
|
EidToken: string
|
|
658
|
-
|
|
659
583
|
/**
|
|
660
|
-
|
|
584
|
+
* 指定拉取的结果信息,取值(0:全部;1:文本类;2:身份证信息;3:最佳截图信息;5:意愿核身朗读模式相关结果;6:意愿核身问答模式相关结果)。
|
|
661
585
|
如 13表示拉取文本类、最佳截图信息。
|
|
662
586
|
默认值:0
|
|
663
|
-
|
|
587
|
+
*/
|
|
664
588
|
InfoType?: string
|
|
665
|
-
|
|
666
589
|
/**
|
|
667
590
|
* 从活体视频中截取一定张数的最佳帧。默认为0,最大为3,超出3的最多只给3张。(InfoType需要包含3)
|
|
668
591
|
*/
|
|
@@ -677,13 +600,11 @@ export interface DetectAuthResponse {
|
|
|
677
600
|
* 用于发起核身流程的URL,仅微信H5场景使用。
|
|
678
601
|
*/
|
|
679
602
|
Url: string
|
|
680
|
-
|
|
681
603
|
/**
|
|
682
|
-
|
|
604
|
+
* 一次核身流程的标识,有效时间为7,200秒;
|
|
683
605
|
完成核身后,可用该标识获取验证结果信息。
|
|
684
|
-
|
|
606
|
+
*/
|
|
685
607
|
BizToken: string
|
|
686
|
-
|
|
687
608
|
/**
|
|
688
609
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
689
610
|
*/
|
|
@@ -695,7 +616,7 @@ export interface DetectAuthResponse {
|
|
|
695
616
|
*/
|
|
696
617
|
export interface PhoneVerificationResponse {
|
|
697
618
|
/**
|
|
698
|
-
|
|
619
|
+
* 认证结果码:
|
|
699
620
|
收费结果码
|
|
700
621
|
0: 三要素信息一致
|
|
701
622
|
-4: 三要素信息不一致
|
|
@@ -705,20 +626,17 @@ export interface PhoneVerificationResponse {
|
|
|
705
626
|
-8: 姓名校验不通过
|
|
706
627
|
-9: 没有记录
|
|
707
628
|
-11: 验证中心服务繁忙
|
|
708
|
-
|
|
629
|
+
*/
|
|
709
630
|
Result: string
|
|
710
|
-
|
|
711
631
|
/**
|
|
712
632
|
* 业务结果描述。
|
|
713
633
|
*/
|
|
714
634
|
Description: string
|
|
715
|
-
|
|
716
635
|
/**
|
|
717
|
-
|
|
636
|
+
* 运营商名称。
|
|
718
637
|
取值范围为["","移动","电信","联通"]
|
|
719
|
-
|
|
638
|
+
*/
|
|
720
639
|
Isp: string
|
|
721
|
-
|
|
722
640
|
/**
|
|
723
641
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
724
642
|
*/
|
|
@@ -733,33 +651,27 @@ export interface GetEidTokenRequest {
|
|
|
733
651
|
* EID商户id,字段长度最长50位。
|
|
734
652
|
*/
|
|
735
653
|
MerchantId: string
|
|
736
|
-
|
|
737
654
|
/**
|
|
738
|
-
|
|
655
|
+
* 身份标识(未使用OCR服务时,必须传入)。
|
|
739
656
|
规则:a-zA-Z0-9组合。最长长度32位。
|
|
740
|
-
|
|
657
|
+
*/
|
|
741
658
|
IdCard?: string
|
|
742
|
-
|
|
743
659
|
/**
|
|
744
660
|
* 姓名。(未使用OCR服务时,必须传入)最长长度32位。中文请使用UTF-8编码。
|
|
745
661
|
*/
|
|
746
662
|
Name?: string
|
|
747
|
-
|
|
748
663
|
/**
|
|
749
664
|
* 透传字段,在获取验证结果时返回。最长长度1024位。
|
|
750
665
|
*/
|
|
751
666
|
Extra?: string
|
|
752
|
-
|
|
753
667
|
/**
|
|
754
668
|
* 小程序模式配置,包括如何传入姓名身份证的配置,以及是否使用意愿核身。
|
|
755
669
|
*/
|
|
756
670
|
Config?: GetEidTokenConfig
|
|
757
|
-
|
|
758
671
|
/**
|
|
759
672
|
* 最长长度1024位。用户从Url中进入核身认证结束后重定向的回调链接地址。EidToken会在该链接的query参数中。
|
|
760
673
|
*/
|
|
761
674
|
RedirectUrl?: string
|
|
762
|
-
|
|
763
675
|
/**
|
|
764
676
|
* 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
765
677
|
*/
|
|
@@ -771,7 +683,7 @@ export interface GetEidTokenRequest {
|
|
|
771
683
|
*/
|
|
772
684
|
export interface IntentionQuestionResult {
|
|
773
685
|
/**
|
|
774
|
-
|
|
686
|
+
* 意愿核身错误码:
|
|
775
687
|
0: "成功"
|
|
776
688
|
-1: "参数错误"
|
|
777
689
|
-2: "系统异常"
|
|
@@ -792,51 +704,44 @@ export interface IntentionQuestionResult {
|
|
|
792
704
|
-998: "系统数据异常"
|
|
793
705
|
-999: "系统未知错误,请联系人工核实"
|
|
794
706
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
795
|
-
|
|
707
|
+
*/
|
|
796
708
|
FinalResultDetailCode?: number
|
|
797
|
-
|
|
798
709
|
/**
|
|
799
|
-
|
|
710
|
+
* 意愿核身错误信息
|
|
800
711
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
801
|
-
|
|
712
|
+
*/
|
|
802
713
|
FinalResultMessage?: string
|
|
803
|
-
|
|
804
714
|
/**
|
|
805
|
-
|
|
715
|
+
* 视频base64(其中包含全程问题和回答音频,mp4格式)
|
|
806
716
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
807
|
-
|
|
717
|
+
*/
|
|
808
718
|
Video: string
|
|
809
|
-
|
|
810
719
|
/**
|
|
811
|
-
|
|
720
|
+
* 屏幕截图base64列表
|
|
812
721
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
813
|
-
|
|
722
|
+
*/
|
|
814
723
|
ScreenShot: Array<string>
|
|
815
|
-
|
|
816
724
|
/**
|
|
817
|
-
|
|
725
|
+
* 和答案匹配结果列表
|
|
818
726
|
0:成功,-1:不匹配
|
|
819
727
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
820
|
-
|
|
728
|
+
*/
|
|
821
729
|
ResultCode: Array<string>
|
|
822
|
-
|
|
823
730
|
/**
|
|
824
|
-
|
|
731
|
+
* 回答问题语音识别结果列表
|
|
825
732
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
826
|
-
|
|
733
|
+
*/
|
|
827
734
|
AsrResult: Array<string>
|
|
828
|
-
|
|
829
735
|
/**
|
|
830
|
-
|
|
736
|
+
* 答案录音音频
|
|
831
737
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
832
|
-
|
|
738
|
+
*/
|
|
833
739
|
Audios: Array<string>
|
|
834
|
-
|
|
835
740
|
/**
|
|
836
|
-
|
|
741
|
+
* 意愿核身最终结果:
|
|
837
742
|
0:认证通过,-1:认证未通过,-2:浏览器内核不兼容,无法进行意愿校验。建议使用“FinalResultDetailCode”参数获取详细的错误码信息。
|
|
838
743
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
839
|
-
|
|
744
|
+
*/
|
|
840
745
|
FinalResultCode: string
|
|
841
746
|
}
|
|
842
747
|
|
|
@@ -848,17 +753,14 @@ export interface GetWeChatBillDetailsResponse {
|
|
|
848
753
|
* 是否还有下一页。该字段为true时,需要将NextCursor的值作为入参Cursor继续调用本接口。
|
|
849
754
|
*/
|
|
850
755
|
HasNextPage: boolean
|
|
851
|
-
|
|
852
756
|
/**
|
|
853
757
|
* 下一页的游标。用于分页。
|
|
854
758
|
*/
|
|
855
759
|
NextCursor: number
|
|
856
|
-
|
|
857
760
|
/**
|
|
858
761
|
* 数据
|
|
859
762
|
*/
|
|
860
763
|
WeChatBillDetails: Array<WeChatBillDetail>
|
|
861
|
-
|
|
862
764
|
/**
|
|
863
765
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
864
766
|
*/
|
|
@@ -870,7 +772,7 @@ export interface GetWeChatBillDetailsResponse {
|
|
|
870
772
|
*/
|
|
871
773
|
export interface CheckPhoneAndNameResponse {
|
|
872
774
|
/**
|
|
873
|
-
|
|
775
|
+
* 认证结果码,收费情况如下。
|
|
874
776
|
收费结果码:
|
|
875
777
|
0: 验证结果一致
|
|
876
778
|
1: 验证结果不一致
|
|
@@ -878,14 +780,12 @@ export interface CheckPhoneAndNameResponse {
|
|
|
878
780
|
-1:查无记录
|
|
879
781
|
-2:引擎未知错误
|
|
880
782
|
-3:引擎服务异常
|
|
881
|
-
|
|
783
|
+
*/
|
|
882
784
|
Result: string
|
|
883
|
-
|
|
884
785
|
/**
|
|
885
786
|
* 业务结果描述
|
|
886
787
|
*/
|
|
887
788
|
Description: string
|
|
888
|
-
|
|
889
789
|
/**
|
|
890
790
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
891
791
|
*/
|
|
@@ -897,7 +797,7 @@ export interface CheckPhoneAndNameResponse {
|
|
|
897
797
|
*/
|
|
898
798
|
export interface BankCard4EVerificationResponse {
|
|
899
799
|
/**
|
|
900
|
-
|
|
800
|
+
* 认证结果码
|
|
901
801
|
收费结果码:
|
|
902
802
|
'0': '认证通过'
|
|
903
803
|
'-1': '认证未通过'
|
|
@@ -919,14 +819,12 @@ export interface BankCard4EVerificationResponse {
|
|
|
919
819
|
'-4': '银行卡号码有误'
|
|
920
820
|
'-5': '手机号码不合法'
|
|
921
821
|
'-18': '验证中心服务繁忙'
|
|
922
|
-
|
|
822
|
+
*/
|
|
923
823
|
Result: string
|
|
924
|
-
|
|
925
824
|
/**
|
|
926
825
|
* 业务结果描述。
|
|
927
826
|
*/
|
|
928
827
|
Description: string
|
|
929
|
-
|
|
930
828
|
/**
|
|
931
829
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
932
830
|
*/
|
|
@@ -941,7 +839,6 @@ export interface MobileStatusRequest {
|
|
|
941
839
|
* 手机号码
|
|
942
840
|
*/
|
|
943
841
|
Mobile: string
|
|
944
|
-
|
|
945
842
|
/**
|
|
946
843
|
* 敏感数据加密信息。对传入信息(手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
947
844
|
*/
|
|
@@ -953,32 +850,28 @@ export interface MobileStatusRequest {
|
|
|
953
850
|
*/
|
|
954
851
|
export interface IdCardOCRVerificationRequest {
|
|
955
852
|
/**
|
|
956
|
-
|
|
853
|
+
* 身份证号
|
|
957
854
|
姓名和身份证号、ImageBase64、ImageUrl三者必须提供其中之一。若都提供了,则按照姓名和身份证号>ImageBase64>ImageUrl的优先级使用参数。
|
|
958
|
-
|
|
855
|
+
*/
|
|
959
856
|
IdCard?: string
|
|
960
|
-
|
|
961
857
|
/**
|
|
962
858
|
* 姓名
|
|
963
859
|
*/
|
|
964
860
|
Name?: string
|
|
965
|
-
|
|
966
861
|
/**
|
|
967
|
-
|
|
862
|
+
* 身份证人像面的 Base64 值
|
|
968
863
|
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
969
864
|
支持的图片大小:所下载图片经Base64编码后不超过 3M。请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
|
|
970
|
-
|
|
865
|
+
*/
|
|
971
866
|
ImageBase64?: string
|
|
972
|
-
|
|
973
867
|
/**
|
|
974
|
-
|
|
868
|
+
* 身份证人像面的 Url 地址
|
|
975
869
|
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
976
870
|
支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
|
|
977
871
|
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
978
872
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
979
|
-
|
|
873
|
+
*/
|
|
980
874
|
ImageUrl?: string
|
|
981
|
-
|
|
982
875
|
/**
|
|
983
876
|
* 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
984
877
|
*/
|
|
@@ -990,32 +883,27 @@ export interface IdCardOCRVerificationRequest {
|
|
|
990
883
|
*/
|
|
991
884
|
export interface LivenessRecognitionResponse {
|
|
992
885
|
/**
|
|
993
|
-
|
|
886
|
+
* 验证通过后的视频最佳截图照片,照片为BASE64编码后的值,jpg格式。
|
|
994
887
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
995
|
-
|
|
888
|
+
*/
|
|
996
889
|
BestFrameBase64: string
|
|
997
|
-
|
|
998
890
|
/**
|
|
999
891
|
* 相似度,取值范围 [0.00, 100.00]。推荐相似度大于等于70时可判断为同一人,可根据具体场景自行调整阈值(阈值70的误通过率为千分之一,阈值80的误通过率是万分之一)
|
|
1000
892
|
*/
|
|
1001
893
|
Sim: number
|
|
1002
|
-
|
|
1003
894
|
/**
|
|
1004
895
|
* 业务错误码,成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
|
|
1005
896
|
*/
|
|
1006
897
|
Result: string
|
|
1007
|
-
|
|
1008
898
|
/**
|
|
1009
899
|
* 业务结果描述。
|
|
1010
900
|
*/
|
|
1011
901
|
Description: string
|
|
1012
|
-
|
|
1013
902
|
/**
|
|
1014
|
-
|
|
903
|
+
* 最佳截图列表,仅在配置了返回多张最佳截图时返回。
|
|
1015
904
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1016
|
-
|
|
905
|
+
*/
|
|
1017
906
|
BestFrameList: Array<string>
|
|
1018
|
-
|
|
1019
907
|
/**
|
|
1020
908
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1021
909
|
*/
|
|
@@ -1027,127 +915,107 @@ export interface LivenessRecognitionResponse {
|
|
|
1027
915
|
*/
|
|
1028
916
|
export interface ParseNfcDataResponse {
|
|
1029
917
|
/**
|
|
1030
|
-
|
|
918
|
+
* 0为首次查询成功,-1为查询失败。
|
|
1031
919
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1032
|
-
|
|
920
|
+
*/
|
|
1033
921
|
ResultCode: string
|
|
1034
|
-
|
|
1035
922
|
/**
|
|
1036
|
-
|
|
923
|
+
* 身份证号
|
|
1037
924
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1038
|
-
|
|
925
|
+
*/
|
|
1039
926
|
IdNum: string
|
|
1040
|
-
|
|
1041
927
|
/**
|
|
1042
|
-
|
|
928
|
+
* 姓名
|
|
1043
929
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1044
|
-
|
|
930
|
+
*/
|
|
1045
931
|
Name: string
|
|
1046
|
-
|
|
1047
932
|
/**
|
|
1048
|
-
|
|
933
|
+
* 照片
|
|
1049
934
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1050
|
-
|
|
935
|
+
*/
|
|
1051
936
|
Picture: string
|
|
1052
|
-
|
|
1053
937
|
/**
|
|
1054
|
-
|
|
938
|
+
* 出生日期
|
|
1055
939
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1056
|
-
|
|
940
|
+
*/
|
|
1057
941
|
BirthDate: string
|
|
1058
|
-
|
|
1059
942
|
/**
|
|
1060
|
-
|
|
943
|
+
* 有效期起始时间
|
|
1061
944
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1062
|
-
|
|
945
|
+
*/
|
|
1063
946
|
BeginTime: string
|
|
1064
|
-
|
|
1065
947
|
/**
|
|
1066
|
-
|
|
948
|
+
* 有效期结束时间
|
|
1067
949
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1068
|
-
|
|
950
|
+
*/
|
|
1069
951
|
EndTime: string
|
|
1070
|
-
|
|
1071
952
|
/**
|
|
1072
|
-
|
|
953
|
+
* 住址
|
|
1073
954
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1074
|
-
|
|
955
|
+
*/
|
|
1075
956
|
Address: string
|
|
1076
|
-
|
|
1077
957
|
/**
|
|
1078
|
-
|
|
958
|
+
* 民族
|
|
1079
959
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1080
|
-
|
|
960
|
+
*/
|
|
1081
961
|
Nation: string
|
|
1082
|
-
|
|
1083
962
|
/**
|
|
1084
|
-
|
|
963
|
+
* 性别
|
|
1085
964
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1086
|
-
|
|
965
|
+
*/
|
|
1087
966
|
Sex: string
|
|
1088
|
-
|
|
1089
967
|
/**
|
|
1090
|
-
|
|
968
|
+
* 身份证 01 中国护照 03 军官证 04 武警证 05 港澳通行证 06 台胞证 07 外国护照 08 士兵证 09 临时身份证 10 户口本 11 警官证 12 外国人永久居留证 13 港澳台居民居住证 14 回乡证 15 大陆居民来往台湾通行证 16 其他证件 99
|
|
1091
969
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1092
|
-
|
|
970
|
+
*/
|
|
1093
971
|
IdType: string
|
|
1094
|
-
|
|
1095
972
|
/**
|
|
1096
|
-
|
|
973
|
+
* 英文姓名
|
|
1097
974
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1098
|
-
|
|
975
|
+
*/
|
|
1099
976
|
EnName: string
|
|
1100
|
-
|
|
1101
977
|
/**
|
|
1102
|
-
|
|
978
|
+
* 签发机关
|
|
1103
979
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1104
|
-
|
|
980
|
+
*/
|
|
1105
981
|
SigningOrganization: string
|
|
1106
|
-
|
|
1107
982
|
/**
|
|
1108
|
-
|
|
983
|
+
* 港澳台居民居住证,通行证号码
|
|
1109
984
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1110
|
-
|
|
985
|
+
*/
|
|
1111
986
|
OtherIdNum: string
|
|
1112
|
-
|
|
1113
987
|
/**
|
|
1114
|
-
|
|
988
|
+
* 旅行证件国籍
|
|
1115
989
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1116
|
-
|
|
990
|
+
*/
|
|
1117
991
|
Nationality: string
|
|
1118
|
-
|
|
1119
992
|
/**
|
|
1120
|
-
|
|
993
|
+
* 旅行证件机读区第二行 29~42 位
|
|
1121
994
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1122
|
-
|
|
995
|
+
*/
|
|
1123
996
|
PersonalNumber: string
|
|
1124
|
-
|
|
1125
997
|
/**
|
|
1126
|
-
|
|
998
|
+
* 旅行证件类的核验结果。JSON格式如下:
|
|
1127
999
|
{"result_issuer ":"签发者证书合法性验证结果 ","result_pape r":"证件安全对象合法性验证 结果 ","result_data" :"防数据篡改验证结果 ","result_chip" :"防证书件芯片被复制验证结果"}
|
|
1128
1000
|
0:验证通过,1: 验证不通过,2: 未验证,3:部分通过,当4项核验结果都为0时,表示证件为真
|
|
1129
1001
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1130
|
-
|
|
1002
|
+
*/
|
|
1131
1003
|
CheckMRTD: string
|
|
1132
|
-
|
|
1133
1004
|
/**
|
|
1134
|
-
|
|
1005
|
+
* 身份证照片面合成图片
|
|
1135
1006
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1136
|
-
|
|
1007
|
+
*/
|
|
1137
1008
|
ImageA: string
|
|
1138
|
-
|
|
1139
1009
|
/**
|
|
1140
|
-
|
|
1010
|
+
* 身份证国徽面合成图片
|
|
1141
1011
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1142
|
-
|
|
1012
|
+
*/
|
|
1143
1013
|
ImageB: string
|
|
1144
|
-
|
|
1145
1014
|
/**
|
|
1146
|
-
|
|
1015
|
+
* 对result code的结果描述
|
|
1147
1016
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1148
|
-
|
|
1017
|
+
*/
|
|
1149
1018
|
ResultDescription: string
|
|
1150
|
-
|
|
1151
1019
|
/**
|
|
1152
1020
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1153
1021
|
*/
|
|
@@ -1162,22 +1030,18 @@ export interface CheckIdNameDateRequest {
|
|
|
1162
1030
|
* 姓名
|
|
1163
1031
|
*/
|
|
1164
1032
|
Name: string
|
|
1165
|
-
|
|
1166
1033
|
/**
|
|
1167
1034
|
* 身份证号
|
|
1168
1035
|
*/
|
|
1169
1036
|
IdCard: string
|
|
1170
|
-
|
|
1171
1037
|
/**
|
|
1172
1038
|
* 身份证有效期开始时间,格式:YYYYMMDD。如:20210701
|
|
1173
1039
|
*/
|
|
1174
1040
|
ValidityBegin: string
|
|
1175
|
-
|
|
1176
1041
|
/**
|
|
1177
1042
|
* 身份证有效期到期时间,格式:YYYYMMDD,长期用“00000000”代替;如:20210701
|
|
1178
1043
|
*/
|
|
1179
1044
|
ValidityEnd: string
|
|
1180
|
-
|
|
1181
1045
|
/**
|
|
1182
1046
|
* 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
1183
1047
|
*/
|
|
@@ -1192,12 +1056,10 @@ export interface BankCard2EVerificationRequest {
|
|
|
1192
1056
|
* 姓名
|
|
1193
1057
|
*/
|
|
1194
1058
|
Name: string
|
|
1195
|
-
|
|
1196
1059
|
/**
|
|
1197
1060
|
* 银行卡
|
|
1198
1061
|
*/
|
|
1199
1062
|
BankCard: string
|
|
1200
|
-
|
|
1201
1063
|
/**
|
|
1202
1064
|
* 敏感数据加密信息。对传入信息(姓名、银行卡号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
1203
1065
|
*/
|
|
@@ -1212,48 +1074,41 @@ export interface LivenessRecognitionRequest {
|
|
|
1212
1074
|
* 身份证号
|
|
1213
1075
|
*/
|
|
1214
1076
|
IdCard: string
|
|
1215
|
-
|
|
1216
1077
|
/**
|
|
1217
1078
|
* 姓名。中文请使用UTF-8编码。
|
|
1218
1079
|
*/
|
|
1219
1080
|
Name: string
|
|
1220
|
-
|
|
1221
1081
|
/**
|
|
1222
|
-
|
|
1082
|
+
* 活体检测类型,取值:LIP/ACTION/SILENT。
|
|
1223
1083
|
LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模式选择一种传入。
|
|
1224
|
-
|
|
1084
|
+
*/
|
|
1225
1085
|
LivenessType: string
|
|
1226
|
-
|
|
1227
1086
|
/**
|
|
1228
|
-
|
|
1087
|
+
* 用于活体检测的视频,视频的BASE64值;
|
|
1229
1088
|
BASE64编码后的大小不超过8M,支持mp4、avi、flv格式。
|
|
1230
|
-
|
|
1089
|
+
*/
|
|
1231
1090
|
VideoBase64?: string
|
|
1232
|
-
|
|
1233
1091
|
/**
|
|
1234
|
-
|
|
1092
|
+
* 用于活体检测的视频Url 地址。视频下载后经Base64编码不超过 8M,视频下载耗时不超过4S,支持mp4、avi、flv格式。
|
|
1235
1093
|
|
|
1236
1094
|
视频的 VideoUrl、VideoBase64 必须提供一个,如果都提供,只使用 VideoBase64。
|
|
1237
1095
|
|
|
1238
1096
|
建议视频存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议视频存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
1239
|
-
|
|
1097
|
+
*/
|
|
1240
1098
|
VideoUrl?: string
|
|
1241
|
-
|
|
1242
1099
|
/**
|
|
1243
|
-
|
|
1100
|
+
* 数字模式传参:传数字验证码,验证码需先调用<a href="https://cloud.tencent.com/document/product/1007/31821">获取数字验证码接口</a>得到;
|
|
1244
1101
|
动作模式传参:传动作顺序,动作顺序需先调用<a href="https://cloud.tencent.com/document/product/1007/31822">获取动作顺序接口</a>得到;
|
|
1245
1102
|
静默模式传参:空。
|
|
1246
|
-
|
|
1103
|
+
*/
|
|
1247
1104
|
ValidateData?: string
|
|
1248
|
-
|
|
1249
1105
|
/**
|
|
1250
|
-
|
|
1106
|
+
* 额外配置,传入JSON字符串。
|
|
1251
1107
|
{
|
|
1252
1108
|
"BestFrameNum": 2 //需要返回多张最佳截图,取值范围2-10
|
|
1253
1109
|
}
|
|
1254
|
-
|
|
1110
|
+
*/
|
|
1255
1111
|
Optional?: string
|
|
1256
|
-
|
|
1257
1112
|
/**
|
|
1258
1113
|
* 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
1259
1114
|
*/
|
|
@@ -1268,17 +1123,14 @@ export interface EidInfo {
|
|
|
1268
1123
|
* 商户方 appeIDcode 的数字证书
|
|
1269
1124
|
*/
|
|
1270
1125
|
EidCode: string
|
|
1271
|
-
|
|
1272
1126
|
/**
|
|
1273
1127
|
* Eid中心针对商户方EidCode的电子签名
|
|
1274
1128
|
*/
|
|
1275
1129
|
EidSign: string
|
|
1276
|
-
|
|
1277
1130
|
/**
|
|
1278
1131
|
* 商户方公钥加密的会话密钥的base64字符串,[指引详见](https://cloud.tencent.com/document/product/1007/63370)
|
|
1279
1132
|
*/
|
|
1280
1133
|
DesKey: string
|
|
1281
|
-
|
|
1282
1134
|
/**
|
|
1283
1135
|
* 会话密钥sm2加密后的base64字符串,[指引详见](https://cloud.tencent.com/document/product/1007/63370)
|
|
1284
1136
|
*/
|
|
@@ -1293,7 +1145,6 @@ export interface GetFaceIdTokenResponse {
|
|
|
1293
1145
|
* 有效期 10分钟。只能完成1次核身。
|
|
1294
1146
|
*/
|
|
1295
1147
|
FaceIdToken?: string
|
|
1296
|
-
|
|
1297
1148
|
/**
|
|
1298
1149
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1299
1150
|
*/
|
|
@@ -1305,7 +1156,7 @@ export interface GetFaceIdTokenResponse {
|
|
|
1305
1156
|
*/
|
|
1306
1157
|
export interface PhoneVerificationCMCCResponse {
|
|
1307
1158
|
/**
|
|
1308
|
-
|
|
1159
|
+
* 认证结果码,收费情况如下。
|
|
1309
1160
|
收费结果码:
|
|
1310
1161
|
0: 认证通过
|
|
1311
1162
|
-4: 信息不一致(手机号已实名,但姓名和身份证号与实名信息不一致)
|
|
@@ -1316,20 +1167,17 @@ export interface PhoneVerificationCMCCResponse {
|
|
|
1316
1167
|
-9: 没有记录
|
|
1317
1168
|
-10: 认证未通过
|
|
1318
1169
|
-11: 验证中心服务繁忙
|
|
1319
|
-
|
|
1170
|
+
*/
|
|
1320
1171
|
Result: string
|
|
1321
|
-
|
|
1322
1172
|
/**
|
|
1323
|
-
|
|
1173
|
+
* 运营商名称。
|
|
1324
1174
|
取值范围为["移动","联通","电信",""]
|
|
1325
|
-
|
|
1175
|
+
*/
|
|
1326
1176
|
Isp: string
|
|
1327
|
-
|
|
1328
1177
|
/**
|
|
1329
1178
|
* 业务结果描述。
|
|
1330
1179
|
*/
|
|
1331
1180
|
Description: string
|
|
1332
|
-
|
|
1333
1181
|
/**
|
|
1334
1182
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1335
1183
|
*/
|
|
@@ -1341,14 +1189,13 @@ export interface PhoneVerificationCMCCResponse {
|
|
|
1341
1189
|
*/
|
|
1342
1190
|
export interface CheckEidTokenStatusResponse {
|
|
1343
1191
|
/**
|
|
1344
|
-
|
|
1192
|
+
* 枚举:
|
|
1345
1193
|
init:token未验证
|
|
1346
1194
|
doing: 验证中
|
|
1347
1195
|
finished: 验证完成
|
|
1348
1196
|
timeout: token已超时
|
|
1349
|
-
|
|
1197
|
+
*/
|
|
1350
1198
|
Status: string
|
|
1351
|
-
|
|
1352
1199
|
/**
|
|
1353
1200
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1354
1201
|
*/
|
|
@@ -1360,7 +1207,7 @@ timeout: token已超时
|
|
|
1360
1207
|
*/
|
|
1361
1208
|
export interface PhoneVerificationCTCCResponse {
|
|
1362
1209
|
/**
|
|
1363
|
-
|
|
1210
|
+
* 认证结果码,收费情况如下。
|
|
1364
1211
|
收费结果码:
|
|
1365
1212
|
0: 认证通过
|
|
1366
1213
|
-4: 信息不一致(手机号已实名,但姓名和身份证号与实名信息不一致)
|
|
@@ -1371,20 +1218,17 @@ export interface PhoneVerificationCTCCResponse {
|
|
|
1371
1218
|
-9: 没有记录
|
|
1372
1219
|
-10: 认证未通过
|
|
1373
1220
|
-11: 验证中心服务繁忙
|
|
1374
|
-
|
|
1221
|
+
*/
|
|
1375
1222
|
Result: string
|
|
1376
|
-
|
|
1377
1223
|
/**
|
|
1378
|
-
|
|
1224
|
+
* 运营商名称。
|
|
1379
1225
|
取值范围为["移动","联通","电信",""]
|
|
1380
|
-
|
|
1226
|
+
*/
|
|
1381
1227
|
Isp: string
|
|
1382
|
-
|
|
1383
1228
|
/**
|
|
1384
1229
|
* 业务结果描述。
|
|
1385
1230
|
*/
|
|
1386
1231
|
Description: string
|
|
1387
|
-
|
|
1388
1232
|
/**
|
|
1389
1233
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1390
1234
|
*/
|
|
@@ -1396,32 +1240,29 @@ export interface PhoneVerificationCTCCResponse {
|
|
|
1396
1240
|
*/
|
|
1397
1241
|
export interface MobileStatusResponse {
|
|
1398
1242
|
/**
|
|
1399
|
-
|
|
1243
|
+
* 认证结果码,收费情况如下。
|
|
1400
1244
|
收费结果码:
|
|
1401
1245
|
0:成功
|
|
1402
1246
|
不收费结果码:
|
|
1403
1247
|
-1:未查询到结果
|
|
1404
1248
|
-2:手机号格式不正确
|
|
1405
1249
|
-3:验证中心服务繁忙
|
|
1406
|
-
|
|
1250
|
+
*/
|
|
1407
1251
|
Result: string
|
|
1408
|
-
|
|
1409
1252
|
/**
|
|
1410
1253
|
* 业务结果描述。
|
|
1411
1254
|
*/
|
|
1412
1255
|
Description: string
|
|
1413
|
-
|
|
1414
1256
|
/**
|
|
1415
|
-
|
|
1257
|
+
* 状态码:
|
|
1416
1258
|
0:正常
|
|
1417
1259
|
1:停机
|
|
1418
1260
|
2:销号
|
|
1419
1261
|
3:空号
|
|
1420
1262
|
4:不在网
|
|
1421
1263
|
99:未知状态
|
|
1422
|
-
|
|
1264
|
+
*/
|
|
1423
1265
|
StatusCode: number
|
|
1424
|
-
|
|
1425
1266
|
/**
|
|
1426
1267
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1427
1268
|
*/
|
|
@@ -1436,17 +1277,14 @@ export interface PhoneVerificationCTCCRequest {
|
|
|
1436
1277
|
* 身份证号
|
|
1437
1278
|
*/
|
|
1438
1279
|
IdCard: string
|
|
1439
|
-
|
|
1440
1280
|
/**
|
|
1441
1281
|
* 姓名
|
|
1442
1282
|
*/
|
|
1443
1283
|
Name: string
|
|
1444
|
-
|
|
1445
1284
|
/**
|
|
1446
1285
|
* 手机号
|
|
1447
1286
|
*/
|
|
1448
1287
|
Phone: string
|
|
1449
|
-
|
|
1450
1288
|
/**
|
|
1451
1289
|
* 敏感数据加密信息。对传入信息(姓名、身份证号、手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
1452
1290
|
*/
|
|
@@ -1458,7 +1296,7 @@ export interface PhoneVerificationCTCCRequest {
|
|
|
1458
1296
|
*/
|
|
1459
1297
|
export interface IdCardOCRVerificationResponse {
|
|
1460
1298
|
/**
|
|
1461
|
-
|
|
1299
|
+
* 认证结果码,收费情况如下。
|
|
1462
1300
|
收费结果码:
|
|
1463
1301
|
0: 姓名和身份证号一致
|
|
1464
1302
|
-1: 姓名和身份证号不一致
|
|
@@ -1469,48 +1307,40 @@ export interface IdCardOCRVerificationResponse {
|
|
|
1469
1307
|
-5: 证件库中无此身份证记录
|
|
1470
1308
|
-6: 权威比对系统升级中,请稍后再试
|
|
1471
1309
|
-7: 认证次数超过当日限制
|
|
1472
|
-
|
|
1310
|
+
*/
|
|
1473
1311
|
Result: string
|
|
1474
|
-
|
|
1475
1312
|
/**
|
|
1476
1313
|
* 业务结果描述。
|
|
1477
1314
|
*/
|
|
1478
1315
|
Description: string
|
|
1479
|
-
|
|
1480
1316
|
/**
|
|
1481
1317
|
* 用于验证的姓名
|
|
1482
1318
|
*/
|
|
1483
1319
|
Name: string
|
|
1484
|
-
|
|
1485
1320
|
/**
|
|
1486
1321
|
* 用于验证的身份证号
|
|
1487
1322
|
*/
|
|
1488
1323
|
IdCard: string
|
|
1489
|
-
|
|
1490
1324
|
/**
|
|
1491
|
-
|
|
1325
|
+
* OCR得到的性别
|
|
1492
1326
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1493
|
-
|
|
1327
|
+
*/
|
|
1494
1328
|
Sex: string
|
|
1495
|
-
|
|
1496
1329
|
/**
|
|
1497
|
-
|
|
1330
|
+
* OCR得到的民族
|
|
1498
1331
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1499
|
-
|
|
1332
|
+
*/
|
|
1500
1333
|
Nation: string
|
|
1501
|
-
|
|
1502
1334
|
/**
|
|
1503
|
-
|
|
1335
|
+
* OCR得到的生日
|
|
1504
1336
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1505
|
-
|
|
1337
|
+
*/
|
|
1506
1338
|
Birth: string
|
|
1507
|
-
|
|
1508
1339
|
/**
|
|
1509
|
-
|
|
1340
|
+
* OCR得到的地址
|
|
1510
1341
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1511
|
-
|
|
1342
|
+
*/
|
|
1512
1343
|
Address: string
|
|
1513
|
-
|
|
1514
1344
|
/**
|
|
1515
1345
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1516
1346
|
*/
|
|
@@ -1525,42 +1355,34 @@ export interface ChargeDetail {
|
|
|
1525
1355
|
* 一比一时间时间戳,13位。
|
|
1526
1356
|
*/
|
|
1527
1357
|
ReqTime: string
|
|
1528
|
-
|
|
1529
1358
|
/**
|
|
1530
1359
|
* 一比一请求的唯一标记。
|
|
1531
1360
|
*/
|
|
1532
1361
|
Seq: string
|
|
1533
|
-
|
|
1534
1362
|
/**
|
|
1535
1363
|
* 一比一时使用的、脱敏后的身份证号。
|
|
1536
1364
|
*/
|
|
1537
1365
|
Idcard: string
|
|
1538
|
-
|
|
1539
1366
|
/**
|
|
1540
1367
|
* 一比一时使用的、脱敏后的姓名。
|
|
1541
1368
|
*/
|
|
1542
1369
|
Name: string
|
|
1543
|
-
|
|
1544
1370
|
/**
|
|
1545
1371
|
* 一比一的相似度。0-100,保留2位小数。
|
|
1546
1372
|
*/
|
|
1547
1373
|
Sim: string
|
|
1548
|
-
|
|
1549
1374
|
/**
|
|
1550
1375
|
* 本次详情是否收费。
|
|
1551
1376
|
*/
|
|
1552
1377
|
IsNeedCharge: boolean
|
|
1553
|
-
|
|
1554
1378
|
/**
|
|
1555
1379
|
* 收费类型,比对、核身、混合部署。
|
|
1556
1380
|
*/
|
|
1557
1381
|
ChargeType: string
|
|
1558
|
-
|
|
1559
1382
|
/**
|
|
1560
1383
|
* 本次活体一比一最终结果。
|
|
1561
1384
|
*/
|
|
1562
1385
|
ErrorCode: string
|
|
1563
|
-
|
|
1564
1386
|
/**
|
|
1565
1387
|
* 本次活体一比一最终结果描述。
|
|
1566
1388
|
*/
|
|
@@ -1582,27 +1404,23 @@ export interface ParseNfcDataRequest {
|
|
|
1582
1404
|
*/
|
|
1583
1405
|
export interface LivenessResponse {
|
|
1584
1406
|
/**
|
|
1585
|
-
|
|
1407
|
+
* 验证通过后的视频最佳截图照片,照片为BASE64编码后的值,jpg格式。
|
|
1586
1408
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1587
|
-
|
|
1409
|
+
*/
|
|
1588
1410
|
BestFrameBase64?: string
|
|
1589
|
-
|
|
1590
1411
|
/**
|
|
1591
1412
|
* 业务错误码,成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
|
|
1592
1413
|
*/
|
|
1593
1414
|
Result?: string
|
|
1594
|
-
|
|
1595
1415
|
/**
|
|
1596
1416
|
* 业务结果描述。
|
|
1597
1417
|
*/
|
|
1598
1418
|
Description?: string
|
|
1599
|
-
|
|
1600
1419
|
/**
|
|
1601
|
-
|
|
1420
|
+
* 最佳最佳截图列表,仅在配置了返回多张最佳截图时有效。
|
|
1602
1421
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1603
|
-
|
|
1422
|
+
*/
|
|
1604
1423
|
BestFrameList?: Array<string>
|
|
1605
|
-
|
|
1606
1424
|
/**
|
|
1607
1425
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1608
1426
|
*/
|
|
@@ -1614,25 +1432,23 @@ export interface LivenessResponse {
|
|
|
1614
1432
|
*/
|
|
1615
1433
|
export interface CheckIdCardInformationRequest {
|
|
1616
1434
|
/**
|
|
1617
|
-
|
|
1435
|
+
* 身份证人像面的 Base64 值
|
|
1618
1436
|
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
1619
1437
|
支持的图片大小:所下载图片经Base64编码后不超过 7M。
|
|
1620
1438
|
请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
|
|
1621
1439
|
ImageBase64、ImageUrl二者必须提供其中之一。若都提供了,则按照ImageUrl>ImageBase64的优先级使用参数。
|
|
1622
|
-
|
|
1440
|
+
*/
|
|
1623
1441
|
ImageBase64?: string
|
|
1624
|
-
|
|
1625
1442
|
/**
|
|
1626
|
-
|
|
1443
|
+
* 身份证人像面的 Url 地址
|
|
1627
1444
|
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
1628
1445
|
支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
|
|
1629
1446
|
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
1630
1447
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
1631
|
-
|
|
1448
|
+
*/
|
|
1632
1449
|
ImageUrl?: string
|
|
1633
|
-
|
|
1634
1450
|
/**
|
|
1635
|
-
|
|
1451
|
+
* 以下可选字段均为bool 类型,默认false:
|
|
1636
1452
|
CopyWarn,复印件告警
|
|
1637
1453
|
BorderCheckWarn,边框和框内遮挡告警
|
|
1638
1454
|
ReshootWarn,翻拍告警
|
|
@@ -1644,13 +1460,12 @@ SDK 设置方式参考:
|
|
|
1644
1460
|
Config = Json.stringify({"CopyWarn":true,"ReshootWarn":true})
|
|
1645
1461
|
API 3.0 Explorer 设置方式参考:
|
|
1646
1462
|
Config = {"CopyWarn":true,"ReshootWarn":true}
|
|
1647
|
-
|
|
1463
|
+
*/
|
|
1648
1464
|
Config?: string
|
|
1649
|
-
|
|
1650
1465
|
/**
|
|
1651
|
-
|
|
1466
|
+
* 是否需要对返回中的敏感信息进行加密。默认false。
|
|
1652
1467
|
其中敏感信息包括:Response.IdNum、Response.Name
|
|
1653
|
-
|
|
1468
|
+
*/
|
|
1654
1469
|
IsEncrypt?: boolean
|
|
1655
1470
|
}
|
|
1656
1471
|
|
|
@@ -1659,190 +1474,162 @@ Config = {"CopyWarn":true,"ReshootWarn":true}
|
|
|
1659
1474
|
*/
|
|
1660
1475
|
export interface DetectInfoText {
|
|
1661
1476
|
/**
|
|
1662
|
-
|
|
1477
|
+
* 本次流程最终验证结果。0为成功
|
|
1663
1478
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1664
|
-
|
|
1479
|
+
*/
|
|
1665
1480
|
ErrCode: number
|
|
1666
|
-
|
|
1667
1481
|
/**
|
|
1668
|
-
|
|
1482
|
+
* 本次流程最终验证结果描述。(仅描述用,文案更新时不会通知。)
|
|
1669
1483
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1670
|
-
|
|
1484
|
+
*/
|
|
1671
1485
|
ErrMsg: string
|
|
1672
|
-
|
|
1673
1486
|
/**
|
|
1674
|
-
|
|
1487
|
+
* 本次验证使用的身份证号。
|
|
1675
1488
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1676
|
-
|
|
1489
|
+
*/
|
|
1677
1490
|
IdCard: string
|
|
1678
|
-
|
|
1679
1491
|
/**
|
|
1680
|
-
|
|
1492
|
+
* 用户认证时使用的证件号码类型:
|
|
1681
1493
|
0:二代身份证的证件号码
|
|
1682
1494
|
1:港澳台居住证的证件号码
|
|
1683
1495
|
2:其他(核验使用的证件号码非合法身份号码)
|
|
1684
1496
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1685
|
-
|
|
1497
|
+
*/
|
|
1686
1498
|
UseIDType: number
|
|
1687
|
-
|
|
1688
1499
|
/**
|
|
1689
|
-
|
|
1500
|
+
* 本次验证使用的姓名。
|
|
1690
1501
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1691
|
-
|
|
1502
|
+
*/
|
|
1692
1503
|
Name: string
|
|
1693
|
-
|
|
1694
1504
|
/**
|
|
1695
|
-
|
|
1505
|
+
* 身份校验环节识别结果:民族。
|
|
1696
1506
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1697
|
-
|
|
1507
|
+
*/
|
|
1698
1508
|
OcrNation: string
|
|
1699
|
-
|
|
1700
1509
|
/**
|
|
1701
|
-
|
|
1510
|
+
* 身份校验环节识别结果:家庭住址。
|
|
1702
1511
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1703
|
-
|
|
1512
|
+
*/
|
|
1704
1513
|
OcrAddress: string
|
|
1705
|
-
|
|
1706
1514
|
/**
|
|
1707
|
-
|
|
1515
|
+
* 身份校验环节识别结果:生日。格式为:YYYY/M/D
|
|
1708
1516
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1709
|
-
|
|
1517
|
+
*/
|
|
1710
1518
|
OcrBirth: string
|
|
1711
|
-
|
|
1712
1519
|
/**
|
|
1713
|
-
|
|
1520
|
+
* 身份校验环节识别结果:签发机关。
|
|
1714
1521
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1715
|
-
|
|
1522
|
+
*/
|
|
1716
1523
|
OcrAuthority: string
|
|
1717
|
-
|
|
1718
1524
|
/**
|
|
1719
|
-
|
|
1525
|
+
* 身份校验环节识别结果:有效日期。格式为:YYYY.MM.DD-YYYY.MM.DD
|
|
1720
1526
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1721
|
-
|
|
1527
|
+
*/
|
|
1722
1528
|
OcrValidDate: string
|
|
1723
|
-
|
|
1724
1529
|
/**
|
|
1725
|
-
|
|
1530
|
+
* 身份校验环节识别结果:姓名。
|
|
1726
1531
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1727
|
-
|
|
1532
|
+
*/
|
|
1728
1533
|
OcrName: string
|
|
1729
|
-
|
|
1730
1534
|
/**
|
|
1731
|
-
|
|
1535
|
+
* 身份校验环节识别结果:身份证号。
|
|
1732
1536
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1733
|
-
|
|
1537
|
+
*/
|
|
1734
1538
|
OcrIdCard: string
|
|
1735
|
-
|
|
1736
1539
|
/**
|
|
1737
|
-
|
|
1540
|
+
* 身份校验环节识别结果:性别。
|
|
1738
1541
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1739
|
-
|
|
1542
|
+
*/
|
|
1740
1543
|
OcrGender: string
|
|
1741
|
-
|
|
1742
1544
|
/**
|
|
1743
|
-
|
|
1545
|
+
* 身份校验环节采用的信息上传方式。
|
|
1744
1546
|
取值有"NFC"、"OCR"、"手动输入"、"其他"
|
|
1745
1547
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1746
|
-
|
|
1548
|
+
*/
|
|
1747
1549
|
IdInfoFrom?: string
|
|
1748
|
-
|
|
1749
1550
|
/**
|
|
1750
|
-
|
|
1551
|
+
* 本次流程最终活体结果。0为成功
|
|
1751
1552
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1752
|
-
|
|
1553
|
+
*/
|
|
1753
1554
|
LiveStatus: number
|
|
1754
|
-
|
|
1755
1555
|
/**
|
|
1756
|
-
|
|
1556
|
+
* 本次流程最终活体结果描述。(仅描述用,文案更新时不会通知。)
|
|
1757
1557
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1758
|
-
|
|
1558
|
+
*/
|
|
1759
1559
|
LiveMsg: string
|
|
1760
|
-
|
|
1761
1560
|
/**
|
|
1762
|
-
|
|
1561
|
+
* 本次流程最终一比一结果。0为成功
|
|
1763
1562
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1764
|
-
|
|
1563
|
+
*/
|
|
1765
1564
|
Comparestatus: number
|
|
1766
|
-
|
|
1767
1565
|
/**
|
|
1768
|
-
|
|
1566
|
+
* 本次流程最终一比一结果描述。(仅描述用,文案更新时不会通知。)
|
|
1769
1567
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1770
|
-
|
|
1568
|
+
*/
|
|
1771
1569
|
Comparemsg: string
|
|
1772
|
-
|
|
1773
1570
|
/**
|
|
1774
|
-
|
|
1571
|
+
* 本次流程活体一比一的分数,取值范围 [0.00, 100.00]。相似度大于等于70时才判断为同一人,也可根据具体场景自行调整阈值(阈值70的误通过率为千分之一,阈值80的误通过率是万分之一)
|
|
1775
1572
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1776
|
-
|
|
1573
|
+
*/
|
|
1777
1574
|
Sim: string
|
|
1778
|
-
|
|
1779
1575
|
/**
|
|
1780
|
-
|
|
1576
|
+
* 地理位置经纬度。
|
|
1781
1577
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1782
|
-
|
|
1578
|
+
*/
|
|
1783
1579
|
Location: string
|
|
1784
|
-
|
|
1785
1580
|
/**
|
|
1786
|
-
|
|
1581
|
+
* Auth接口带入额外信息。
|
|
1787
1582
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1788
|
-
|
|
1583
|
+
*/
|
|
1789
1584
|
Extra: string
|
|
1790
|
-
|
|
1791
1585
|
/**
|
|
1792
|
-
|
|
1586
|
+
* 本次流程进行的活体一比一流水。
|
|
1793
1587
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1794
|
-
|
|
1588
|
+
*/
|
|
1795
1589
|
LivenessDetail: Array<DetectDetail>
|
|
1796
|
-
|
|
1797
1590
|
/**
|
|
1798
|
-
|
|
1591
|
+
* 手机号码。
|
|
1799
1592
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1800
|
-
|
|
1593
|
+
*/
|
|
1801
1594
|
Mobile: string
|
|
1802
|
-
|
|
1803
1595
|
/**
|
|
1804
|
-
|
|
1596
|
+
* 本次流程最终比对库源类型。包括:
|
|
1805
1597
|
权威库;
|
|
1806
1598
|
业务方自有库(用户上传照片、客户的混合库、混合部署库);
|
|
1807
1599
|
二次验证库;
|
|
1808
1600
|
人工审核库;
|
|
1809
1601
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1810
|
-
|
|
1602
|
+
*/
|
|
1811
1603
|
CompareLibType: string
|
|
1812
|
-
|
|
1813
1604
|
/**
|
|
1814
|
-
|
|
1605
|
+
* 本次流程最终活体类型。包括:
|
|
1815
1606
|
0:未知
|
|
1816
1607
|
1:数字活体
|
|
1817
1608
|
2:动作活体
|
|
1818
1609
|
3:静默活体
|
|
1819
1610
|
4:一闪活体(动作+光线)
|
|
1820
1611
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1821
|
-
|
|
1612
|
+
*/
|
|
1822
1613
|
LivenessMode: number
|
|
1823
|
-
|
|
1824
1614
|
/**
|
|
1825
|
-
|
|
1615
|
+
* nfc重复计费requestId列表
|
|
1826
1616
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1827
|
-
|
|
1617
|
+
*/
|
|
1828
1618
|
NFCRequestIds?: Array<string>
|
|
1829
|
-
|
|
1830
1619
|
/**
|
|
1831
|
-
|
|
1620
|
+
* nfc重复计费计数
|
|
1832
1621
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1833
|
-
|
|
1622
|
+
*/
|
|
1834
1623
|
NFCBillingCounts?: number
|
|
1835
|
-
|
|
1836
1624
|
/**
|
|
1837
|
-
|
|
1625
|
+
* 港澳台居住证通行证号码
|
|
1838
1626
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1839
|
-
|
|
1627
|
+
*/
|
|
1840
1628
|
PassNo?: string
|
|
1841
|
-
|
|
1842
1629
|
/**
|
|
1843
|
-
|
|
1630
|
+
* 港澳台居住证签发次数
|
|
1844
1631
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1845
|
-
|
|
1632
|
+
*/
|
|
1846
1633
|
VisaNum?: string
|
|
1847
1634
|
}
|
|
1848
1635
|
|
|
@@ -1854,54 +1641,44 @@ export interface DetectAuthRequest {
|
|
|
1854
1641
|
* 用于细分客户使用场景,申请开通服务后,可以在腾讯云慧眼人脸核身控制台(https://console.cloud.tencent.com/faceid) 自助接入里面创建,审核通过后即可调用。如有疑问,请添加[腾讯云人脸核身小助手](https://cloud.tencent.com/document/product/1007/56130)进行咨询。
|
|
1855
1642
|
*/
|
|
1856
1643
|
RuleId: string
|
|
1857
|
-
|
|
1858
1644
|
/**
|
|
1859
1645
|
* 本接口不需要传递此参数。
|
|
1860
1646
|
*/
|
|
1861
1647
|
TerminalType?: string
|
|
1862
|
-
|
|
1863
1648
|
/**
|
|
1864
|
-
|
|
1649
|
+
* 身份标识(未使用OCR服务时,必须传入)。
|
|
1865
1650
|
规则:a-zA-Z0-9组合。最长长度32位。
|
|
1866
|
-
|
|
1651
|
+
*/
|
|
1867
1652
|
IdCard?: string
|
|
1868
|
-
|
|
1869
1653
|
/**
|
|
1870
1654
|
* 姓名。(未使用OCR服务时,必须传入)最长长度32位。中文请使用UTF-8编码。
|
|
1871
1655
|
*/
|
|
1872
1656
|
Name?: string
|
|
1873
|
-
|
|
1874
1657
|
/**
|
|
1875
1658
|
* 认证结束后重定向的回调链接地址。最长长度1024位。
|
|
1876
1659
|
*/
|
|
1877
1660
|
RedirectUrl?: string
|
|
1878
|
-
|
|
1879
1661
|
/**
|
|
1880
1662
|
* 透传字段,在获取验证结果时返回。
|
|
1881
1663
|
*/
|
|
1882
1664
|
Extra?: string
|
|
1883
|
-
|
|
1884
1665
|
/**
|
|
1885
|
-
|
|
1666
|
+
* 用于人脸比对的照片,图片的Base64值;
|
|
1886
1667
|
Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
|
|
1887
|
-
|
|
1668
|
+
*/
|
|
1888
1669
|
ImageBase64?: string
|
|
1889
|
-
|
|
1890
1670
|
/**
|
|
1891
1671
|
* 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
1892
1672
|
*/
|
|
1893
1673
|
Encryption?: Encryption
|
|
1894
|
-
|
|
1895
1674
|
/**
|
|
1896
1675
|
* 意愿核身(朗读模式)使用的文案,若未使用意愿核身(朗读模式),则该字段无需传入。默认为空,最长可接受120的字符串长度。
|
|
1897
1676
|
*/
|
|
1898
1677
|
IntentionVerifyText?: string
|
|
1899
|
-
|
|
1900
1678
|
/**
|
|
1901
1679
|
* 意愿核身(问答模式)使用的文案,包括:系统语音播报的文本、需要核验的标准文本。当前仅支持一个播报文本+回答文本。
|
|
1902
1680
|
*/
|
|
1903
1681
|
IntentionQuestions?: Array<IntentionQuestion>
|
|
1904
|
-
|
|
1905
1682
|
/**
|
|
1906
1683
|
* RuleId相关配置
|
|
1907
1684
|
*/
|
|
@@ -1913,7 +1690,7 @@ Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。请
|
|
|
1913
1690
|
*/
|
|
1914
1691
|
export interface MinorsVerificationResponse {
|
|
1915
1692
|
/**
|
|
1916
|
-
|
|
1693
|
+
* 结果码,收费情况如下。
|
|
1917
1694
|
收费结果码:
|
|
1918
1695
|
0: 成年
|
|
1919
1696
|
-1: 未成年
|
|
@@ -1926,23 +1703,20 @@ export interface MinorsVerificationResponse {
|
|
|
1926
1703
|
-6: 权威数据源服务异常
|
|
1927
1704
|
-7: 未查询到身份信息
|
|
1928
1705
|
-8: 权威数据源升级中,请稍后再试
|
|
1929
|
-
|
|
1706
|
+
*/
|
|
1930
1707
|
Result: string
|
|
1931
|
-
|
|
1932
1708
|
/**
|
|
1933
1709
|
* 业务结果描述。
|
|
1934
1710
|
*/
|
|
1935
1711
|
Description: string
|
|
1936
|
-
|
|
1937
1712
|
/**
|
|
1938
|
-
|
|
1713
|
+
* 该字段的值为年龄区间。格式为[a,b),
|
|
1939
1714
|
[0,8)表示年龄小于8周岁区间,不包括8岁;
|
|
1940
1715
|
[8,16)表示年龄8-16周岁区间,不包括16岁;
|
|
1941
1716
|
[16,18)表示年龄16-18周岁区间,不包括18岁;
|
|
1942
1717
|
[18,+)表示年龄大于18周岁。
|
|
1943
|
-
|
|
1718
|
+
*/
|
|
1944
1719
|
AgeRange: string
|
|
1945
|
-
|
|
1946
1720
|
/**
|
|
1947
1721
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1948
1722
|
*/
|
|
@@ -1957,12 +1731,10 @@ export interface GetWeChatBillDetailsRequest {
|
|
|
1957
1731
|
* 拉取的日期(YYYY-MM-DD)。最大可追溯到365天前。当天6点后才能拉取前一天的数据。
|
|
1958
1732
|
*/
|
|
1959
1733
|
Date: string
|
|
1960
|
-
|
|
1961
1734
|
/**
|
|
1962
1735
|
* 游标。用于分页,取第一页时传0,取后续页面时,传入本接口响应中返回的NextCursor字段的值。
|
|
1963
1736
|
*/
|
|
1964
1737
|
Cursor: number
|
|
1965
|
-
|
|
1966
1738
|
/**
|
|
1967
1739
|
* 需要拉取账单详情业务对应的RuleId。不传会返回所有RuleId数据。默认为空字符串。
|
|
1968
1740
|
*/
|
|
@@ -1984,41 +1756,35 @@ export interface CheckEidTokenStatusRequest {
|
|
|
1984
1756
|
*/
|
|
1985
1757
|
export interface GetEidResultResponse {
|
|
1986
1758
|
/**
|
|
1987
|
-
|
|
1759
|
+
* 文本类信息。(基于对敏感信息的保护,验证使用的姓名和身份证号统一通过加密后从Eidinfo参数中返回,如需获取请在控制台申请返回身份信息,详见[E证通获取实名信息指引](https://cloud.tencent.com/document/product/1007/63370))
|
|
1988
1760
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1989
|
-
|
|
1761
|
+
*/
|
|
1990
1762
|
Text: DetectInfoText
|
|
1991
|
-
|
|
1992
1763
|
/**
|
|
1993
|
-
|
|
1764
|
+
* 身份证照片信息。
|
|
1994
1765
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1995
|
-
|
|
1766
|
+
*/
|
|
1996
1767
|
IdCardData: DetectInfoIdCardData
|
|
1997
|
-
|
|
1998
1768
|
/**
|
|
1999
|
-
|
|
1769
|
+
* 最佳帧信息。
|
|
2000
1770
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2001
|
-
|
|
1771
|
+
*/
|
|
2002
1772
|
BestFrame: DetectInfoBestFrame
|
|
2003
|
-
|
|
2004
1773
|
/**
|
|
2005
|
-
|
|
1774
|
+
* Eid信息。(包括商户下用户唯一标识以及加密后的姓名、身份证号信息。解密方式详见[E证通获取实名信息指引](https://cloud.tencent.com/document/product/1007/63370))
|
|
2006
1775
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2007
|
-
|
|
1776
|
+
*/
|
|
2008
1777
|
EidInfo: EidInfo
|
|
2009
|
-
|
|
2010
1778
|
/**
|
|
2011
|
-
|
|
1779
|
+
* 意愿核身朗读模式相关信息。若未使用意愿核身朗读功能,该字段返回值可以不处理。
|
|
2012
1780
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2013
|
-
|
|
1781
|
+
*/
|
|
2014
1782
|
IntentionVerifyData: IntentionVerifyData
|
|
2015
|
-
|
|
2016
1783
|
/**
|
|
2017
|
-
|
|
1784
|
+
* 意愿核身问答模式相关信息。若未使用意愿核身问答模式功能,该字段返回值可以不处理。
|
|
2018
1785
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2019
|
-
|
|
1786
|
+
*/
|
|
2020
1787
|
IntentionQuestionResult: IntentionQuestionResult
|
|
2021
|
-
|
|
2022
1788
|
/**
|
|
2023
1789
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2024
1790
|
*/
|
|
@@ -2033,24 +1799,20 @@ export interface ImageRecognitionRequest {
|
|
|
2033
1799
|
* 身份证号
|
|
2034
1800
|
*/
|
|
2035
1801
|
IdCard: string
|
|
2036
|
-
|
|
2037
1802
|
/**
|
|
2038
1803
|
* 姓名。中文请使用UTF-8编码。
|
|
2039
1804
|
*/
|
|
2040
1805
|
Name: string
|
|
2041
|
-
|
|
2042
1806
|
/**
|
|
2043
|
-
|
|
1807
|
+
* 用于人脸比对的照片,图片的Base64值;
|
|
2044
1808
|
Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。
|
|
2045
1809
|
请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
|
|
2046
|
-
|
|
1810
|
+
*/
|
|
2047
1811
|
ImageBase64: string
|
|
2048
|
-
|
|
2049
1812
|
/**
|
|
2050
1813
|
* 本接口不需要传递此参数。
|
|
2051
1814
|
*/
|
|
2052
1815
|
Optional?: string
|
|
2053
|
-
|
|
2054
1816
|
/**
|
|
2055
1817
|
* 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
2056
1818
|
*/
|
|
@@ -2065,17 +1827,14 @@ export interface PhoneVerificationCUCCRequest {
|
|
|
2065
1827
|
* 身份证号
|
|
2066
1828
|
*/
|
|
2067
1829
|
IdCard: string
|
|
2068
|
-
|
|
2069
1830
|
/**
|
|
2070
1831
|
* 姓名
|
|
2071
1832
|
*/
|
|
2072
1833
|
Name: string
|
|
2073
|
-
|
|
2074
1834
|
/**
|
|
2075
1835
|
* 手机号
|
|
2076
1836
|
*/
|
|
2077
1837
|
Phone: string
|
|
2078
|
-
|
|
2079
1838
|
/**
|
|
2080
1839
|
* 敏感数据加密信息。对传入信息(姓名、身份证号、手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
2081
1840
|
*/
|
|
@@ -2090,28 +1849,23 @@ export interface BankCard4EVerificationRequest {
|
|
|
2090
1849
|
* 姓名
|
|
2091
1850
|
*/
|
|
2092
1851
|
Name: string
|
|
2093
|
-
|
|
2094
1852
|
/**
|
|
2095
1853
|
* 银行卡
|
|
2096
1854
|
*/
|
|
2097
1855
|
BankCard: string
|
|
2098
|
-
|
|
2099
1856
|
/**
|
|
2100
1857
|
* 手机号码
|
|
2101
1858
|
*/
|
|
2102
1859
|
Phone: string
|
|
2103
|
-
|
|
2104
1860
|
/**
|
|
2105
1861
|
* 开户证件号,与CertType参数的证件类型一致,如:身份证,则传入身份证号。
|
|
2106
1862
|
*/
|
|
2107
1863
|
IdCard: string
|
|
2108
|
-
|
|
2109
1864
|
/**
|
|
2110
|
-
|
|
1865
|
+
* 证件类型,请确认该证件为开户时使用的证件类型,未用于开户的证件信息不支持验证。
|
|
2111
1866
|
目前默认为0:身份证,其他证件类型暂不支持。
|
|
2112
|
-
|
|
1867
|
+
*/
|
|
2113
1868
|
CertType?: number
|
|
2114
|
-
|
|
2115
1869
|
/**
|
|
2116
1870
|
* 敏感数据加密信息。对传入信息(姓名、身份证号、手机号、银行卡号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
2117
1871
|
*/
|
|
@@ -2126,7 +1880,6 @@ export interface MobileNetworkTimeVerificationRequest {
|
|
|
2126
1880
|
* 手机号码
|
|
2127
1881
|
*/
|
|
2128
1882
|
Mobile: string
|
|
2129
|
-
|
|
2130
1883
|
/**
|
|
2131
1884
|
* 敏感数据加密信息。对传入信息(手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
2132
1885
|
*/
|
|
@@ -2141,12 +1894,10 @@ export interface GetFaceIdResultRequest {
|
|
|
2141
1894
|
* SDK人脸核身流程的标识,调用GetFaceIdToken接口时生成。
|
|
2142
1895
|
*/
|
|
2143
1896
|
FaceIdToken: string
|
|
2144
|
-
|
|
2145
1897
|
/**
|
|
2146
1898
|
* 是否需要拉取视频,默认false不需要
|
|
2147
1899
|
*/
|
|
2148
1900
|
IsNeedVideo?: boolean
|
|
2149
|
-
|
|
2150
1901
|
/**
|
|
2151
1902
|
* 是否需要拉取截帧,默认false不需要
|
|
2152
1903
|
*/
|
|
@@ -2158,7 +1909,7 @@ export interface GetFaceIdResultRequest {
|
|
|
2158
1909
|
*/
|
|
2159
1910
|
export interface PhoneVerificationCUCCResponse {
|
|
2160
1911
|
/**
|
|
2161
|
-
|
|
1912
|
+
* 认证结果码,收费情况如下。
|
|
2162
1913
|
收费结果码:
|
|
2163
1914
|
0: 认证通过
|
|
2164
1915
|
-4: 信息不一致(手机号已实名,但姓名和身份证号与实名信息不一致)
|
|
@@ -2169,20 +1920,17 @@ export interface PhoneVerificationCUCCResponse {
|
|
|
2169
1920
|
-9: 没有记录
|
|
2170
1921
|
-10: 认证未通过
|
|
2171
1922
|
-11: 验证中心服务繁忙
|
|
2172
|
-
|
|
1923
|
+
*/
|
|
2173
1924
|
Result: string
|
|
2174
|
-
|
|
2175
1925
|
/**
|
|
2176
|
-
|
|
1926
|
+
* 运营商名称。
|
|
2177
1927
|
取值范围为["移动","联通","电信",""]
|
|
2178
|
-
|
|
1928
|
+
*/
|
|
2179
1929
|
Isp: string
|
|
2180
|
-
|
|
2181
1930
|
/**
|
|
2182
1931
|
* 业务结果描述。
|
|
2183
1932
|
*/
|
|
2184
1933
|
Description: string
|
|
2185
|
-
|
|
2186
1934
|
/**
|
|
2187
1935
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2188
1936
|
*/
|
|
@@ -2197,7 +1945,6 @@ export interface GetActionSequenceResponse {
|
|
|
2197
1945
|
* 动作顺序(2,1 or 1,2) 。1代表张嘴,2代表闭眼。
|
|
2198
1946
|
*/
|
|
2199
1947
|
ActionSequence?: string
|
|
2200
|
-
|
|
2201
1948
|
/**
|
|
2202
1949
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2203
1950
|
*/
|
|
@@ -2209,7 +1956,7 @@ export interface GetActionSequenceResponse {
|
|
|
2209
1956
|
*/
|
|
2210
1957
|
export interface BankCardVerificationResponse {
|
|
2211
1958
|
/**
|
|
2212
|
-
|
|
1959
|
+
* 认证结果码
|
|
2213
1960
|
收费结果码:
|
|
2214
1961
|
'0': '认证通过'
|
|
2215
1962
|
'-1': '认证未通过'
|
|
@@ -2230,14 +1977,12 @@ export interface BankCardVerificationResponse {
|
|
|
2230
1977
|
'-3': '身份证号码有误'
|
|
2231
1978
|
'-4': '银行卡号码有误'
|
|
2232
1979
|
'-17': '验证中心服务繁忙'
|
|
2233
|
-
|
|
1980
|
+
*/
|
|
2234
1981
|
Result: string
|
|
2235
|
-
|
|
2236
1982
|
/**
|
|
2237
1983
|
* 业务结果描述。
|
|
2238
1984
|
*/
|
|
2239
1985
|
Description: string
|
|
2240
|
-
|
|
2241
1986
|
/**
|
|
2242
1987
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2243
1988
|
*/
|
|
@@ -2249,29 +1994,25 @@ export interface BankCardVerificationResponse {
|
|
|
2249
1994
|
*/
|
|
2250
1995
|
export interface MinorsVerificationRequest {
|
|
2251
1996
|
/**
|
|
2252
|
-
|
|
1997
|
+
* 参与校验的参数类型。
|
|
2253
1998
|
0:使用手机号进行校验;
|
|
2254
1999
|
1:使用姓名与身份证号进行校验。
|
|
2255
|
-
|
|
2000
|
+
*/
|
|
2256
2001
|
Type: string
|
|
2257
|
-
|
|
2258
2002
|
/**
|
|
2259
|
-
|
|
2003
|
+
* 手机号,11位数字,
|
|
2260
2004
|
特别提示:
|
|
2261
2005
|
手机号验证只限制在腾讯健康守护可信模型覆盖的数据范围内,与手机号本身在运营商是否实名无关联,不在范围会提示“手机号未实名”,建议客户与传入姓名和身份证号信息组合使用。
|
|
2262
|
-
|
|
2006
|
+
*/
|
|
2263
2007
|
Mobile?: string
|
|
2264
|
-
|
|
2265
2008
|
/**
|
|
2266
2009
|
* 身份证号码。
|
|
2267
2010
|
*/
|
|
2268
2011
|
IdCard?: string
|
|
2269
|
-
|
|
2270
2012
|
/**
|
|
2271
2013
|
* 姓名。
|
|
2272
2014
|
*/
|
|
2273
2015
|
Name?: string
|
|
2274
|
-
|
|
2275
2016
|
/**
|
|
2276
2017
|
* 敏感数据加密信息。对传入信息(姓名、身份证号、手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
2277
2018
|
*/
|
|
@@ -2286,17 +2027,14 @@ export interface ImageRecognitionResponse {
|
|
|
2286
2027
|
* 相似度,取值范围 [0.00, 100.00]。推荐相似度大于等于70时可判断为同一人,可根据具体场景自行调整阈值(阈值70的误通过率为千分之一,阈值80的误通过率是万分之一)
|
|
2287
2028
|
*/
|
|
2288
2029
|
Sim: number
|
|
2289
|
-
|
|
2290
2030
|
/**
|
|
2291
2031
|
* 业务错误码,成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
|
|
2292
2032
|
*/
|
|
2293
2033
|
Result: string
|
|
2294
|
-
|
|
2295
2034
|
/**
|
|
2296
2035
|
* 业务结果描述。
|
|
2297
2036
|
*/
|
|
2298
2037
|
Description: string
|
|
2299
|
-
|
|
2300
2038
|
/**
|
|
2301
2039
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2302
2040
|
*/
|
|
@@ -2318,7 +2056,7 @@ export interface GetActionSequenceRequest {
|
|
|
2318
2056
|
*/
|
|
2319
2057
|
export interface GetDetectInfoResponse {
|
|
2320
2058
|
/**
|
|
2321
|
-
|
|
2059
|
+
* JSON字符串。
|
|
2322
2060
|
{
|
|
2323
2061
|
// 文本类信息
|
|
2324
2062
|
"Text": {
|
|
@@ -2367,9 +2105,8 @@ export interface GetDetectInfoResponse {
|
|
|
2367
2105
|
"LivenessVideo": null
|
|
2368
2106
|
}
|
|
2369
2107
|
}
|
|
2370
|
-
|
|
2108
|
+
*/
|
|
2371
2109
|
DetectInfo: string
|
|
2372
|
-
|
|
2373
2110
|
/**
|
|
2374
2111
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2375
2112
|
*/
|
|
@@ -2381,32 +2118,27 @@ export interface GetDetectInfoResponse {
|
|
|
2381
2118
|
*/
|
|
2382
2119
|
export interface LivenessCompareResponse {
|
|
2383
2120
|
/**
|
|
2384
|
-
|
|
2121
|
+
* 验证通过后的视频最佳截图照片,照片为BASE64编码后的值,jpg格式。
|
|
2385
2122
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2386
|
-
|
|
2123
|
+
*/
|
|
2387
2124
|
BestFrameBase64: string
|
|
2388
|
-
|
|
2389
2125
|
/**
|
|
2390
2126
|
* 相似度,取值范围 [0.00, 100.00]。推荐相似度大于等于70时可判断为同一人,可根据具体场景自行调整阈值(阈值70的误通过率为千分之一,阈值80的误通过率是万分之一)。
|
|
2391
2127
|
*/
|
|
2392
2128
|
Sim: number
|
|
2393
|
-
|
|
2394
2129
|
/**
|
|
2395
2130
|
* 业务错误码,成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
|
|
2396
2131
|
*/
|
|
2397
2132
|
Result: string
|
|
2398
|
-
|
|
2399
2133
|
/**
|
|
2400
2134
|
* 业务结果描述。
|
|
2401
2135
|
*/
|
|
2402
2136
|
Description: string
|
|
2403
|
-
|
|
2404
2137
|
/**
|
|
2405
|
-
|
|
2138
|
+
* 最佳截图列表,仅在配置了返回多张最佳截图时返回。
|
|
2406
2139
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2407
|
-
|
|
2140
|
+
*/
|
|
2408
2141
|
BestFrameList: Array<string>
|
|
2409
|
-
|
|
2410
2142
|
/**
|
|
2411
2143
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2412
2144
|
*/
|
|
@@ -2421,7 +2153,6 @@ export interface GetLiveCodeResponse {
|
|
|
2421
2153
|
* 数字验证码,如:1234
|
|
2422
2154
|
*/
|
|
2423
2155
|
LiveCode: string
|
|
2424
|
-
|
|
2425
2156
|
/**
|
|
2426
2157
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2427
2158
|
*/
|
|
@@ -2436,17 +2167,15 @@ export interface GetDetectInfoRequest {
|
|
|
2436
2167
|
* 人脸核身流程的标识,调用DetectAuth接口时生成。
|
|
2437
2168
|
*/
|
|
2438
2169
|
BizToken: string
|
|
2439
|
-
|
|
2440
2170
|
/**
|
|
2441
2171
|
* 用于细分客户使用场景,申请开通服务后,可以在腾讯云慧眼人脸核身控制台(https://console.cloud.tencent.com/faceid) 自助接入里面创建,审核通过后即可调用。如有疑问,请加慧眼小助手微信(faceid001)进行咨询。
|
|
2442
2172
|
*/
|
|
2443
2173
|
RuleId: string
|
|
2444
|
-
|
|
2445
2174
|
/**
|
|
2446
|
-
|
|
2175
|
+
* 指定拉取的结果信息,取值(0:全部;1:文本类;2:身份证正反面;3:视频最佳截图照片;4:视频)。
|
|
2447
2176
|
如 134表示拉取文本类、视频最佳截图照片、视频。
|
|
2448
2177
|
默认值:0
|
|
2449
|
-
|
|
2178
|
+
*/
|
|
2450
2179
|
InfoType?: string
|
|
2451
2180
|
}
|
|
2452
2181
|
|
|
@@ -2455,7 +2184,7 @@ export interface GetDetectInfoRequest {
|
|
|
2455
2184
|
*/
|
|
2456
2185
|
export interface BankCard2EVerificationResponse {
|
|
2457
2186
|
/**
|
|
2458
|
-
|
|
2187
|
+
* 认证结果码
|
|
2459
2188
|
计费结果码:
|
|
2460
2189
|
'0': '认证通过'
|
|
2461
2190
|
'-1': '认证未通过'
|
|
@@ -2475,14 +2204,12 @@ export interface BankCard2EVerificationResponse {
|
|
|
2475
2204
|
'-2': '姓名校验不通过'
|
|
2476
2205
|
'-3': '银行卡号码有误'
|
|
2477
2206
|
'-16': '验证中心服务繁忙'
|
|
2478
|
-
|
|
2207
|
+
*/
|
|
2479
2208
|
Result: string
|
|
2480
|
-
|
|
2481
2209
|
/**
|
|
2482
2210
|
* 业务结果描述。
|
|
2483
2211
|
*/
|
|
2484
2212
|
Description: string
|
|
2485
|
-
|
|
2486
2213
|
/**
|
|
2487
2214
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2488
2215
|
*/
|
|
@@ -2494,7 +2221,7 @@ export interface BankCard2EVerificationResponse {
|
|
|
2494
2221
|
*/
|
|
2495
2222
|
export interface IdCardVerificationResponse {
|
|
2496
2223
|
/**
|
|
2497
|
-
|
|
2224
|
+
* 认证结果码,收费情况如下。
|
|
2498
2225
|
收费结果码:
|
|
2499
2226
|
0: 姓名和身份证号一致
|
|
2500
2227
|
-1: 姓名和身份证号不一致
|
|
@@ -2505,14 +2232,12 @@ export interface IdCardVerificationResponse {
|
|
|
2505
2232
|
-5: 证件库中无此身份证记录
|
|
2506
2233
|
-6: 权威比对系统升级中,请稍后再试
|
|
2507
2234
|
-7: 认证次数超过当日限制
|
|
2508
|
-
|
|
2235
|
+
*/
|
|
2509
2236
|
Result: string
|
|
2510
|
-
|
|
2511
2237
|
/**
|
|
2512
2238
|
* 业务结果描述。
|
|
2513
2239
|
*/
|
|
2514
2240
|
Description: string
|
|
2515
|
-
|
|
2516
2241
|
/**
|
|
2517
2242
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2518
2243
|
*/
|
|
@@ -2524,37 +2249,32 @@ export interface IdCardVerificationResponse {
|
|
|
2524
2249
|
*/
|
|
2525
2250
|
export interface DetectInfoIdCardData {
|
|
2526
2251
|
/**
|
|
2527
|
-
|
|
2252
|
+
* OCR正面照片的base64编码。
|
|
2528
2253
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2529
|
-
|
|
2254
|
+
*/
|
|
2530
2255
|
OcrFront: string
|
|
2531
|
-
|
|
2532
2256
|
/**
|
|
2533
|
-
|
|
2257
|
+
* OCR反面照片的base64编码
|
|
2534
2258
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2535
|
-
|
|
2259
|
+
*/
|
|
2536
2260
|
OcrBack: string
|
|
2537
|
-
|
|
2538
2261
|
/**
|
|
2539
|
-
|
|
2262
|
+
* 旋转裁边后的正面照片base64编码。
|
|
2540
2263
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2541
|
-
|
|
2264
|
+
*/
|
|
2542
2265
|
ProcessedFrontImage: string
|
|
2543
|
-
|
|
2544
2266
|
/**
|
|
2545
|
-
|
|
2267
|
+
* 旋转裁边后的背面照片base64编码。
|
|
2546
2268
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2547
|
-
|
|
2269
|
+
*/
|
|
2548
2270
|
ProcessedBackImage: string
|
|
2549
|
-
|
|
2550
2271
|
/**
|
|
2551
|
-
|
|
2272
|
+
* 身份证正面人像图base64编码。
|
|
2552
2273
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2553
|
-
|
|
2274
|
+
*/
|
|
2554
2275
|
Avatar: string
|
|
2555
|
-
|
|
2556
2276
|
/**
|
|
2557
|
-
|
|
2277
|
+
* 身份证人像面告警码,开启身份证告警功能后才会返回,返回数组中可能出现的告警码如下:
|
|
2558
2278
|
-9100 身份证有效日期不合法告警,
|
|
2559
2279
|
-9101 身份证边框不完整告警,
|
|
2560
2280
|
-9102 身份证复印件告警,
|
|
@@ -2564,11 +2284,10 @@ export interface DetectInfoIdCardData {
|
|
|
2564
2284
|
-9106 身份证 PS 告警,
|
|
2565
2285
|
-9107 身份证反光告警。
|
|
2566
2286
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2567
|
-
|
|
2287
|
+
*/
|
|
2568
2288
|
WarnInfos: Array<number>
|
|
2569
|
-
|
|
2570
2289
|
/**
|
|
2571
|
-
|
|
2290
|
+
* 身份证国徽面告警码,开启身份证告警功能后才会返回,返回数组中可能出现的告警码如下:
|
|
2572
2291
|
-9100 身份证有效日期不合法告警,
|
|
2573
2292
|
-9101 身份证边框不完整告警,
|
|
2574
2293
|
-9102 身份证复印件告警,
|
|
@@ -2578,7 +2297,7 @@ export interface DetectInfoIdCardData {
|
|
|
2578
2297
|
-9106 身份证 PS 告警,
|
|
2579
2298
|
-9107 身份证反光告警。
|
|
2580
2299
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2581
|
-
|
|
2300
|
+
*/
|
|
2582
2301
|
BackWarnInfos: Array<number>
|
|
2583
2302
|
}
|
|
2584
2303
|
|
|
@@ -2590,12 +2309,10 @@ export interface CheckPhoneAndNameRequest {
|
|
|
2590
2309
|
* ⼿机号
|
|
2591
2310
|
*/
|
|
2592
2311
|
Mobile: string
|
|
2593
|
-
|
|
2594
2312
|
/**
|
|
2595
2313
|
* 姓名
|
|
2596
2314
|
*/
|
|
2597
2315
|
Name: string
|
|
2598
|
-
|
|
2599
2316
|
/**
|
|
2600
2317
|
* 敏感数据加密信息。对传入信息(姓名、手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
2601
2318
|
*/
|
|
@@ -2607,16 +2324,14 @@ export interface CheckPhoneAndNameRequest {
|
|
|
2607
2324
|
*/
|
|
2608
2325
|
export interface GetEidTokenResponse {
|
|
2609
2326
|
/**
|
|
2610
|
-
|
|
2327
|
+
* 一次核身流程的标识,有效时间为600秒;
|
|
2611
2328
|
完成核身后,可用该标识获取验证结果信息。
|
|
2612
|
-
|
|
2329
|
+
*/
|
|
2613
2330
|
EidToken: string
|
|
2614
|
-
|
|
2615
2331
|
/**
|
|
2616
2332
|
* 发起核身流程的URL,用于H5场景核身。
|
|
2617
2333
|
*/
|
|
2618
2334
|
Url: string
|
|
2619
|
-
|
|
2620
2335
|
/**
|
|
2621
2336
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2622
2337
|
*/
|
|
@@ -2628,39 +2343,34 @@ export interface GetEidTokenResponse {
|
|
|
2628
2343
|
*/
|
|
2629
2344
|
export interface IntentionVerifyData {
|
|
2630
2345
|
/**
|
|
2631
|
-
|
|
2346
|
+
* 意愿确认环节中录制的视频(base64)。若不存在则为空字符串。
|
|
2632
2347
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2633
|
-
|
|
2348
|
+
*/
|
|
2634
2349
|
IntentionVerifyVideo: string
|
|
2635
|
-
|
|
2636
2350
|
/**
|
|
2637
|
-
|
|
2351
|
+
* 意愿确认环节中用户语音转文字的识别结果。若不存在则为空字符串。
|
|
2638
2352
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2639
|
-
|
|
2353
|
+
*/
|
|
2640
2354
|
AsrResult: string
|
|
2641
|
-
|
|
2642
2355
|
/**
|
|
2643
|
-
|
|
2356
|
+
* 意愿确认环节的结果码。当该结果码为0时,语音朗读的视频与语音识别结果才会返回。
|
|
2644
2357
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2645
|
-
|
|
2358
|
+
*/
|
|
2646
2359
|
ErrorCode: number
|
|
2647
|
-
|
|
2648
2360
|
/**
|
|
2649
|
-
|
|
2361
|
+
* 意愿确认环节的结果信息。
|
|
2650
2362
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2651
|
-
|
|
2363
|
+
*/
|
|
2652
2364
|
ErrorMessage: string
|
|
2653
|
-
|
|
2654
2365
|
/**
|
|
2655
|
-
|
|
2366
|
+
* 意愿确认环节中录制视频的最佳帧(base64)。若不存在则为空字符串。
|
|
2656
2367
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2657
|
-
|
|
2368
|
+
*/
|
|
2658
2369
|
IntentionVerifyBestFrame: string
|
|
2659
|
-
|
|
2660
2370
|
/**
|
|
2661
|
-
|
|
2371
|
+
* 本次流程用户语音与传入文本比对的相似度分值,取值范围 [0.00, 100.00]。只有配置了相似度阈值后才进行语音校验并返回相似度分值。
|
|
2662
2372
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2663
|
-
|
|
2373
|
+
*/
|
|
2664
2374
|
AsrResultSimilarity: string
|
|
2665
2375
|
}
|
|
2666
2376
|
|
|
@@ -2669,60 +2379,54 @@ export interface IntentionVerifyData {
|
|
|
2669
2379
|
*/
|
|
2670
2380
|
export interface LivenessCompareRequest {
|
|
2671
2381
|
/**
|
|
2672
|
-
|
|
2382
|
+
* 活体检测类型,取值:LIP/ACTION/SILENT。
|
|
2673
2383
|
LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模式选择一种传入。
|
|
2674
|
-
|
|
2384
|
+
*/
|
|
2675
2385
|
LivenessType: string
|
|
2676
|
-
|
|
2677
2386
|
/**
|
|
2678
|
-
|
|
2387
|
+
* 用于人脸比对的照片的Base64值;
|
|
2679
2388
|
Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。
|
|
2680
2389
|
请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
|
|
2681
2390
|
|
|
2682
2391
|
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageBase64。
|
|
2683
|
-
|
|
2392
|
+
*/
|
|
2684
2393
|
ImageBase64?: string
|
|
2685
|
-
|
|
2686
2394
|
/**
|
|
2687
|
-
|
|
2395
|
+
* 用于人脸比对照片的URL地址;图片下载后经Base64编码后的数据大小不超过3M,仅支持jpg、png格式。
|
|
2688
2396
|
|
|
2689
2397
|
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageBase64。
|
|
2690
2398
|
|
|
2691
2399
|
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
2692
|
-
|
|
2400
|
+
*/
|
|
2693
2401
|
ImageUrl?: string
|
|
2694
|
-
|
|
2695
2402
|
/**
|
|
2696
|
-
|
|
2403
|
+
* 数字模式传参:传数字验证码,验证码需先调用<a href="https://cloud.tencent.com/document/product/1007/31821">获取数字验证码接口</a>得到;
|
|
2697
2404
|
动作模式传参:传动作顺序,动作顺序需先调用<a href="https://cloud.tencent.com/document/product/1007/31822">获取动作顺序接口</a>得到;
|
|
2698
2405
|
静默模式传参:空。
|
|
2699
|
-
|
|
2406
|
+
*/
|
|
2700
2407
|
ValidateData?: string
|
|
2701
|
-
|
|
2702
2408
|
/**
|
|
2703
|
-
|
|
2409
|
+
* 额外配置,传入JSON字符串。
|
|
2704
2410
|
{
|
|
2705
2411
|
"BestFrameNum": 2 //需要返回多张最佳截图,取值范围2-10
|
|
2706
2412
|
}
|
|
2707
|
-
|
|
2413
|
+
*/
|
|
2708
2414
|
Optional?: string
|
|
2709
|
-
|
|
2710
2415
|
/**
|
|
2711
|
-
|
|
2416
|
+
* 用于活体检测的视频,视频的Base64值;
|
|
2712
2417
|
Base64编码后的大小不超过8M,支持mp4、avi、flv格式。
|
|
2713
2418
|
请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
|
|
2714
2419
|
|
|
2715
2420
|
视频的 VideoUrl、VideoBase64 必须提供一个,如果都提供,只使用 VideoBase64。
|
|
2716
|
-
|
|
2421
|
+
*/
|
|
2717
2422
|
VideoBase64?: string
|
|
2718
|
-
|
|
2719
2423
|
/**
|
|
2720
|
-
|
|
2424
|
+
* 用于活体检测的视频Url 地址。视频下载后经Base64编码后不超过 8M,视频下载耗时不超过4S,支持mp4、avi、flv格式。
|
|
2721
2425
|
|
|
2722
2426
|
视频的 VideoUrl、VideoBase64 必须提供一个,如果都提供,只使用 VideoBase64。
|
|
2723
2427
|
|
|
2724
2428
|
建议视频存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议视频存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
2725
|
-
|
|
2429
|
+
*/
|
|
2726
2430
|
VideoUrl?: string
|
|
2727
2431
|
}
|
|
2728
2432
|
|
|
@@ -2731,96 +2435,83 @@ Base64编码后的大小不超过8M,支持mp4、avi、flv格式。
|
|
|
2731
2435
|
*/
|
|
2732
2436
|
export interface DetectDetail {
|
|
2733
2437
|
/**
|
|
2734
|
-
|
|
2438
|
+
* 请求时间戳。
|
|
2735
2439
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2736
|
-
|
|
2440
|
+
*/
|
|
2737
2441
|
ReqTime: string
|
|
2738
|
-
|
|
2739
2442
|
/**
|
|
2740
|
-
|
|
2443
|
+
* 本次活体一比一请求的唯一标记。
|
|
2741
2444
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2742
|
-
|
|
2445
|
+
*/
|
|
2743
2446
|
Seq: string
|
|
2744
|
-
|
|
2745
2447
|
/**
|
|
2746
|
-
|
|
2448
|
+
* 参与本次活体一比一的身份证号。
|
|
2747
2449
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2748
|
-
|
|
2450
|
+
*/
|
|
2749
2451
|
Idcard: string
|
|
2750
|
-
|
|
2751
2452
|
/**
|
|
2752
|
-
|
|
2453
|
+
* 参与本次活体一比一的姓名。
|
|
2753
2454
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2754
|
-
|
|
2455
|
+
*/
|
|
2755
2456
|
Name: string
|
|
2756
|
-
|
|
2757
2457
|
/**
|
|
2758
|
-
|
|
2458
|
+
* 本次活体一比一的相似度。
|
|
2759
2459
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2760
|
-
|
|
2460
|
+
*/
|
|
2761
2461
|
Sim: string
|
|
2762
|
-
|
|
2763
2462
|
/**
|
|
2764
|
-
|
|
2463
|
+
* 本次活体一比一是否收费
|
|
2765
2464
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2766
|
-
|
|
2465
|
+
*/
|
|
2767
2466
|
IsNeedCharge: boolean
|
|
2768
|
-
|
|
2769
2467
|
/**
|
|
2770
|
-
|
|
2468
|
+
* 本次活体一比一最终结果。0为成功
|
|
2771
2469
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2772
|
-
|
|
2470
|
+
*/
|
|
2773
2471
|
Errcode: number
|
|
2774
|
-
|
|
2775
2472
|
/**
|
|
2776
|
-
|
|
2473
|
+
* 本次活体一比一最终结果描述。(仅描述用,文案更新时不会通知。)
|
|
2777
2474
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2778
|
-
|
|
2475
|
+
*/
|
|
2779
2476
|
Errmsg: string
|
|
2780
|
-
|
|
2781
2477
|
/**
|
|
2782
|
-
|
|
2478
|
+
* 本次活体结果。0为成功
|
|
2783
2479
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2784
|
-
|
|
2480
|
+
*/
|
|
2785
2481
|
Livestatus: number
|
|
2786
|
-
|
|
2787
2482
|
/**
|
|
2788
|
-
|
|
2483
|
+
* 本次活体结果描述。(仅描述用,文案更新时不会通知。)
|
|
2789
2484
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2790
|
-
|
|
2485
|
+
*/
|
|
2791
2486
|
Livemsg: string
|
|
2792
|
-
|
|
2793
2487
|
/**
|
|
2794
|
-
|
|
2488
|
+
* 本次一比一结果。0为成功
|
|
2795
2489
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2796
|
-
|
|
2490
|
+
*/
|
|
2797
2491
|
Comparestatus: number
|
|
2798
|
-
|
|
2799
2492
|
/**
|
|
2800
|
-
|
|
2493
|
+
* 本次一比一结果描述。(仅描述用,文案更新时不会通知。)
|
|
2801
2494
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2802
|
-
|
|
2495
|
+
*/
|
|
2803
2496
|
Comparemsg: string
|
|
2804
|
-
|
|
2805
2497
|
/**
|
|
2806
|
-
|
|
2498
|
+
* 比对库源类型。包括:
|
|
2807
2499
|
公安商业库;
|
|
2808
2500
|
业务方自有库(用户上传照片、客户的混合库、混合部署库);
|
|
2809
2501
|
二次验证库;
|
|
2810
2502
|
人工审核库;
|
|
2811
2503
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2812
|
-
|
|
2504
|
+
*/
|
|
2813
2505
|
CompareLibType: string
|
|
2814
|
-
|
|
2815
2506
|
/**
|
|
2816
|
-
|
|
2507
|
+
* 枚举活体检测类型:
|
|
2817
2508
|
0:未知
|
|
2818
2509
|
1:数字活体
|
|
2819
2510
|
2:动作活体
|
|
2820
2511
|
3:静默活体
|
|
2821
2512
|
4:一闪活体(动作+光线)
|
|
2822
2513
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2823
|
-
|
|
2514
|
+
*/
|
|
2824
2515
|
LivenessMode: number
|
|
2825
2516
|
}
|
|
2826
2517
|
|
|
@@ -2832,47 +2523,39 @@ export interface GetFaceIdResultResponse {
|
|
|
2832
2523
|
* 身份证
|
|
2833
2524
|
*/
|
|
2834
2525
|
IdCard: string
|
|
2835
|
-
|
|
2836
2526
|
/**
|
|
2837
2527
|
* 姓名
|
|
2838
2528
|
*/
|
|
2839
2529
|
Name: string
|
|
2840
|
-
|
|
2841
2530
|
/**
|
|
2842
2531
|
* 业务核验结果,参考https://cloud.tencent.com/document/product/1007/47912
|
|
2843
2532
|
*/
|
|
2844
2533
|
Result: string
|
|
2845
|
-
|
|
2846
2534
|
/**
|
|
2847
2535
|
* 业务核验描述
|
|
2848
2536
|
*/
|
|
2849
2537
|
Description: string
|
|
2850
|
-
|
|
2851
2538
|
/**
|
|
2852
2539
|
* 相似度,0-100,数值越大相似度越高
|
|
2853
2540
|
*/
|
|
2854
2541
|
Similarity: number
|
|
2855
|
-
|
|
2856
2542
|
/**
|
|
2857
|
-
|
|
2543
|
+
* 用户核验的视频base64,如果选择了使用cos,返回完整cos地址如https://bucket.cos.ap-guangzhou.myqcloud.com/objectKey
|
|
2858
2544
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2859
|
-
|
|
2545
|
+
*/
|
|
2860
2546
|
VideoBase64: string
|
|
2861
|
-
|
|
2862
2547
|
/**
|
|
2863
|
-
|
|
2548
|
+
* 用户核验视频的截帧base64,如果选择了使用cos,返回完整cos地址如https://bucket.cos.ap-guangzhou.myqcloud.com/objectKey
|
|
2864
2549
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2865
|
-
|
|
2550
|
+
*/
|
|
2866
2551
|
BestFrameBase64: string
|
|
2867
|
-
|
|
2868
2552
|
/**
|
|
2869
|
-
|
|
2553
|
+
* 获取token时透传的信息
|
|
2870
2554
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2871
|
-
|
|
2555
|
+
*/
|
|
2872
2556
|
Extra: string
|
|
2873
|
-
|
|
2874
2557
|
/**
|
|
2875
|
-
|
|
2558
|
+
* 设备风险标签,仅错误码返回1007(设备疑似被劫持)时返回风险标签。标签说明:
|
|
2876
2559
|
202、5001:设备疑似被Root
|
|
2877
2560
|
203、5004:设备疑似被注入
|
|
2878
2561
|
205:设备疑似被Hook
|
|
@@ -2880,16 +2563,14 @@ export interface GetFaceIdResultResponse {
|
|
|
2880
2563
|
5007、1005:设备疑似摄像头被劫持
|
|
2881
2564
|
8000:设备疑似存在异常篡改行为
|
|
2882
2565
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2883
|
-
|
|
2566
|
+
*/
|
|
2884
2567
|
DeviceInfoTag: string
|
|
2885
|
-
|
|
2886
2568
|
/**
|
|
2887
|
-
|
|
2569
|
+
* 行为风险标签,仅错误码返回1007(设备疑似被劫持)时返回风险标签。标签说明:
|
|
2888
2570
|
02:攻击风险
|
|
2889
2571
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2890
|
-
|
|
2572
|
+
*/
|
|
2891
2573
|
RiskInfoTag: string
|
|
2892
|
-
|
|
2893
2574
|
/**
|
|
2894
2575
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2895
2576
|
*/
|
|
@@ -2904,24 +2585,21 @@ export interface EncryptedPhoneVerificationRequest {
|
|
|
2904
2585
|
* 身份证号,加密方式以EncryptionMode为准
|
|
2905
2586
|
*/
|
|
2906
2587
|
IdCard: string
|
|
2907
|
-
|
|
2908
2588
|
/**
|
|
2909
2589
|
* 姓名,加密方式以EncryptionMode为准
|
|
2910
2590
|
*/
|
|
2911
2591
|
Name: string
|
|
2912
|
-
|
|
2913
2592
|
/**
|
|
2914
2593
|
* 手机号,加密方式以EncryptionMode为准
|
|
2915
2594
|
*/
|
|
2916
2595
|
Phone: string
|
|
2917
|
-
|
|
2918
2596
|
/**
|
|
2919
|
-
|
|
2597
|
+
* 敏感信息的加密方式,目前支持明文、MD5和SHA256加密传输,参数取值:
|
|
2920
2598
|
|
|
2921
2599
|
0:明文,不加密
|
|
2922
2600
|
1: 使用MD5加密
|
|
2923
2601
|
2: 使用SHA256
|
|
2924
|
-
|
|
2602
|
+
*/
|
|
2925
2603
|
EncryptionMode: string
|
|
2926
2604
|
}
|
|
2927
2605
|
|
|
@@ -2933,7 +2611,6 @@ export interface IntentionQuestion {
|
|
|
2933
2611
|
* 系统播报的问题文本,问题最大长度为150个字符。
|
|
2934
2612
|
*/
|
|
2935
2613
|
Question: string
|
|
2936
|
-
|
|
2937
2614
|
/**
|
|
2938
2615
|
* 用户答案的标准文本列表,用于识别用户回答的语音与标准文本是否一致。列表长度最大为50,单个答案长度限制10个字符。
|
|
2939
2616
|
*/
|
|
@@ -2945,7 +2622,7 @@ export interface IntentionQuestion {
|
|
|
2945
2622
|
*/
|
|
2946
2623
|
export interface EncryptedPhoneVerificationResponse {
|
|
2947
2624
|
/**
|
|
2948
|
-
|
|
2625
|
+
* 认证结果码:
|
|
2949
2626
|
【收费结果码】
|
|
2950
2627
|
0: 三要素信息一致
|
|
2951
2628
|
-4: 三要素信息不一致
|
|
@@ -2955,20 +2632,17 @@ export interface EncryptedPhoneVerificationResponse {
|
|
|
2955
2632
|
-8: 参数错误
|
|
2956
2633
|
-9: 没有记录
|
|
2957
2634
|
-11: 验证中心服务繁忙
|
|
2958
|
-
|
|
2635
|
+
*/
|
|
2959
2636
|
Result: string
|
|
2960
|
-
|
|
2961
2637
|
/**
|
|
2962
2638
|
* 业务结果描述。
|
|
2963
2639
|
*/
|
|
2964
2640
|
Description: string
|
|
2965
|
-
|
|
2966
2641
|
/**
|
|
2967
|
-
|
|
2642
|
+
* 运营商名称。
|
|
2968
2643
|
取值范围为["移动","联通","电信",""]
|
|
2969
|
-
|
|
2644
|
+
*/
|
|
2970
2645
|
ISP: string
|
|
2971
|
-
|
|
2972
2646
|
/**
|
|
2973
2647
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2974
2648
|
*/
|