{"info":{"_postman_id":"27799091-1c03-4f41-b779-81b946156bd3","name":"Passport  Machine-Readable Zone Verification","description":"<html><head></head><body><p>The Passport Machine-Readable Zone Verification API offers a robust solution for validating the machine-readable zone (MRZ) of passports. By utilizing this API, users can verify the integrity and accuracy of the MRZ data on passports, ensuring compliance and enhancing the efficiency of passport verification processes. This API provides a seamless method to perform MRZ validation, enabling users to automate the extraction and verification of data from passport MRZ, reducing errors and improving the reliability of passport verification.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"30522218","collectionId":"27799091-1c03-4f41-b779-81b946156bd3","publishedId":"2s9Ye8hFS6","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"4169e1"},"publishDate":"2023-11-20T11:30:37.000Z"},"item":[{"name":"get_bearer_token","item":[{"name":"/users/signin","id":"836cde0f-a063-4837-a9c9-0e4987df3258","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"xxxx\",\n    \"password\":\"xxxx\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://prod.crimescan.ai/v1/verifyApi/signIn","description":"<p>This API facilitates the assessment of cybercrime involvement for UPI IDs, bank accounts, mobile numbers, and vehicle details</p>\n","urlObject":{"protocol":"https","path":["v1","verifyApi","signIn"],"host":["prod","crimescan","ai"],"query":[],"variable":[]}},"response":[{"id":"42579b95-0a00-458d-bc87-17ed6b474654","name":"authentication fail","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"xxxxxx\",\n    \"password\":\"xxxx\"\n}","options":{"raw":{"language":"json"}}},"url":"https://prod.crimescan.ai/v1/verifyApi/signIn"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 31 Oct 2023 10:58:55 GMT"},{"key":"Server","value":"Apache/2.4.7 (Ubuntu)"},{"key":"Content-Length","value":"34"},{"key":"Content-Type","value":"application/json"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 401,\n    \"statusMsg\": \"Failed\",\n    \"msg\": \"Unauthorized access!\"\n}"},{"id":"5f0d50b6-e672-43f9-8c81-3b5b6b1571e6","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"xxxx\",\n    \"password\":\"xxxxx\"\n}","options":{"raw":{"language":"json"}}},"url":"https://prod.crimescan.ai/v1/verifyApi/signIn"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"1082485"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 31 Oct 2023 11:49:47 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"statusMsg\": \"Success\",\n    \"user\": \"xxxxx\",\n    \"Api key Expiration time\": \"After every 259200 seconds (72 hours)\",\n    \"apiKey\": \"xxxxx\"\n}"}],"_postman_id":"836cde0f-a063-4837-a9c9-0e4987df3258"}],"id":"7b18930a-ad64-47dd-9431-9476843da7be","description":"<p>The \"Get Bearer Token\" API enables authentication by sending a POST request with username and password, securing access through a generated bearer token for subsequent authorized requests.</p>\n<p><strong>Method: POST</strong></p>\n<p><strong>URL :</strong> <a href=\"https://prod.crimescan.ai/v1/verifyApi/signIn\">https://prod.crimescan.ai/v1/verifyApi/signIn</a></p>\n<p><strong>Function</strong>: generate bearer token<br /><strong>Parameters</strong> : username, password<br /><strong>Output Type</strong> : JSON</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>fields</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Required/Optional</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>username</td>\n<td>user name</td>\n<td>required</td>\n</tr>\n<tr>\n<td>password</td>\n<td>password</td>\n<td>required</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<p><code>curl --location --request POST'\\</code></p>\n<p><code>'</code><a href=\"https://prod.crimescan.ai/v1/verifyApi/signIn\"><code>https://prod.crimescan.ai/v1/verifyApi/signIn</code></a><code>'</code> <code>\\</code></p>\n<p><code>--header 'Content-Type: application/x-www-form-urlencoded' \\</code></p>\n<p><code>--data-urlencode 'username=xxxx' \\</code></p>\n<p><code>--data-urlencode 'password=xxxxx'</code></p>\n<p><strong>Response:</strong></p>\n<p><strong>If success-</strong></p>\n<p>{</p>\n<p>\"statusCode\": 200,</p>\n<p>\"statusMsg\": \"Success\",</p>\n<p>\"user\": \"dummy\",</p>\n<p>\"apiKeyExpirationTime\": \"After every 86400 seconds (24 hours)\",</p>\n<p>\"apiKey\": \"eyJXXXX\"</p>\n<p>}</p>\n<p><strong>If unsuccessfull-</strong></p>\n<p>{</p>\n<p>\"statusCode\": 401,</p>\n<p>\"statusMsg\": \"Failed\",</p>\n<p>\"msg\": \"Unauthorized access!\"</p>\n<p>}</p>\n<p><strong>HTTP Status Codes:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Codes</th>\n<th><strong>Explanation</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>ok</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Incorrect Input</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication Failed</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"7b18930a-ad64-47dd-9431-9476843da7be"},{"name":"Verify Passport-MRZ","item":[{"name":"verify","id":"2359cd5f-9700-4d2e-8d43-f9d230b567f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"type","value":"16","type":"text"},{"key":"username","value":"xxxxxx","type":"text"},{"key":"file","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/home/valuepitch/Downloads/mrz.jpg"],"src":"/home/valuepitch/Downloads/mrz.jpg"}]},"url":"https://prod.crimescan.ai/v1/verifyApi/passport_mrz","description":"<p>This API facilitates the assessment of cybercrime involvement for UPI IDs, bank accounts, mobile numbers, and vehicle details</p>\n","urlObject":{"protocol":"https","path":["v1","verifyApi","passport_mrz"],"host":["prod","crimescan","ai"],"query":[],"variable":[]}},"response":[{"id":"f1580789-72b4-407e-bc0b-6f8f9aa28b62","name":"verify","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": 16,\n    \"username\": \"XXX\",\n    \"file\": \"XXXXXX\"\n}","options":{"raw":{"language":"json"}}},"url":"https://prod.crimescan.ai/v1/verifyApi/passport_mrz"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 19 Nov 2023 17:03:48 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"strict-transport-security","value":"max-age=15552000"},{"key":"x-download-options","value":"noopen"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-ratelimit-limit","value":"10000"},{"key":"x-ratelimit-remaining","value":"9999"},{"key":"x-ratelimit-reset","value":"1700413600"},{"key":"etag","value":"W/\"102-TVkZbOoCybRIRjUqHFiUKCCBUz4\""},{"key":"vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=JK9pRpWH%2FAqxQi%2BvDySqorrUEDz3%2BQcmuB1lIXocFpNk1JxQmOhQX085Wh%2FVgvP7bIVxFI8jhhOuvtDE8ytu%2FmNXer6j7in5xzUiWJX3XLEUdCy8vNU1efc6hrcgxCXRoKpV\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"828a06a80cbe1bd6-BOM"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"statusMsg\": \"Success\",\n    \"result\": true,\n    \"msg\": \"Valid Passport Number\",\n    \"data\": {\n        \"date_of_application\": \"XXXX\",\n        \"dob\": \"XXX\",\n        \"full_name\": \"XXXXX\",\n        \"client_id\": \"passport_XXXXXXXX\",\n        \"passport_number\": \"XXXXX\",\n        \"file_number\": \"XXXXXX\"\n    }\n}\n"},{"id":"d4122e30-2a01-4b5a-809b-52b41b0b7fc9","name":"authentication_fail","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": 16,\n    \"username\": \"XXX\",\n    \"file\": \"XXXXXX\"\n}","options":{"raw":{"language":"json"}}},"url":"https://prod.crimescan.ai/v1/verifyApi/passport_mrz"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 19 Nov 2023 17:06:05 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"strict-transport-security","value":"max-age=15552000"},{"key":"x-download-options","value":"noopen"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-ratelimit-limit","value":"10000"},{"key":"x-ratelimit-remaining","value":"9999"},{"key":"x-ratelimit-reset","value":"1700413780"},{"key":"etag","value":"W/\"44-QkR0TJxFxET++GATCGG3/HwwMk0\""},{"key":"vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=S33BRhAGcxJpowF3QhGDUfIUXZbfYuNXgBGWzz1DFtltThpeh%2FKFaGbXlrLL1cGQVjM1TL5usGLM8tyZj8GHMMVF7qAjjbRMeJ5zpDLTMaA0s7DiJ98uq2mDk4J2VY70xMvJ\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"828a0aadeccf1bd6-BOM"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 401,\n    \"statusMsg\": \"Failed\",\n    \"msg\": \"Unauthorized access!\"\n}"}],"_postman_id":"2359cd5f-9700-4d2e-8d43-f9d230b567f7"}],"id":"c41c4df8-85b2-4ac3-b081-b2e8a4ecbf7c","description":"<p>The \"Verify Passport-MRZ\" API enables authentication by sending a POST request with username and password, securing access through a generated bearer token for subsequent authorized requests.</p>\n<p><strong>Method: POST</strong></p>\n<p><strong>URL :</strong> <a href=\"https://prod.crimescan.ai/v1/verifyApi/passport_mrz\">https://prod.crimescan.ai/v1/verifyApi/passport_mrz</a></p>\n<p><strong>Function</strong>: Verify Passport<br /><strong>Parameters</strong> : type,username, passport_file_no, dob<br /><strong>Output Type</strong> : JSON</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>fields</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Required/Optional</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td></td>\n<td>required</td>\n</tr>\n<tr>\n<td>username</td>\n<td>user name</td>\n<td>required</td>\n</tr>\n<tr>\n<td>passport_file_no</td>\n<td>passport file number</td>\n<td>required</td>\n</tr>\n<tr>\n<td>dob</td>\n<td>date of birth</td>\n<td>required</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<p><code>curl --location --request POST '\\</code></p>\n<p><a href=\"https://prod.crimescan.ai/v1/verifyApi/passport_mrz\"><code>https://prod.crimescan.ai/v1/verifyApi/passport_mrz</code></a><code>' \\</code></p>\n<p><code>--header 'Authorization: Bearer eyXXX \\</code></p>\n<p><code>--form 'file=@/file-path/file_img.jpg' \\</code></p>\n<p><code>--form 'username=XXX' \\</code></p>\n<p><code>--form 'type=16'</code></p>\n<p><strong>Response:</strong></p>\n<p><strong>If success-</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"statusMsg\": \"Success\",\n    \"result\": true,\n    \"msg\": \"Valid Passport\",\n    \"data\": {\n        \"file_num\": null,\n        \"old_place_of_issue\": null,\n        \"mother\": null,\n        \"old_passport_num\": null,\n        \"given_name\": \"XXXX\",\n        \"country_code\": “XXX\",\n        \"doi\": \"XXX\",\n        \"nationality\": \"XXXXX\",\n        \"surname\": \"XXXXX\",\n        \"mrz_line_1\": \"XXXXXXX\",\n        \"pin\": null,\n        \"doe\": \"XXXXX\",\n        \"old_doi\": null,\n        \"father\": null,\n        \"dob\": \"XXX\",\n        \"client_id\": \"XXXXXX\",\n        \"mrz_line_2\": \"XXXXXXX\",\n        \"place_of_issue\": \"XXXX\",\n        \"spouse\": null,\n        \"type_of_passport\": \"P\",\n        \"passport_validity\": true,\n        \"passport_num\": \"XXXXX\",\n        \"additional_check\": [],\n        \"place_of_birth\": \"XXXXXX\",\n        \"gender\": \"F\",\n        \"address\": null\n    }\n}\n\n</code></pre><p><strong>If file exceeds 5MB-</strong></p>\n<p>{</p>\n<p>\"statusCode\": 412,</p>\n<p>\"statusMsg\": \"Failed\",</p>\n<p>\"msg\": \"File size must not exceed 5MB!! Please upload file within 5MB\"</p>\n<p>}</p>\n<p><strong>If api key has been expired-</strong></p>\n<p>{</p>\n<p>\"statusCode\": 401</p>\n<p>\"statusMsg\": \"Failed\",</p>\n<p>\"msg\": \"Unauthorized access!\"</p>\n<p>}</p>\n<p><strong>If username is missing:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 401,\n    \"statusMsg\": \"Failed\",\n    \"msg\": \"Username is missing!\"\n}\n\n</code></pre><p><strong>If username is invalid:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n\"statusCode\": 401,\n\"statusMsg\": \"Failed\",\n\"msg\": \"Username is invalid!\"\n}\n\n</code></pre><p><strong>If passport is missing:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code> {\n    \"statusCode\": 400,\n    \"statusMsg\": \"Failed\",\n    \"result\": false,\n    \"msg\": \"Passport Is missing\"\n}\n\n</code></pre><p><strong>HTTP Status Codes:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Codes</th>\n<th><strong>Explanation</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>ok</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Incorrect Input</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication Failed</td>\n</tr>\n<tr>\n<td>412</td>\n<td>file size error</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"c41c4df8-85b2-4ac3-b081-b2e8a4ecbf7c"}],"variable":[{"key":"manual_court_record_check","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Im5lZWtpdCIsImlhdCI6MTY5ODIxNjM4NH0.XJK9qKkYxBwdXsviaz8QBw3nvZ7iiudriq1IPW-5AKg"}]}