Base64 images returned by OkayID

Guideline to extract the image (For OkayID)

For the user that is interested in extracting the image from OkayID API, please refer below to how to retrieve the image from the API:

  1. Once the API is called with the imageEnabled: "true" and faceImageEnabled: "true", it will return the OkayID's result along with the cropped id image and cropped portrait image that can get from the "Base64ImageString" and "faceImage" row (refer to Sample Response - Selfie Image in Base64 & Sample Response - Id Card Image in Base64)

  2. Users can then copy the whole base64 string and paste it into any base64 to image converter tools and convert it accordingly.

  3. After that, the user will be able to retrieve the cropped portrait image or the cropped Id card image from the API response.

This will only applies to the customer that set the parameter of the imageEnabled and faceImageEnabled to "true".

Last updated