Identity Extension Information
data type: IdentityExt
Parameter | Type | Description | Required/Optional | Notes |
---|---|---|---|---|
face_image_type | String | Face image type | Recommended | Enumeration values: 1.url: URL of the photo, which must be accessible from the external network 2.base64: base64 value of the photo |
face_image | Array | Face image | Recommended | Face image information. If face_image_type="url", it is the specific url path; if face_image_type="base64", it is the base64 encoded value of the image. Can be 1-8 images.The image cannot exceed 2M |
face_video_type | String | Types of face videos | Recommended | Enumeration values: 1.url: URL of the video, which must be accessible from the external network 2.base64: base64 value of video |
face_video | String | Face video | Recommended | Face video information, if face_video_type="url" is the specific url path; if face_video_type="base64" is the base64 encoding value of the video |
id_image_type | String | Type of image in the portrait page of the ID document | Recommended | Enumeration values: 1.url: URL of the image, which must be accessible from the external network 2.base64: base64 value of the image |
id_image | String | Image of the portrait page of the ID document | Recommended | ID image information, if id_image_type="url" it is the specific url path; if id_image_type="base64" it is the base64 encoded value of the image.The image cannot exceed 2M |
{
"face_image_type":"url",
"face_image":[
"url1",
"url2"
],
"face_video_type":"url",
"face_video":"https://xxx...",
"id_image_type":"url",
"id_image":"https://xxx..."
}