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":"Test Manish Gupta",
"consent":true,
"consent_purpose":"for bank account purpose only",
"image": "Upload Image",
"image_url":"Image URL"
}
{
    "decentroTxnId": "DECXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    "status": "SUCCESS",
    "responseCode": "S00000",
    "message": "Photocopy check performed successfully",
    "data": {
        "score": "1.0",
        "isPhotocopy": "No"
    }
}