78 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Markdown
		
	
	
	
			
		
		
	
	
			78 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Markdown
		
	
	
	
| # Verify
 | |
| 
 | |
|  Passport(会员通行证)-验证
 | |
| 
 | |
| - [/passport.Verify/Request](#passportverifyrequest)
 | |
| - [/passport.Verify/JumioCallback](#passportverifyjumiocallback)
 | |
| 
 | |
| ## /passport.Verify/Request
 | |
| 
 | |
|  认证请求
 | |
| 
 | |
| 
 | |
| ### Request
 | |
| ```javascript
 | |
| {
 | |
|     provider: "", // type<string>, 服务提供商
 | |
|     args: {
 | |
|         "": ""
 | |
|     }, // map<string,string>, 参数
 | |
| }
 | |
| ```
 | |
| 
 | |
| ### Reply
 | |
| ```javascript
 | |
| {
 | |
|     code: 0, // type<int32>, 状态码
 | |
|     message: "", // type<string>, 状态说明
 | |
|     details: "", // type<string>, 数据
 | |
|     timeseq: "0", // type<int64>, 响应时间序列
 | |
| }
 | |
| ```
 | |
| ## /passport.Verify/JumioCallback
 | |
| 
 | |
|  KYC 认证回调
 | |
| 
 | |
| 
 | |
| ### Request
 | |
| ```javascript
 | |
| {
 | |
|     scan_reference: "", // type<string>
 | |
|     customer_internal_reference: "", // type<string>
 | |
|     verification_status: {
 | |
|         state: "", // type<string>, "PENDING", "DONE", "FAILED"
 | |
|         reason: "", // type<string>, 可选字段,失败原因
 | |
|     }, // type<VerificationStatus>
 | |
|     document: {
 | |
|         status: "", // type<string>, "APPROVED_VERIFIED", "DENIED_FRAUD", etc.
 | |
|         type: "", // type<string>, "PASSPORT", "DRIVER_LICENSE", etc.
 | |
|         issuing_country: "", // type<string>
 | |
|         number: "", // type<string>
 | |
|     }, // type<Document>
 | |
|     // 其他可选字段
 | |
|     personal_information: {
 | |
|         first_name: "", // type<string>
 | |
|         last_name: "", // type<string>
 | |
|         date_of_birth: "", // type<string>
 | |
|         nationality: "", // type<string>
 | |
|     }, // type<PersonalInformation>
 | |
|     face_map: {
 | |
|         status: "", // type<string>
 | |
|         similarity: 0.0, // type<float>, 人脸比对相似度
 | |
|     }, // type<FaceMap>
 | |
|     callback_date: "", // type<string>
 | |
|     client_ip: "", // type<string>
 | |
| }
 | |
| ```
 | |
| 
 | |
| ### Reply
 | |
| ```javascript
 | |
| {
 | |
|     code: 0, // type<int32>, 状态码
 | |
|     message: "", // type<string>, 状态说明
 | |
|     details: "", // type<string>, 数据
 | |
|     timeseq: "0", // type<int64>, 响应时间序列
 | |
| }
 | |
| ```
 | |
| 
 |