PhotoCopy Check

PhotoCopy Check API can be used to check if the image is a photocopy by either uploading the image in the request URL or by passing the image URL in the request body.

API Requirements

Supported Formats: This API supports a limited set of image extensions or file formats -

  • JPG
  • JPEG
  • PNG
  • PDF

Maximum File Size: This API supports an image with a max size of 2MB.

Sample Request & Response

{
"reference_id":"ABCDEF12345",
"consent":true,
"consent_purpose":"for bank account purpose only",
"image_url":"<Image URL>"
}
{
    "decentroTxnId": "DECXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    "status": "SUCCESS",
    "responseCode": "S00000",
    "message": "Photocopy check performed successfully",
    "data": {
        "score": "0.93",
        "isPhotocopy": "No"
    },
    "responseKey": "success_photocopy_check"
}