Nhảy tới nội dung

Logic Status Checking Result

API to get the logic status checking result of the uploaded images.

Request

  • Endpoint: /v1/api/ekyc-verify/result/logic-status

  • 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.

Response

  • Status: 200 OK

  • Body: JSON

    {
    "code": 0,
    "message": "Successful",
    "data": "<ENCRYPTED_DATA_IN_BASE64>",
    "sign": "8f4642cdb4c555f9a6d5926f4df9b73e44da2e675512d65d44c0a212",
    "request_id": "12345678"
    }
    • Field “request_id”: Request's identifier, used for auditing later.

    • Field “data”: Decrypt the “data” field as described in the Decrypt response data section to get the JSON object with following fields.

      NameTypeDescription
      statusnumberThe current status of the image to verify. For details, check the Appendix eKYC Status Values section.
      msgstringMessage value corresponding to the status.
      infojsonLogic status result of each uploaded image. Format each image type:

      <image_type>: { 
        "failed_logic": { 
         <fail_logic_check_code>: <en_text>, 
        }, 
        "photo_id": <number>, 
      }


    • Field “sign”: The “sign” field is created by encrypted data and a secret key, described in the Signature section.