Nhảy tới nội dung

Face Search Upload

API to upload necessary images.

Request

  • Endpoint: /v1/api/ekyc-verify/upload/face-search

  • Method: POST

  • Header

    NameTypeRequiredDescription
    api_keystringyesThe API key associated with your account to authenticate requests (for development, check the Credentials section).
  • Parameters

    NameTypeRequiredDescription
    session_idstringyesCurrent session ID.
    image_typestring (enum)yes

    Supported image types (of submitted images):

    • Selfie image: selfie
  • Body

    • Type: application/json

    • Data:

      NameTypeRequiredDescription
      image_bytesbinaryyesUploaded image.

Response

  • Status: 200 OK

  • Body: JSON

    {
    "code": 0,
    "message": "Successful",
    "data": "<ENCRYPTED_DATA_IN_BASE64>"
    }
    • Field “data”: Decrypt the “data” field as described in the Decrypt response data section to get the JSON object with following fields.

      NameTypeDescription
      photo_idnumberID of the uploaded image.