{"info":{"_postman_id":"2be54b91-0dc2-4de8-bf6c-bf0e1d67cfd1","name":"VerifID API","description":"<html><head></head><body><p>Latest version: V3</p>\n<p>Protocols: HTTPS</p>\n<p>Production:</p>\n<p>Base address: <a href=\"https://verifid.ondato.com\">https://verifid.ondato.com</a></p>\n<p>Swagger: <a href=\"https://verifid.ondato.com/swagger/index.html\">https://verifid.ondato.com/swagger/index.html</a></p>\n<p>Back-office: <a href=\"https://bo.ondato.com\">https://bo.ondato.com</a></p>\n<p>Sandbox:</p>\n<p>Base address: <a href=\"https://sandbox-verifid.ondato.com\">https://sandbox-verifid.ondato.com</a></p>\n<p>API Swagger: <a href=\"https://sandbox-verifid.ondato.com/swagger/index.html\">https://sandbox-verifid.ondato.com/swagger/index.html</a></p>\n<p>Back-office: <a href=\"https://sandbox-bo.ondato.com\">https://sandbox-bo.ondato.com</a></p>\n<hr>\n<h2>DESCRIPTION</h2>\n\n<p>VerifId customer identification API is used for KYC process.</p>\n<p>The API provides third party applications with information belonging to the third party customer documents:</p>\n<p>Document data:</p>\n<ul><li><p>First name</p></li><li><p>Middle name</p></li><li><p>Last name</p></li><li><p>Document number</p></li><li><p>Date of issue</p></li><li><p>Date of expiration</p></li><li><p>Date of birth</p></li><li><p>Personal identity code</p></li><li><p>Address</p></li><li><p>Nationality</p></li><li><p>Country</p></li><li><p>Gender</p></li><li><p>Document type</p></li></ul>\n\n<p>Also this service compares persons face with the face in the provided document.</p>\n<p>This API is closely linked with the Ondato Back-office. Once the VerifID service processes document data clients can view those identifications inside Ondato Back-office. Clients can also double check identification details (cross check) and manually reject or edit document data and then verify the identification.</p>\n<p>Service short guide:</p>\n<ol><li><p>Client authorizes its app with Ondato service and gets access token in response</p></li><li><p>Client starts new identification session and a unique <code>identificationId</code> is returned</p></li><li><p>Client uploads his customers photo or video together with his customer document files or uploads NFC data</p></li><li><p>Client calls <code>/verification/</code> endpoint and gets processed rule statuses if the client is happy with the result then it proceeds to next step, if not - calls again 3rd-4th steps</p></li><li><p>Client calls <code>/completion/</code> endpoint so that no more new media files can be uploaded and the identification can be visible in BO. Additional registries are processed in this step</p></li><li><p>VerifID services processes the data and puts identification details in Ondato Back-office</p></li><li><p>Client double checks the identification details and cross-checks the identification</p></li><li><p>When identification details are updated client gets webhook HTTPS message to his provided URL address</p></li></ol>\n\n<p>This API is available in the following environments:</p>\n<ul><li><p><code>Sandbox</code>(test)</p></li><li><p><code>Production</code></p></li></ul>\n\n<p>*<strong>Note that in the sandbox environment all of the identification data is removed after 24 hours since the identification was started</strong></p>\n<hr>\n<h2>WEBHOOKS</h2>\n\n<p>Webhooks are user-defined HTTP callbacks. They are usually triggered by some event.</p>\n<p>Ondato provides webhooks to alert you of changes in the status of customer identification. These are <code>POST</code> requests to your server that are sent as soon as an event occurs. The body of the request contains details of the identification status.</p>\n<p>All identification status changes trigger webhook notifications, even for those that complete instantly. If the document data will be changed manually from BO then webhook notification will also be triggered.</p>\n<p>Webhook endpoints can be registered through the Ondato BO or VeridId API. To help you diagnose or to understand webhook issues, a log of your webhook requests is also available under your dashboard’s Webhook Logs and through the API endpoint.</p>\n<p>Upon receiving a webhook notification, you should acknowledge success by responding with an <code>HTTP 200</code> success status code. Otherwise, we will attempt to resend the notification up to 3 times every 10 minutes.</p>\n<p>The following events will trigger a message to registered webhooks:</p>\n<ul><li><p><code>PROCESSED</code> - Webhook is triggered when new identification is processed</p></li><li><p><code>CROSS_CHECKED</code> - Webhook is triggered when identification is cross checked / approved in Ondato BO</p></li><li><p><code>UPDATED</code> - Webhook is triggered when document data is updated in Ondato BO</p></li><li><p><code>REJECTED</code> - Webhook is triggered when identification is rejected in Ondato BO</p></li></ul>\n\n<p>Each webhook URL is associated with a unique identification ID. When providing the URL you need to specify the place where our services will put the identification ID.</p>\n<p>For example:</p>\n<p><a href=\"https://mycompany.com/ondato_webhook/%60%7Bidentification-id%7D%60/receive\">https://mycompany.com/ondato_webhook/`{identification-id}`/receive</a></p>\n<p><a href=\"https://demo.com/ondato_webhook?identification=%60%7Bidentification-id%7D%60\">https://demo.com/ondato_webhook?identification=`{identification-id}`</a></p>\n<p><a href=\"https://demo.com/ondato_webhook?status=xxx&amp;identification=%60%7Bidentification-id%7D%60%C2%B6m=abc\">https://demo.com/ondato_webhook?status=xxx&amp;identification=`{identification-id}`¶m=abc</a></p>\n<p>Then the {identification-id} will be replaced with a unique identification ID from our API services:</p>\n<p><a href=\"https://demo.com/ondato_webhook/%6012345e24a362476cbc263872bd8ea254%60/receive\">https://demo.com/ondato_webhook/`12345e24a362476cbc263872bd8ea254`/receive</a></p>\n<p><a href=\"https://demo.com/ondato_webhook?identification=%6012345e24a362476cbc263872bd8ea254%60\">https://demo.com/ondato_webhook?identification=`12345e24a362476cbc263872bd8ea254`</a></p>\n<p><a href=\"https://demo.com/ondato_webhook?status=xxx&amp;identification=%6012345e24a362476cbc263872bd8ea254%60%C2%B6m=abc\">https://demo.com/ondato_webhook?status=xxx&amp;identification=`12345e24a362476cbc263872bd8ea254`¶m=abc</a></p>\n<p>For security reasons webhooks sent to your application will be signed using unique per application generated signature. Verifying the request signature on your server prevents attackers from imitating valid webhooks. The signature will be stored in a <code>X-API-KEY</code> header.</p>\n<p>Example response body:</p>\n<p>Header:<br><code>Content-Type: application/json</code><br><code>X-API-KEY: 6CC494A4-1BDE-4093-A0BD-8756B0BFDECA</code></p>\n<p>Body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"Id\":\"0BA5FDC0-A505-4CCC-CD3B-08D6FEFE2503\",\n    \"RequestStatus\":\"AUTO_FINISH\",\n    \"IsCrossChecked\":true,\n    \"RejectionReason\":null,\n    \"Event\":\"PROCESSED\"\n}\n\n</code></pre></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"6997242","collectionId":"2be54b91-0dc2-4de8-bf6c-bf0e1d67cfd1","publishedId":"S1TZwaZe","public":true,"customColor":{"top-bar":"244D50","right-sidebar":"244D50","highlight":"EF5B25"},"publishDate":"2020-08-04T13:41:46.000Z"},"item":[{"name":"v3","item":[{"name":"Generates Bearer Access Token","id":"29788e3e-df94-4de4-8c5e-aadfa6757950","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic {{clientCredentials}}"}],"url":"{{hostname}}/v3/oauth/token","description":"<h2>OAUTH 2.0 AUTHENTICATION</h2>\nThis API is protected by 2-legged Open Authentication (OAuth) protocol. <br />\nAfter the OAuth handshake, a valid OAuth token is granted for accessing the different API endpoints on behalf of a Ondato user. <br />\nTo get the access token you need to add Authorization header <b><code>Basic BASE64(ApplicationId:Secret)</code></b><br />\nThe access token returned by the service will be used to call this API.\n<br />\n<hr />\n<h2>APPLICATION CREDENTIALS</h2>\nYou'll need your applicationId and secret, so contact info@ondato.com if you don't have them.<br />\nThink of your credentials like a password:<br />\n<ul>\n<li>Store it securely</li>\n<li>Don't share it with anyone outside of your organization</li>\n<li>Don't put it in any code on your website or in a Url that someone could find</li>\n</ul>","urlObject":{"path":["v3","oauth","token"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"25bd558a-d496-49f5-8253-5a3f9dbd8379","name":"500 Internal Server Error","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic {{clientCredentials}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{hostname}}/v3/oauth/token"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"3fe05de4-7452-4ad7-82e6-f8ce31d15ced","name":"503 Service Unavailable","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic {{clientCredentials}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{hostname}}/v3/oauth/token"},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Service Unavailable\",\n    \"status\": 503,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"a42cfcf3-b4f4-43b1-a29e-bc67969b5029","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic {{clientCredentials}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{hostname}}/v3/oauth/token"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Unauthorized\",\n    \"status\": 401,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"bcfeafc3-24af-42e4-a1e5-b55005db7a58","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic {{clientCredentials}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{hostname}}/v3/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"access_token\": \"yeGJHaasdiYjkjahsd54ASerdsdf5as.asd8eaew5dxctht6...\",\r\n    \"token_type\": \"Bearer\",\r\n    \"expires_in\": 86400\r\n}\r\n"}],"_postman_id":"29788e3e-df94-4de4-8c5e-aadfa6757950"},{"name":"Start new identification session","id":"e0d932fe-b5dc-4c6b-abaf-5761d2277361","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"{{hostname}}/v3/identifications/start","description":"<p>Creates new empty identification. Additional request data is optional.</p>\n<p>Returns unique identificationId</p>\n<p>This must be called after auth and before each new identification</p>\n<p>If you get 415 Unsupported Media Type error make sure you are passing <code>Content-Type: application/json</code></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>#</th>\n<th>Name</th>\n<th>Usage</th>\n<th>Validation</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1.</td>\n<td><code>emailAddress</code></td>\n<td>Optional</td>\n<td>Min length 6. Max length 128. Email validation.</td>\n</tr>\n<tr>\n<td>2.</td>\n<td><code>firstName</code></td>\n<td>Optional</td>\n<td>Min length 2. Max length 256.</td>\n</tr>\n<tr>\n<td>3.</td>\n<td><code>middleName</code></td>\n<td>Optional</td>\n<td>Min length 2. Max length 256.</td>\n</tr>\n<tr>\n<td>4.</td>\n<td><code>lastName</code></td>\n<td>Optional</td>\n<td>Min length 2. Max length 256.</td>\n</tr>\n<tr>\n<td>5.</td>\n<td><code>personalIdentityCode</code></td>\n<td>Optional</td>\n<td>Min length 6. Max length 64.</td>\n</tr>\n<tr>\n<td>6.</td>\n<td><code>phoneNumber</code></td>\n<td>Optional</td>\n<td>Min length 6. Max length 22.</td>\n</tr>\n<tr>\n<td>7.</td>\n<td><code>dateOfBirth</code></td>\n<td>Optional</td>\n<td>Date validation</td>\n</tr>\n<tr>\n<td>8.</td>\n<td><code>externalReferenceId</code></td>\n<td>Optional</td>\n<td>Max length 36.</td>\n</tr>\n<tr>\n<td>9.</td>\n<td><code>documentExpirationDate</code></td>\n<td>Optional</td>\n<td>Date validation</td>\n</tr>\n<tr>\n<td>10.</td>\n<td><code>companyCode</code></td>\n<td>Optional</td>\n<td>Max length 64.</td>\n</tr>\n<tr>\n<td>11.</td>\n<td><code>countryCode</code></td>\n<td>Optional</td>\n<td>Max length 3.</td>\n</tr>\n<tr>\n<td>12.</td>\n<td><code>ipAddress</code></td>\n<td>Optional</td>\n<td>Max length 50.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v3","identifications","start"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"21b5147e-abfc-4c2a-af25-8c458e52141d","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"{{hostname}}/v3/identifications/start"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Unauthorized\",\n    \"status\": 401,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"540740c0-f1e2-4769-af4d-1939126a358a","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"emailAddress\": \"test@test.com\",\r\n  \"phoneNumber\": \"+37060000000\",\r\n  \"personalIdentityCode\": \"11111111111\",\r\n  \"firstName\": \"John\",\r\n  \"middleName\": \"Adams\",\r\n  \"lastName\": \"Browns\",\r\n  \"dateOfBirth\": \"1989-06-07T00:00:00+00:00\",\r\n  \"companyCode\": \"999999999\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{hostname}}/v3/identifications/start"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"identificationId\": \"92699f8dba414979972df82e5255e48b\"\r\n}"},{"id":"fd29419a-8f4d-4eb6-a69b-5eabd661a0a8","name":"500 Internal Server Error","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"{{hostname}}/v3/identifications/start"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"}],"_postman_id":"e0d932fe-b5dc-4c6b-abaf-5761d2277361"},{"name":"Upload face file","id":"f0565203-4738-49ff-9830-39588426b062","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"File","type":"file","description":"<p>Rquired</p>\n","value":null},{"key":"Check2DLiveness","value":"{{Check2DLiveness}}","type":"text"},{"key":"IsEtalon","value":"{{IsEtalon}}","type":"text"}]},"url":"{{hostname}}/v3/media/:identification-id/face","description":"<p>Scans uploaded image photo or video.  </p>\n<p>Is called after start api.  </p>\n<p><strong>Max file size: 4MB</strong>  </p>\n<p><strong>Accepted mime type: image/jpeg, image/jpg, image/png, image/gif</strong></p>\n","urlObject":{"path":["v3","media",":identification-id","face"],"host":["{{hostname}}"],"query":[],"variable":[{"type":"string","value":"{{identification-id}}","key":"identification-id"}]}},"response":[{"id":"23e575e2-2ba0-4cf0-b0b7-7a076b13b9ec","name":"500 Internal Server Error","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"multipart/form-data"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"File","value":"{{File}}","type":"text"}]},"url":{"raw":"{{hostname}}/v3/media/:identification-id/face","host":["{{hostname}}"],"path":["v3","media",":identification-id","face"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"36d99668-4fab-4de2-a9d6-0be0d1861c24","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"multipart/form-data"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"File","value":"{{File}}","type":"text"}]},"url":{"raw":"{{hostname}}/v3/media/:identification-id/face","host":["{{hostname}}"],"path":["v3","media",":identification-id","face"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Unauthorized\",\n    \"status\": 401,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"5a4c4b07-0f89-42d1-8009-df52c68e1e0b","name":"413 Request Entity Too Large","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"multipart/form-data"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"File","type":"text","value":"{{File}}"}]},"url":{"raw":"{{hostname}}/v3/media/:identification-id/face","host":["{{hostname}}"],"path":["v3","media",":identification-id","face"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Request Entity Too Large","code":413,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"7619036c-5678-47d6-997e-08098e224ff6","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"multipart/form-data"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"File","value":"{{File}}","type":"text"}]},"url":{"raw":"{{hostname}}/v3/media/:identification-id/face","host":["{{hostname}}"],"path":["v3","media",":identification-id","face"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"success\": false,\r\n  \"error\": \"MULTIPLE_FACES\"\r\n}"},{"id":"b233242b-c915-418d-ac0a-5c9dd1ae8e89","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"multipart/form-data"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"File","value":"{{File}}","type":"text"}]},"url":{"raw":"{{hostname}}/v3/media/:identification-id/face","host":["{{hostname}}"],"path":["v3","media",":identification-id","face"],"variable":[{"key":"identification-id","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"\"Identification does not exist.\""}],"_postman_id":"f0565203-4738-49ff-9830-39588426b062"},{"name":"Upload document files","id":"e9e6c7df-a20c-4e31-8d5c-adcb899e8439","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"File","type":"file","description":"<p>Required</p>\n","value":null},{"key":"DocumentType","type":"text","value":"{{DocumentType}}","description":"<p>Required</p>\n"},{"key":"SideType","type":"text","value":"{{SideType}}","description":"<p>Required</p>\n"},{"key":"DocumentCountry","type":"text","value":"{{DocumentCountry}}"}]},"url":"{{hostname}}/v3/media/:identification-id/document","description":"<p><em><strong>You need to call this method 2 times for each document side (FRONT and BACK)</strong></em></p>\n<p><strong>Accepted mime type: image/jpeg, image/jpg, image/png</strong></p>\n<p><strong>Passport cover side type: FRONT - is not mandatory</strong></p>\n<p><strong>Passport page with photo side type: BACK</strong></p>\n<p><strong>To get document types which can by uploaded by user use endpoint</strong></p>\n<p>GET \"v3/application/document-types\"</p>\n<p><strong>Possible DocumentTypes:</strong></p>\n<p>ID_CARD = 1,<br />PASSPORT = 2,<br />RESIDENCE_PERMIT = 3,<br />DRIVER_LICENSE = 4,<br />INTERNAL_PASSPORT = 5,<br />SOCIAL_ID = 6,<br />PROOF_OF_ADDRESS = 8</p>\n","urlObject":{"path":["v3","media",":identification-id","document"],"host":["{{hostname}}"],"query":[],"variable":[{"type":"string","value":"{{identification-id}}","key":"identification-id"}]}},"response":[{"id":"fa60606c-238f-475a-bbdc-dcb76660bf8a","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"multipart/form-data"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"File","value":"{{File}}","type":"text"},{"key":"DocumentType","value":"{{DocumentType}}","type":"text"},{"key":"SideType","value":"{{SideType}}","type":"text"}]},"url":{"raw":"{{hostname}}/v3/media/:identification-id/document","host":["{{hostname}}"],"path":["v3","media",":identification-id","document"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"success\": false,\r\n  \"error\": \"WRONG_DOCUMENT_TYPE\"\r\n}"},{"id":"a1d10f3f-c5b9-49af-b5b9-f94a1bf760e0","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"multipart/form-data"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"File","value":"{{File}}","type":"text"},{"key":"DocumentType","value":"{{DocumentType}}","type":"text"},{"key":"SideType","value":"{{SideType}}","type":"text"}]},"url":{"raw":"{{hostname}}/v3/media/:identification-id/document","host":["{{hostname}}"],"path":["v3","media",":identification-id","document"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"\"Identification does not exist.\""},{"id":"5e7c9a4b-948a-49a0-92e1-2562a83268ec","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"multipart/form-data"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"File","value":"{{File}}","type":"text"},{"key":"DocumentType","value":"{{DocumentType}}","type":"text"},{"key":"SideType","value":"{{SideType}}","type":"text"}]},"url":{"raw":"{{hostname}}/v3/media/:identification-id/document","host":["{{hostname}}"],"path":["v3","media",":identification-id","document"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Unauthorized\",\n    \"status\": 401,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"7f27104f-7d06-4d62-a265-0464d489e128","name":"500 Internal Server Error","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"multipart/form-data"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"File","value":"{{File}}","type":"text"},{"key":"DocumentType","value":"{{DocumentType}}","type":"text"},{"key":"SideType","value":"{{SideType}}","type":"text"}]},"url":{"raw":"{{hostname}}/v3/media/:identification-id/document","host":["{{hostname}}"],"path":["v3","media",":identification-id","document"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"095c6e2c-11dc-488c-aa11-c314ad76e0bc","name":"413 Request Entity Too Large","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"multipart/form-data"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"File","type":"text","value":"{{File}}"},{"key":"DocumentType","type":"text","value":"{{DocumentType}}"},{"key":"SideType","type":"text","value":"{{SideType}}"}]},"url":{"raw":"{{hostname}}/v3/media/:identification-id/document","host":["{{hostname}}"],"path":["v3","media",":identification-id","document"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Request Entity Too Large","code":413,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"ba5716f5-acb0-479a-b0f2-0b3de3e7ac39","name":"Upload document files","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"File","type":"file","description":"Required","value":null},{"key":"DocumentType","type":"text","value":"{{DocumentType}}","description":"Required"},{"key":"SideType","type":"text","value":"{{SideType}}","description":"Required"},{"key":"DocumentCountry","type":"text","value":"{{DocumentCountry}}"}]},"url":{"raw":"{{hostname}}/v3/media/:identification-id/document","host":["{{hostname}}"],"path":["v3","media",":identification-id","document"],"variable":[{"key":"identification-id","value":"{{identification-id}}","type":"string"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"e9e6c7df-a20c-4e31-8d5c-adcb899e8439"},{"name":"Verify identification media files","id":"d06b4c9f-ce6f-40f8-a258-e65845f91263","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"{{hostname}}/v3/identifications/:identification-id/verification","description":"<p>Verifies document scan results. <br />\nIs called in the end after face and document scan.</p>\n","urlObject":{"path":["v3","identifications",":identification-id","verification"],"host":["{{hostname}}"],"query":[],"variable":[{"type":"string","value":"{{identification-id}}","key":"identification-id"}]}},"response":[{"id":"2eb934d9-7996-4096-9662-c84a77fe5353","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/identifications/:identification-id/verification","host":["{{hostname}}"],"path":["v3","identifications",":identification-id","verification"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Unauthorized\",\n    \"status\": 401,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"4274ecd2-5614-42da-be85-47dff2773c46","name":"500 Internal Server Error","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/identifications/:identification-id/verification","host":["{{hostname}}"],"path":["v3","identifications",":identification-id","verification"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"6a5df864-20d3-429d-9931-d3b85807a71f","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/identifications/:identification-id/verification","host":["{{hostname}}"],"path":["v3","identifications",":identification-id","verification"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"rules\": {\n        \"DOCUMENT_HAS_FACE\": \"SUCCESS\",\n        \"ONE_PERSON_DURING_IDENTIFICATION\": \"SUCCESS\",\n        \"SELFIE_HAS_FACE\": \"SUCCESS\",\n        \"DOCUMENT_HAS_MRZ\": \"FAIL\",\n        \"DOCUMENT_IS_NOT_EXPIRED\": \"FAIL\",\n        \"DOCUMENT_HAS_BOTH_SIDES\": \"FAIL\"\n    }\n}"},{"id":"bb3d5acb-d46e-451d-959a-a3aa61c16b8f","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{hostname}}/v3/identifications/:identification-id/verification","host":["{{hostname}}"],"path":["v3","identifications",":identification-id","verification"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"\"Identification does not exist.\""}],"_postman_id":"d06b4c9f-ce6f-40f8-a258-e65845f91263"},{"name":"Completes identification","id":"c8e79f7e-f768-4c7c-9fea-4a99783885d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"{{hostname}}/v3/identifications/:identification-id/completion","description":"<p>Completes identification and processes registries. <br />\nNo media files can be uploaded to current identification and verification can't be called.</p>\n","urlObject":{"path":["v3","identifications",":identification-id","completion"],"host":["{{hostname}}"],"query":[],"variable":[{"type":"string","value":"{{identification-id}}","key":"identification-id"}]}},"response":[{"id":"1f40cf79-810e-4169-ae02-f7e41eaeedf0","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/identifications/:identification-id/completion","host":["{{hostname}}"],"path":["v3","identifications",":identification-id","completion"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"\"Identification does not exist.\""},{"id":"7363273e-d0bb-4182-b3e3-8dfdbb45dd20","name":"500 Internal Server Error","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/identifications/:identification-id/completion","host":["{{hostname}}"],"path":["v3","identifications",":identification-id","completion"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"913539c5-0815-4959-8ec4-a53299f909d9","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/identifications/:identification-id/completion","host":["{{hostname}}"],"path":["v3","identifications",":identification-id","completion"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"fcaa2717-6b2d-43b4-9abf-4d3fca8bd82e","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/identifications/:identification-id/completion","host":["{{hostname}}"],"path":["v3","identifications",":identification-id","completion"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Unauthorized\",\n    \"status\": 401,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"}],"_postman_id":"c8e79f7e-f768-4c7c-9fea-4a99783885d0"},{"name":"Returns identification data","id":"b9b6cf27-1587-424b-ab08-7b9248c2814a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"{{hostname}}/v3/identifications/:identification-id","description":"<p>This api shows the current request status and returns isCrossChecked status together with document data if available.<br />isCrossChecked means that identity verification is reviewed by human.<br />isPep means that person is found in Politically exposed person list.</p>\n<p>Method returns:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>#</th>\n<th>Name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1.</td>\n<td><code>AUTO_FINISH</code></td>\n<td>Identification successfully finished</td>\n</tr>\n<tr>\n<td>2.</td>\n<td><code>MANUAL_FINISH</code></td>\n<td>Identification successfully finished</td>\n</tr>\n<tr>\n<td>3.</td>\n<td><code>PENDING</code></td>\n<td>Identification completion in progress</td>\n</tr>\n<tr>\n<td>4.</td>\n<td><code>REJECTED</code></td>\n<td>Identification failed by some reason. Reason shows in <code>rejectionReason</code> parameter:  <br />4.1<code>MISSING_DOCUMENT_PHOTO</code>  <br />4.2<code>DOCUMENT_NOT_ACCEPTED</code>  <br />4.3<code>DATA_DOES_NOT_MATCH</code>  <br />4.4 <code>SANCTIONED</code>  <br />4.5 <code>MISSING_SELFIE_PHOTO</code>  <br />4.6 <code>FACES_DOES_NOT_MATCH</code>  <br />4.7 <code>POOR_PHOTO_QUALITY</code>  <br />4.8 <code>POOR_PHOTO_LIGHTING</code>  <br />4.9 <code>BLURRED_PHOTO</code>  <br />4.10 <code>BAD_MEDIA_FORMAT</code>  <br />4.11 <code>MISCELLANEOUS</code>  <br />4.12 <code>POSSIBLE_FRAUD_ATTEMPT</code>  <br />4.13 <code>UNRELATED_PHOTO</code>  <br />4.14 <code>MORE_THAN_ONE_PERSON</code>  <br />4.15 <code>PROHIBITED_COUNTRY_OR_STATE</code>  <br />4.16 <code>DOCUMENT_IS_EXPIRED</code>  <br />4.17 <code>DOCUMENT_WITH_NON_LATIN_CHARACTERS</code>  <br />4.18 <code>PART_OF_DOCUMENT_IS_COVERED</code>  <br />4.19 <code>UNDERAGE_PERSON</code>  <br />4.20 <code>PROHIBITED_NATIONALITY</code>  <br />4.21 <code>DUPLICATED_INFO</code></td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li>#NameType1.<code>emailAddress</code>String2.<code>firstName</code>String3.<code>middleName</code>String4.<code>lastName</code>String5.<code>personalIdentityCode</code>String6.<code>phoneNumber</code>String7.<code>dateOfBirth</code>Date</li>\n<li>#NameType1.<code>firstName</code>String2.<code>middleName</code>String3.<code>lastName</code>String4.<code>personalIdentityCode</code>String5.<code>dateOfBirth</code>Date6.<code>nationality</code>String7.<code>gender</code>String8.<code>address</code>String9.<code>country</code>String10.<code>documentNumber</code>String11.<code>documentType</code>Enum12.<code>dateOfIssue</code>Date13.<code>dateOfExpiration</code>Date</li>\n<li>Document types:</li>\n</ul>\n<ol>\n<li><code>UNKNOWN</code>;</li>\n<li><code>ID_CARD</code>;</li>\n<li><code>PASSPORT</code>;</li>\n<li><code>RESIDENCE_PERMIT</code>;</li>\n<li><code>DRIVER_LICENSE</code>;</li>\n<li><code>INTERNAL_PASSPORT</code>;</li>\n<li><code>SOCIAL_ID;</code></li>\n<li><code>PROOF_OF_ADDRESS</code></li>\n</ol>\n","urlObject":{"path":["v3","identifications",":identification-id"],"host":["{{hostname}}"],"query":[],"variable":[{"type":"string","value":"{{identification-id}}","key":"identification-id"}]}},"response":[{"id":"1da816f3-94d1-4234-b84e-52fe4f42115d","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/identifications/:identification-id","host":["{{hostname}}"],"path":["v3","identifications",":identification-id"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Unauthorized\",\n    \"status\": 401,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"5eabee5f-71de-450f-a4c3-bfdcaf2af0cb","name":"400 Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/identifications/:identification-id","host":["{{hostname}}"],"path":["v3","identifications",":identification-id"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"\"Identification does not exist.\""},{"id":"7336e143-0394-4e8b-b315-58035868bfa6","name":"500 Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/identifications/:identification-id","host":["{{hostname}}"],"path":["v3","identifications",":identification-id"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"b7149e78-5146-45f1-8a7f-120f3887fd70","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/identifications/:identification-id","host":["{{hostname}}"],"path":["v3","identifications",":identification-id"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"statusData\": {\r\n    \"status\": \"REJECTED\",\r\n    \"rejectionReason\": \"POOR_PHOTO_QUALITY\",\r\n    \"isCrossChecked\": true,\r\n    \"isPep\": true\r\n  },\r\n  \"requestData\": {\r\n    \"emailAddress\": \"test@test.com\",\r\n    \"phoneNumber\": \"+37060000000\",\r\n    \"personalIdentityCode\": \"11111111111\",\r\n    \"firstName\": \"John\",\r\n    \"middleName\": \"Adams\",\r\n    \"lastName\": \"Brown\",\r\n    \"dateOfBirth\": \"1989-06-07T00:00:00+00:00\",\r\n    \"companyCode\": \"999999999\"\r\n  },\r\n  \"documentData\": {\r\n    \"firstName\": \"John\",\r\n    \"middleName\": \"Adams\",\r\n    \"lastName\": \"Brown\",\r\n    \"documentNumber\": \"00000001\",\r\n    \"dateOfIssue\": \"2017-06-07T00:00:00+00:00\",\r\n    \"dateOfExpiration\": \"2029-06-07T00:00:00+00:00\",\r\n    \"dateOfBirth\": \"1999-06-07T00:00:00+00:00\",\r\n    \"personalIdentityCode\": \"11111111111\",\r\n    \"address\": \"Country, City, Street\",\r\n    \"nationality\": \"LTU\",\r\n    \"country\": \"LTU\",\r\n    \"gender\": \"M\",\r\n    \"documentType\": \"ID_CARD\"\r\n  }\r\n}"}],"_postman_id":"b9b6cf27-1587-424b-ab08-7b9248c2814a"},{"name":"Returns media files","id":"a942c41e-42a0-4fe3-a130-393907f4bcee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"{{hostname}}/v3/media/:identification-id","description":"<p>Returns media file URLs associated with the given identificationId.<br />\nURL for media files are valid for 1 minute. <br />\nURL for media files do not require any Authorization header.</p>\n","urlObject":{"path":["v3","media",":identification-id"],"host":["{{hostname}}"],"query":[],"variable":[{"type":"string","value":"{{identification-id}}","key":"identification-id"}]}},"response":[{"id":"49ff9ea6-fac5-4e30-898c-b6d6b76a275f","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/media/:identification-id","host":["{{hostname}}"],"path":["v3","media",":identification-id"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Unauthorized\",\n    \"status\": 401,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"51311d30-f4a0-4b43-a5d5-fabdac6ad4a6","name":"400 Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/media/:identification-id","host":["{{hostname}}"],"path":["v3","media",":identification-id"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"\"Identification does not exist.\""},{"id":"df01bc63-9b25-4db4-917e-21e00cf98159","name":"500 Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/media/:identification-id","host":["{{hostname}}"],"path":["v3","media",":identification-id"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"f970e2af-f86f-4515-b3b8-cbb416d5aaa0","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/media/:identification-id","host":["{{hostname}}"],"path":["v3","media",":identification-id"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"face\": \"https://demo-storage.ondato.com/file/asd23as5a6sd3a15asd.jpg\",\r\n  \"front\": \"https://demo-storage.ondato.com/file/asd23as5a6sd3a15asd.jpg\",\r\n  \"back\": \"https://demo-storage.ondato.com/file/asd23as5a6sd3a15asd.jpg\"\r\n}"}],"_postman_id":"a942c41e-42a0-4fe3-a130-393907f4bcee"},{"name":"Removes identification","id":"263b7626-8012-46da-90ef-1025cc30724c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"{{hostname}}/v3/identifications/:identification-id","description":"<p><b>Removes identification with all data.</b><br />\n<b>After this identification data can't be recovered.</b></p>\n","urlObject":{"path":["v3","identifications",":identification-id"],"host":["{{hostname}}"],"query":[],"variable":[{"type":"string","value":"{{identification-id}}","key":"identification-id"}]}},"response":[{"id":"19da13dc-1d56-47e5-8223-77def1e91819","name":"500 Internal Server Error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/identifications/:identification-id","host":["{{hostname}}"],"path":["v3","identifications",":identification-id"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"57a16b74-2633-4b27-b578-abba3f69aae0","name":"401 Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/identifications/:identification-id","host":["{{hostname}}"],"path":["v3","identifications",":identification-id"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Unauthorized\",\n    \"status\": 401,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"6d65de7a-2d77-47f5-8989-11538d3b40df","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/identifications/:identification-id","host":["{{hostname}}"],"path":["v3","identifications",":identification-id"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"c29ab112-94d8-4d76-9721-c3ffef9a2037","name":"400 Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{Authorization}}"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{hostname}}/v3/identifications/:identification-id","host":["{{hostname}}"],"path":["v3","identifications",":identification-id"],"variable":[{"key":"identification-id","value":"{{identification-id}}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"\"Identification does not exist.\""}],"_postman_id":"263b7626-8012-46da-90ef-1025cc30724c"},{"name":"Returns available document types","id":"9ab97139-7f52-474c-b38e-375c3d0a15b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"{{hostname}}/v3/application/document-types","description":"<p>Returns array of document types which can be used together with <code>/media/</code> endpoints</p>\n","urlObject":{"path":["v3","application","document-types"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"79d18812-1541-4736-80c1-e0bdfea92758","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"{{hostname}}/v3/application/document-types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"types\": [\n        \"ID_CARD\",\n        \"PASSPORT\",\n        \"DRIVER_LICENSE\"\n    ]\n}"},{"id":"9d35a2fe-41e2-4566-a47a-214418864b83","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"{{hostname}}/v3/application/document-types"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Unauthorized\",\n    \"status\": 401,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"d7b0a2f8-15a5-470d-ab5e-8ca4b11cab03","name":"500 Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"{{hostname}}/v3/application/document-types"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"}],"_postman_id":"9ab97139-7f52-474c-b38e-375c3d0a15b9"},{"name":"Returns single day webhook history","id":"6261a6c2-0310-4593-843c-5c00f14a7dec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"{{hostname}}/v3/webhooks/history/:year/:month/:day","description":"<p>Returns webhook history data</p>\n","urlObject":{"path":["v3","webhooks","history",":year",":month",":day"],"host":["{{hostname}}"],"query":[],"variable":[{"type":"string","value":"2019","key":"year"},{"type":"string","value":"7","key":"month"},{"type":"string","value":"2","key":"day"}]}},"response":[{"id":"03be7792-f6f3-4fa2-b564-35301f8337d0","name":"500 Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"{{hostname}}/v3/application/settings"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"},{"id":"77153acf-ce44-4892-a1a8-2f4ff00c67fa","name":"400 Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"{{hostname}}/v3/webhooks/history/:year/:month/:day","host":["{{hostname}}"],"path":["v3","webhooks","history",":year",":month",":day"],"variable":[{"key":"year","value":"2019"},{"key":"month","value":"7"},{"key":"day","value":"2"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"\"Invalid date.\""},{"id":"af13e0db-269c-49c5-b287-b1e17b4ad6bd","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"{{hostname}}/v3/application/settings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"date\": \"2019-07-02T00:00:00+00:00\",\r\n  \"list\": [\r\n    {\r\n      \"identification\": \"41f16be109ac49219afc0065c74171b0\",\r\n      \"id\": \"f1d03a8a-75a1-41c1-a412-5da87ddc2128\",\r\n      \"created\": \"2019-07-02T19:30:12.8644764+00:00\",\r\n      \"event\": \"PROCESSED\",\r\n      \"sent\": \"2019-07-02T19:30:12.8644774+00:00\",\r\n      \"retries\": 0,\r\n      \"status\": \"OK\",\r\n      \"url\": \"https://demo.ondato.com/receive-webhook/41f16be109ac49219afc0065c74171b0\",\r\n      \"finished\": true\r\n    },\r\n    {\r\n      \"identification\": \"41f16be109ac49219afc0065c74171b0\",\r\n      \"id\": \"bf8b2922-4d89-4710-9010-ae17b8327950\",\r\n      \"created\": \"2019-07-02T19:30:12.8644794+00:00\",\r\n      \"event\": \"UPDATED\",\r\n      \"sent\": \"2019-07-02T19:30:12.8644804+00:00\",\r\n      \"retries\": 0,\r\n      \"status\": \"OK\",\r\n      \"url\": \"https://demo.ondato.com/receive-webhook/41f16be109ac49219afc0065c74171b0\",\r\n      \"finished\": true\r\n    },\r\n    {\r\n      \"identification\": \"41f16be109ac49219afc0065c74171b0\",\r\n      \"id\": \"82f4f3bf-594d-4fb2-ad33-e3d476a8a3de\",\r\n      \"created\": \"2019-07-02T19:30:12.8644818+00:00\",\r\n      \"event\": \"CROSS_CHECKED\",\r\n      \"sent\": \"2019-07-02T19:30:12.8644828+00:00\",\r\n      \"retries\": 0,\r\n      \"status\": \"OK\",\r\n      \"url\": \"https://demo.ondato.com/receive-webhook/41f16be109ac49219afc0065c74171b0\",\r\n      \"finished\": true\r\n    }\r\n  ]\r\n}"},{"id":"c7da8c3b-5de0-41c2-8267-03933d5f6884","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"{{hostname}}/v3/application/settings"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Unauthorized\",\n    \"status\": 401,\n    \"traceId\": \"0HLNB3PVRIUR0:00000002\"\n}"}],"_postman_id":"6261a6c2-0310-4593-843c-5c00f14a7dec"}],"id":"305b3742-2f54-4582-8d1d-e2eaf4353bac","description":"<p>Changes from previous version:</p>\n<ul><li><p>Enum naming changed to all caps with snake case</p></li><li><p>Various models naming changes</p></li><li><p>New endpoint - <code>identifications/verification</code></p></li><li><p>New endpoint - <code>identifications/completion</code></p></li><li><p>New endpoint - <code>application/document-types</code></p></li><li><p>New endpoint - <code>application/settings</code></p></li></ul>","event":[{"listen":"prerequest","script":{"id":"8295a84f-ad0d-4494-b0aa-b96048c2e321","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2fc0bb49-36ae-4d0d-956b-89db40725d5f","type":"text/javascript","exec":[""]}}],"_postman_id":"305b3742-2f54-4582-8d1d-e2eaf4353bac"}],"event":[{"listen":"prerequest","script":{"id":"d83200b9-5943-47be-be34-43fb28e319b5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"83c9d605-52a7-4e3f-bc3a-c47a35795b44","type":"text/javascript","exec":[""]}}]}