{"info":{"_postman_id":"e710974c-1841-4736-bcbc-7297cc961391","name":"Identity (Lango sandbox)","description":"Generated from the Identity API group. Run \"Get a token\" first — every other request reads {{token}}.","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},"item":[{"name":"Get a token","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"url":{"raw":"{{baseUrl}}/oauth/v1/token","host":["{{baseUrl}}"],"path":["oauth","v1","token"]},"auth":{"type":"basic","basic":[{"key":"username","value":"{{consumerKey}}","type":"string"},{"key":"password","value":"{{consumerSecret}}","type":"string"}]},"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","type":"text"}]}},"event":[{"listen":"test","script":{"type":"text/javascript","exec":["const data = pm.response.json();","pm.collectionVariables.set('token', data.access_token);"]}}]},{"name":"Identity Check","item":[{"name":"Verify a person","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/identity/v1/verifications","host":["{{baseUrl}}"],"path":["identity","v1","verifications"],"variable":[],"query":[]},"description":"Needs the customer's consent. Send the consent reference you recorded.","body":{"mode":"raw","raw":"{\n  \"idType\": \"NATIONAL_ID\",\n  \"idNumber\": \"27845120\",\n  \"firstName\": \"Wanjiru\",\n  \"lastName\": \"Kamau\",\n  \"dateOfBirth\": \"1991-04-17\",\n  \"phoneNumber\": \"254712345678\",\n  \"consentReference\": \"CNS-88213\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"name":"Everything matches","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/identity/v1/verifications","host":["{{baseUrl}}"],"path":["identity","v1","verifications"],"variable":[],"query":[]},"description":"Needs the customer's consent. Send the consent reference you recorded.","body":{"mode":"raw","raw":"{\n  \"idType\": \"NATIONAL_ID\",\n  \"idNumber\": \"27845120\",\n  \"firstName\": \"Wanjiru\",\n  \"lastName\": \"Kamau\",\n  \"dateOfBirth\": \"1991-04-17\",\n  \"phoneNumber\": \"254712345678\",\n  \"consentReference\": \"CNS-88213\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"verificationId\": \"vrf_t9mqebng\",\n  \"outcome\": \"MATCH\",\n  \"nameMatch\": true,\n  \"dateOfBirthMatch\": true,\n  \"phoneMatch\": true,\n  \"checkedAt\": \"2026-09-28T10:59:57.734Z\"\n}"},{"name":"Name does not match","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/identity/v1/verifications","host":["{{baseUrl}}"],"path":["identity","v1","verifications"],"variable":[],"query":[]},"description":"Needs the customer's consent. Send the consent reference you recorded.","body":{"mode":"raw","raw":"{\n  \"idType\": \"NATIONAL_ID\",\n  \"idNumber\": \"27845120\",\n  \"firstName\": \"Wanjiru\",\n  \"lastName\": \"Kamau\",\n  \"dateOfBirth\": \"1991-04-17\",\n  \"phoneNumber\": \"254712345678\",\n  \"consentReference\": \"CNS-88213\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"verificationId\": \"vrf_7bketvd5\",\n  \"outcome\": \"PARTIAL\",\n  \"nameMatch\": false,\n  \"dateOfBirthMatch\": true,\n  \"phoneMatch\": true,\n  \"checkedAt\": \"2026-09-28T10:59:57.735Z\"\n}"},{"name":"ID not on the register","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/identity/v1/verifications","host":["{{baseUrl}}"],"path":["identity","v1","verifications"],"variable":[],"query":[]},"description":"Needs the customer's consent. Send the consent reference you recorded.","body":{"mode":"raw","raw":"{\n  \"idType\": \"NATIONAL_ID\",\n  \"idNumber\": \"27845120\",\n  \"firstName\": \"Wanjiru\",\n  \"lastName\": \"Kamau\",\n  \"dateOfBirth\": \"1991-04-17\",\n  \"phoneNumber\": \"254712345678\",\n  \"consentReference\": \"CNS-88213\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"verificationId\": \"vrf_ct53t8sb\",\n  \"outcome\": \"NOT_FOUND\",\n  \"nameMatch\": false,\n  \"dateOfBirthMatch\": false,\n  \"phoneMatch\": false,\n  \"checkedAt\": \"2026-09-28T10:59:57.735Z\"\n}"},{"name":"Malformed ID number","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/identity/v1/verifications","host":["{{baseUrl}}"],"path":["identity","v1","verifications"],"variable":[],"query":[]},"description":"Needs the customer's consent. Send the consent reference you recorded.","body":{"mode":"raw","raw":"{\n  \"idType\": \"NATIONAL_ID\",\n  \"idNumber\": \"27845120\",\n  \"firstName\": \"Wanjiru\",\n  \"lastName\": \"Kamau\",\n  \"dateOfBirth\": \"1991-04-17\",\n  \"phoneNumber\": \"254712345678\",\n  \"consentReference\": \"CNS-88213\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"INVALID_ID_NUMBER\",\n  \"message\": \"idNumber must be 7 or 8 digits for NATIONAL_ID.\",\n  \"requestId\": \"req_t3dx2fhx\"\n}"}]},{"name":"Fetch a past verification","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/identity/v1/verifications/:verificationId","host":["{{baseUrl}}"],"path":["identity","v1","verifications",":verificationId"],"variable":[{"key":"verificationId","value":"vrf_2m8x4c1z"}],"query":[]},"description":"Fetch a past verification"},"response":[{"name":"Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/identity/v1/verifications/:verificationId","host":["{{baseUrl}}"],"path":["identity","v1","verifications",":verificationId"],"variable":[{"key":"verificationId","value":"vrf_2m8x4c1z"}],"query":[]},"description":"Fetch a past verification"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"verificationId\": \"vrf_2m8x4c1z\",\n  \"outcome\": \"MATCH\",\n  \"nameMatch\": true,\n  \"dateOfBirthMatch\": true,\n  \"phoneMatch\": true,\n  \"checkedAt\": \"2026-09-28T10:59:57.735Z\"\n}"}]}]}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"variable":[{"key":"baseUrl","value":"https://devportal.softwaregroup.com/api/sandbox","type":"string"},{"key":"consumerKey","value":"","type":"string"},{"key":"consumerSecret","value":"","type":"string"},{"key":"token","value":"","type":"string"}]}