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 .jpg file format only |
1 | ID card image in .jpg file format only |
2 | Base64 encoded selfie image (.jpg only) |
3 | Base64 encoded ID card image (.jpg only) |
4 | Liveness image in .jpg file format only |
5 | Back of ID card image in .jpg file format only |
6 | Base64 encoded liveness image (.jpg only) |
7 | Base64 encoded back of ID card image (.jpg only) |
Last modified 2mo ago