What are the image types I can upload to Smile ID?
There are 3 image types Smile ID uses to process a job, depending on your product of choice
- Selfie
- ID card photo
- Liveness images
Parameter | Required | Data Type | Description |
image_type_id | yes | Integer | It can be 0, 1, 2 or 3. The description of each Integer can be found in the table below. |
image | yes | String | For image types 0 and 1, this specifies the path to the image. For image types 2 and 3 it contains the base64 encoded image. |
Use the following chart to declare the image_type_id:
image_type_id | Indicates |
0 | Selfie image in .png or .jpg file format |
1 | ID card image in .png or .jpg file format |
2 | Base64 encoded selfie image (.png or .jpg) |
3 | Base64 encoded ID card image (.png or .jpg) |
4 | Liveness image in .png or .jpg file format |
5 | Back of ID card image in .png or .jpg file format |
6 | Base64 encoded liveness image (.jpg or .png) |
7 | Base64 encoded back of ID card image (.jpg or .png) |
Last modified 1yr ago