{"info":{"_postman_id":"4c1c89db-e351-4ef1-a497-26fa057b0945","name":"MyTalu","description":"<html><head></head><body><p>MyTalu translates to something that would probably mean <code>my funds</code>. It aims at connecting a person in UK with their relatives in 3rd countries. It allows a UK citizen to transfer chosen amount of money to his family member, who can later spend it on many ways.</p>\n<h1 id=\"authors\">Authors</h1>\n<ul>\n<li>Kamil Fojuth (<a href=\"mailto:fen@desmart.com\">fen@desmart.com</a>)</li>\n<li>Daria Wieliczko (<a href=\"mailto:daria@desmart.com\">daria@desmart.com</a>)</li>\n</ul>\n<h1 id=\"tech-stack\">Tech stack</h1>\n<p>...</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Authors","slug":"authors"},{"content":"Tech stack","slug":"tech-stack"}],"owner":"98950","collectionId":"4c1c89db-e351-4ef1-a497-26fa057b0945","publishedId":"TVYKYvZm","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-02-04T10:56:36.000Z"},"item":[{"name":"Customers","item":[{"name":"Initialization","item":[{"name":"Create customer (wallet owner)","id":"c45f80a6-e554-476d-bad6-d35fb6b2c71d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+150@desmart.com\",\n    \"password\": \"123qwe!@#\",\n    \"phone_number\": \"123\",\n    \"securityQuestion\": \"what is your foobar?\",\n    \"securityAnswer\": \"Bar Baz\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers","description":"<p>Attempt to create new account for a customer as a wallet owner.</p>\n<p>New customer should receive email with verification pin code (and verification link attached to it).</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>email</strong>  (required*)</td>\n<td>valid email</td>\n</tr>\n<tr>\n<td><strong>password</strong>  (required*)</td>\n<td>valid password (8 characters + 1 special)</td>\n</tr>\n<tr>\n<td><strong>securityQuestion</strong>  (required*)</td>\n<td>any string</td>\n</tr>\n<tr>\n<td><strong>securityAnswer</strong>  (required*)</td>\n<td>any string</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["customers"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"48650f38-a91c-4f84-b233-07e90436ac1a","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+1@desmart.com\",\n    \"password\": \"123qwe!@#\",\n    \"securityQuestion\": \"what is your foobar?\",\n    \"securityAnswer\": \"Bar Baz\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"543"},{"key":"ETag","value":"W/\"21f-WTPqw95K78H+q5xbRhYU5N/XtJY\""},{"key":"Date","value":"Thu, 17 Dec 2020 14:57:21 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"daria+1@desmart.com\",\n    \"password\": null,\n    \"security_question\": null,\n    \"security_answer\": null,\n    \"id\": \"cd36fc7b-2738-449c-8e21-bbf242e50ff9\",\n    \"verification_pin\": null,\n    \"kyc_status\": \"not_verified\",\n    \"is_email_verified\": false,\n    \"is_active\": false,\n    \"password_reset_pin\": null,\n    \"password_reset_pin_created_at\": null,\n    \"is_kyc_verified\": false,\n    \"failed_kyc_attempts\": 0,\n    \"first_name\": null,\n    \"last_name\": null,\n    \"date_of_birth\": null,\n    \"phone_number\": null,\n    \"nickname\": null,\n    \"app_pin\": null,\n    \"is_wallet_active\": false,\n    \"profile_photo_url\": null,\n    \"role\": \"wallet_owner\",\n    \"deleted_at\": null\n}"},{"id":"634a03d7-2e5b-4508-b5bc-a7c574a8f565","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+1@desmart.com\",\n    \"password\": \"123qwe!@#\",\n    \"securityQuestion\": \"what is your foobar?\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"124"},{"key":"ETag","value":"W/\"7c-jTSAQ6iSgD6izzMS7uM0w76FxEg\""},{"key":"Date","value":"Thu, 17 Dec 2020 14:57:59 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"default-error\",\n        \"message\": [\n            \"\\\"securityAnswer\\\" is required\"\n        ],\n        \"statusCode\": 422\n    }\n}"}],"_postman_id":"c45f80a6-e554-476d-bad6-d35fb6b2c71d"},{"name":"Verify customer","id":"23531b74-9f05-48ed-9c75-80cd6795f779","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"cc6435e6-115b-4e1e-9a9a-f858dfd46ce2\",\n    \"pin\": \"9424\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/verify","description":"<p>Attempt to verify customer.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong>  (required*)</td>\n<td>valid id of existing customer</td>\n</tr>\n<tr>\n<td><strong>pin</strong>  (required*)</td>\n<td>4 digit pin code received in an email</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>404</code> Not Found</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["customers","verify"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"98f0759b-0a7f-4af2-b543-9962c5760e37","name":"404 - Not Found","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"id\": \"cd36fc7b-2738-449c-8e21-bbf242e50ff9\",\n    \"pin\": \"8693\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/verify"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"113"},{"key":"ETag","value":"W/\"71-zh/1AMezpkOuI/kQoIAL+vnjxxI\""},{"key":"Date","value":"Thu, 17 Dec 2020 15:16:19 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.not-found\",\n        \"message\": \"Customer not found\",\n        \"statusCode\": 404\n    }\n}"},{"id":"cc99af15-5a67-4a42-86c6-e6b4eeb623cf","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"id\": \"cd36fc7b-2738-449c-8e21-bbf242e50ff9\",\n    \"pin\": \"7074\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"291"},{"key":"ETag","value":"W/\"123-k5Lr/01i8L3s3OMOE6n+Bz1BzsY\""},{"key":"Date","value":"Thu, 17 Dec 2020 15:18:04 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNkMzZmYzdiLTI3MzgtNDQ5Yy04ZTIxLWJiZjI0MmU1MGZmOSIsImVtYWlsIjoiZGFyaWErMUBkZXNtYXJ0LmNvbSIsImNyZWF0ZWRBdCI6IjIwMjAtMTItMTdUMTU6MTg6MDQuNTQ5WiIsImlhdCI6MTYwODIxODI4NCwiZXhwIjoxNjA4MzA0Njg0fQ.HEzCuR4iEj6_C88Q8vgja9JsTtb5X99cfXBGA-Q_WAo\"\n}"},{"id":"e144ded3-2c87-484f-9a5f-fee7dab449d2","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"id\": \"cd36fc7b-2738-449c-8e21-bbf242e50ff9\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/verify"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"114"},{"key":"ETag","value":"W/\"72-Z3fJmgOHlA1hZqSSMUD0myFXa8g\""},{"key":"Date","value":"Thu, 17 Dec 2020 15:17:27 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.invalid\",\n        \"message\": [\n            \"\\\"pin\\\" is required\"\n        ],\n        \"statusCode\": 422\n    }\n}"}],"_postman_id":"23531b74-9f05-48ed-9c75-80cd6795f779"},{"name":"Resend verifiaction email","id":"058851ee-907f-4dbe-9a1f-145597558614","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"url":"{{API_URL}}/customers/:id/resend-verification-email","description":"<p>Attempt to resend verification email for a customer. </p>\n<p>Customer should receive an email with a verification pin code and a link to an app.</p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>404</code> Not Found</li>\n</ul>\n","urlObject":{"path":["customers",":id","resend-verification-email"],"host":["{{API_URL}}"],"query":[],"variable":[{"description":{"content":"<p>id of a registered customer</p>\n","type":"text/plain"},"type":"string","value":"cd36fc7b-2738-449c-8e21-bbf242e50ff9","key":"id"}]}},"response":[{"id":"1c5d3a30-e57f-4bf8-ae8a-b612bad55f9b","name":"404 - Not Found","originalRequest":{"method":"POST","header":[{"key":"","type":"text","value":"","disabled":true}],"url":{"raw":"{{API_URL}}/customers/:id/resend-verification-email","host":["{{API_URL}}"],"path":["customers",":id","resend-verification-email"],"variable":[{"description":"id of a registered customer","key":"id","type":"string","value":"cd36fc7b-2738-449c-8e21-bbf242e50ff1"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"113"},{"key":"ETag","value":"W/\"71-zh/1AMezpkOuI/kQoIAL+vnjxxI\""},{"key":"Date","value":"Thu, 17 Dec 2020 15:40:46 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.not-found\",\n        \"message\": \"Customer not found\",\n        \"statusCode\": 404\n    }\n}"},{"id":"6e4e949a-5800-4f5d-8b99-c9adcaff716d","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"","type":"text","value":"","disabled":true}],"url":{"raw":"{{API_URL}}/customers/:id/resend-verification-email","host":["{{API_URL}}"],"path":["customers",":id","resend-verification-email"],"variable":[{"description":"id of a registered customer","key":"id","type":"string","value":"cd36fc7b-2738-449c-8e21-bbf242e50ff9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Date","value":"Thu, 17 Dec 2020 15:37:09 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"058851ee-907f-4dbe-9a1f-145597558614"}],"id":"1fb3afe0-6262-45a2-912a-530ed4cb1d72","description":"<p>Initialization of a customer with a role of: <code>wallet_owner</code>.</p>\n<ul>\n<li>create a customer</li>\n<li>verify a customer</li>\n<li>resend verification email</li>\n</ul>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"69ae2b80-5a10-4d28-93ed-e4634a41b299","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fe75099d-f468-4205-86e0-0073e5c449dd","type":"text/javascript","exec":[""]}}],"_postman_id":"1fb3afe0-6262-45a2-912a-530ed4cb1d72"},{"name":"Reset password","item":[{"name":"Reset password init","id":"0ada9d13-9f8b-437a-837d-efb91d1a8fde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+1@desmart.com\",\n    \"securityAnswer\": \"Bar Baz\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/reset-password-init","description":"<p>Attempt to initiate password reset for existing customer.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>email</strong>  (required*)</td>\n<td>valid email of existing customer</td>\n</tr>\n<tr>\n<td><strong>securityAnswer</strong>  (required*)</td>\n<td>valid serurity answer entered upon account creation</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>403</code> Forbidden</li>\n<li><code>404</code> Not Found</li>\n</ul>\n","urlObject":{"path":["customers","reset-password-init"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"7355a767-fa65-4a4d-85ea-6b82581dfff5","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+1@desmart.com\",\n    \"securityAnswer\": \"Bar Baz\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/reset-password-init"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Date","value":"Thu, 17 Dec 2020 17:27:39 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null},{"id":"8714b200-7b66-46f6-9590-a6f0493be07c","name":"404 - Not Found","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+5@desmart.com\",\n    \"securityAnswer\": \"123QWe\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/reset-password-init"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"113"},{"key":"ETag","value":"W/\"71-zh/1AMezpkOuI/kQoIAL+vnjxxI\""},{"key":"Date","value":"Thu, 17 Dec 2020 17:26:36 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.not-found\",\n        \"message\": \"Customer not found\",\n        \"statusCode\": 404\n    }\n}"},{"id":"e7dbc9fe-8f2b-4052-823b-f966784f6eb4","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+1@desmart.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/reset-password-init"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"125"},{"key":"ETag","value":"W/\"7d-O5EiG+D+mxR1QAy8gVoQMwLq7Vo\""},{"key":"Date","value":"Thu, 17 Dec 2020 17:29:09 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.invalid\",\n        \"message\": [\n            \"\\\"securityAnswer\\\" is required\"\n        ],\n        \"statusCode\": 422\n    }\n}"},{"id":"f093e68b-e2c6-4286-ad1f-cac7f6f3d0f4","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+1@desmart.com\",\n    \"securityAnswer\": \"123QWe\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/reset-password-init"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-YL6IjmKn/yakzJzVTNorBCD0fkQ\""},{"key":"Date","value":"Thu, 17 Dec 2020 17:24:52 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.security-answer-invalid\",\n        \"message\": \"Unhandled Error\",\n        \"statusCode\": 403\n    }\n}"}],"_postman_id":"0ada9d13-9f8b-437a-837d-efb91d1a8fde"},{"name":"Reset password validate","id":"a2a4c669-c667-4ce8-bde3-1c5703ef2db4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"cd36fc7b-2738-449c-8e21-bbf242e50ff9\",\n    \"pin\": \"7689\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/reset-password-validate","description":"<p>Attempt to validate reset password pin (which is valid for <strong>3h</strong>).</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong>  (required*)</td>\n<td>id of existing customer</td>\n</tr>\n<tr>\n<td><strong>pin</strong> (required*)</td>\n<td>valid pin received by email</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>403</code> Forbidden</li>\n</ul>\n","urlObject":{"path":["customers","reset-password-validate"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"090c7957-0836-49d1-9d6d-7a585a3ab3a8","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"id\": \"cd36fc7b-2738-449c-8e21-bbf242e50ff9\",\n    \"pin\": \"1152\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/reset-password-validate"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"126"},{"key":"ETag","value":"W/\"7e-d7z4E02JCQovQhSWAz8+S/DgMRA\""},{"key":"Date","value":"Thu, 17 Dec 2020 17:30:18 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.password-reset-pin.mismatch\",\n        \"message\": \"Unhandled Error\",\n        \"statusCode\": 403\n    }\n}"},{"id":"4a14f433-5b19-47c9-8562-3b7cb12f2dcf","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"id\": \"cd36fc7b-2738-449c-8e21-bbf242e50ff9\",\n    \"pin\": \"7689\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/reset-password-validate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"16"},{"key":"ETag","value":"W/\"10-MsjnYJT8tv1YDQIW8xqLq60iHcM\""},{"key":"Date","value":"Thu, 17 Dec 2020 17:31:37 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"isValid\": true\n}"}],"_postman_id":"a2a4c669-c667-4ce8-bde3-1c5703ef2db4"},{"name":"Reset password finish","id":"46b849cb-a852-43a6-814f-7867c9d94168","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"cd36fc7b-2738-449c-8e21-bbf242e50ff9\",\n    \"pin\": \"2898\",\n    \"password\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/reset-password-finish","description":"<p>Attempt to finalize reset of a password.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong>  (required*)</td>\n<td>id of existing customer</td>\n</tr>\n<tr>\n<td><strong>pin</strong> (required*)</td>\n<td>valid pin received by email</td>\n</tr>\n<tr>\n<td><strong>password</strong> (required*)</td>\n<td>new valid password to be set (8 characters + a special one)</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>403</code> Forbidden</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["customers","reset-password-finish"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"48d58861-787b-49ce-9023-d2c5085a376b","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"770dd0a9-3e17-4f1d-a718-bfc130e65f6a\",\n    \"pin\": \"1735\",\n    \"password\": \"1234qwer$\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/reset-password-finish"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"126"},{"key":"ETag","value":"W/\"7e-d7z4E02JCQovQhSWAz8+S/DgMRA\""},{"key":"Date","value":"Thu, 17 Dec 2020 17:46:36 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.password-reset-pin.mismatch\",\n        \"message\": \"Unhandled Error\",\n        \"statusCode\": 403\n    }\n}"},{"id":"4a26bf4b-7e93-4db9-a1ab-636fb607ca3e","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"cd36fc7b-2738-449c-8e21-bbf242e50ff9\",\n    \"pin\": \"7689\",\n    \"password\": \"123\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/reset-password-finish"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"149"},{"key":"ETag","value":"W/\"95-sx9cG4E3Wa7CdDe1VVMUTQCl9lA\""},{"key":"Date","value":"Thu, 17 Dec 2020 17:47:18 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.invalid\",\n        \"message\": [\n            \"\\\"password\\\" length must be at least 8 characters long\"\n        ],\n        \"statusCode\": 422\n    }\n}"},{"id":"52e0458f-4f9d-49cb-978a-edf7255fbd65","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"cd36fc7b-2738-449c-8e21-bbf242e50ff9\",\n    \"pin\": \"7689\",\n    \"password\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/reset-password-finish"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"677"},{"key":"ETag","value":"W/\"2a5-QQOAAZqpCMVcUxt55q551hvBYLg\""},{"key":"Date","value":"Thu, 17 Dec 2020 17:57:42 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"password\": \"$2a$10$5pYgXLIgFzaIsiKa9e32z.MolM35BXfNPJt/eg3dmwNpr5bujBG96\",\n    \"password_reset_pin\": null,\n    \"password_reset_pin_created_at\": null,\n    \"id\": \"cd36fc7b-2738-449c-8e21-bbf242e50ff9\",\n    \"email\": \"daria+1@desmart.com\",\n    \"is_email_verified\": true,\n    \"is_active\": true,\n    \"verification_pin\": \"2861\",\n    \"security_question\": \"what is your foobar?\",\n    \"security_answer\": \"$2a$10$9yKISChtrrdWr5Sq6CwVNut89PYzEg3rp2IMnIlvN1uqu6b8gZoue\",\n    \"is_kyc_verified\": false,\n    \"failed_kyc_attempts\": 0,\n    \"kyc_status\": \"not_verified\",\n    \"first_name\": null,\n    \"last_name\": null,\n    \"date_of_birth\": null,\n    \"phone_number\": null,\n    \"nickname\": null,\n    \"app_pin\": null,\n    \"is_wallet_active\": false,\n    \"profile_photo_url\": null,\n    \"role\": \"wallet_owner\",\n    \"deleted_at\": null\n}"},{"id":"f08946fa-d971-4540-8843-18222f64bf93","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"cd36fc7b-2738-449c-8e21-bbf242e50ff9\",\n    \"pin\": \"7689\",\n    \"password\": \"12345678\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/reset-password-finish"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"134"},{"key":"ETag","value":"W/\"86-VUOdhnS5oLa1nJjBIgA2GLALodk\""},{"key":"Date","value":"Thu, 17 Dec 2020 17:48:11 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.password-reset.new-password-invalid\",\n        \"message\": \"Unhandled Error\",\n        \"statusCode\": 403\n    }\n}"}],"_postman_id":"46b849cb-a852-43a6-814f-7867c9d94168"}],"id":"e82f7e6f-76a9-45b3-938e-811020f789c4","description":"<p>Section is responsible for reseting a password if a customer forgot it and/or he has troubles logging in.</p>\n<p>To reset a password we start with <code>Reset passsword init</code> that sends an email to a customer, from where he has to get a pin code (confirming that he is who he says he is). An email contains reset password pin that can be validated with <code>Reset password validate</code>, the pin code is valid for 3h. To finalize the password change we use <code>Reset password finish</code> EP.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"e27bfafc-fbf9-4031-b8a3-167f14688ec5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"92efbfbe-05dd-4846-bdb9-c35622806cbb","type":"text/javascript","exec":[""]}}],"_postman_id":"e82f7e6f-76a9-45b3-938e-811020f789c4"},{"name":"Profile","item":[{"name":"Change password","id":"c1e56b0d-fe2e-4f53-9261-dba78a36f2e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"currentPassword\": \"123qwe!@#\",\n    \"newPassword\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/change-password","description":"<p>Attempt to change password for a currently logged in customer.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>currentPassword</strong>  (required*)</td>\n<td>valid currently used password for a customer</td>\n</tr>\n<tr>\n<td><strong>newPassword</strong> (required*)</td>\n<td>valid new password (8 characters with one special)</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n</ul>\n","urlObject":{"path":["customers","change-password"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"629e5ab4-ff8f-4935-bd47-54e0c9e4a34b","name":"200 - OK","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"currentPassword\": \"123qwe!@#\",\n    \"newPassword\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/change-password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"412"},{"key":"ETag","value":"W/\"19c-g9DBaZfywUEZag84ic2g0ytgJtE\""},{"key":"Date","value":"Thu, 17 Dec 2020 19:12:44 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n    \"email\": \"daria+1@desmart.com\",\n    \"is_email_verified\": true,\n    \"is_active\": true,\n    \"password_reset_pin_created_at\": null,\n    \"is_kyc_verified\": false,\n    \"failed_kyc_attempts\": 0,\n    \"kyc_status\": \"not_verified\",\n    \"first_name\": null,\n    \"last_name\": null,\n    \"date_of_birth\": null,\n    \"phone_number\": null,\n    \"nickname\": null,\n    \"is_wallet_active\": false,\n    \"profile_photo_url\": null,\n    \"role\": \"wallet_owner\",\n    \"deleted_at\": null\n}"},{"id":"8f1fa98e-e4a6-4c71-9ab2-2872abd0f1ad","name":"401 - Unauthorized","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"currentPassword\": \"123qwe!@#$\",\n    \"newPassword\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/change-password"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Thu, 17 Dec 2020 18:31:09 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"},{"id":"f55815f5-f56f-4e4b-922b-2932de6c6d49","name":"403 - Forbidden","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"currentPassword\": \"123qwe!@#$\",\n    \"newPassword\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/change-password"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"123"},{"key":"ETag","value":"W/\"7b-ScKCF6BhK2t/ImQOTJMLmSMa+l8\""},{"key":"Date","value":"Thu, 17 Dec 2020 18:41:33 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.current-password-invalid\",\n        \"message\": \"Unhandled Error\",\n        \"statusCode\": 403\n    }\n}"}],"_postman_id":"c1e56b0d-fe2e-4f53-9261-dba78a36f2e0"},{"name":"Update profile photo","id":"d1224343-52f9-4071-b1f4-6001e8c76639","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"url\": \"https://desmart.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/profile-photo","description":"<p>Attempt to update user profile picture of currently logged in customer.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>url</strong>  (required*)</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n</ul>\n","urlObject":{"path":["customers","profile-photo"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"7639ce2e-0681-4759-a9bb-2f11496d83d1","name":"200 - OK","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"url\": \"https://desmart.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/profile-photo"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"429"},{"key":"ETag","value":"W/\"1ad-EQszRcNyxBzLKXTo/zFOFUdOdRk\""},{"key":"Date","value":"Thu, 17 Dec 2020 19:58:53 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n    \"email\": \"daria+1@desmart.com\",\n    \"is_email_verified\": true,\n    \"is_active\": true,\n    \"password_reset_pin_created_at\": null,\n    \"is_kyc_verified\": false,\n    \"failed_kyc_attempts\": 0,\n    \"kyc_status\": \"not_verified\",\n    \"first_name\": null,\n    \"last_name\": null,\n    \"date_of_birth\": null,\n    \"phone_number\": null,\n    \"nickname\": null,\n    \"is_wallet_active\": false,\n    \"profile_photo_url\": \"https://desmart.com\",\n    \"role\": \"wallet_owner\",\n    \"deleted_at\": null\n}"},{"id":"8e0963a8-0137-4d7b-beb8-a36e266125d8","name":"422 - Unprocessable Entity","originalRequest":{"method":"PATCH","header":[],"url":"{{API_URL}}/customers/profile-photo"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"114"},{"key":"ETag","value":"W/\"72-EMfj2n1i8XBBopyEdRCYQ16ixgk\""},{"key":"Date","value":"Thu, 17 Dec 2020 19:55:48 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.invalid\",\n        \"message\": [\n            \"\\\"url\\\" is required\"\n        ],\n        \"statusCode\": 422\n    }\n}"},{"id":"9f6c6f3b-3240-424a-b4dd-c2b7cda5a58a","name":"401 - Unauthorized","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"url\": \"https://desmart.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/profile-photo"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Thu, 17 Dec 2020 19:56:15 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"}],"_postman_id":"d1224343-52f9-4071-b1f4-6001e8c76639"},{"name":"Update profile","id":"11775b5d-98be-41e0-af68-cf9a731eb779","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Dohn\",\n    \"lastName\": \"Joe\",\n    \"dateOfBirth\": \"1985-03-05\",\n    \"nickname\": \"foobar\",\n    \"street\": \"James Street 12A\",\n    \"houseNumber\": \"42\",\n    \"city\": \"London\",\n    \"countryCode\": \"GB\",\n    \"postalCode\": \"123-AC\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/profile","description":"<p>Attempt to update user profile details of currently logged in customer.</p>\n<p><strong>Important</strong>: API accept different sets of data based on the user's role.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<h3 id=\"base-fields-for-every-customer\">base fields for every customer</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>firstName</strong>  (required*)</td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>lastName</strong>  (required*)</td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>dateOfBirth</strong>  (required*)</td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>phoneNumber</strong></td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>nickname</strong></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"additional-fields-for-wallet_owner\">additional fields for <code>wallet_owner</code></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>city</strong>  (required*)</td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>countryCode</strong>  (required*)</td>\n<td>string (2 characters)</td>\n</tr>\n<tr>\n<td><strong>postalCode</strong>  (required*)</td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>street</strong>  (required*)</td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>houseNumber</strong>  (required*)</td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>flatNumber</strong></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"additional-fields-for-family_member\">additional fields for <code>family_member</code></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>address</strong>  (required*)</td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>state</strong>  (required*)</td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>countryCode</strong>  (required*)</td>\n<td>string (2 characters)</td>\n</tr>\n<tr>\n<td><strong>voivodeship</strong>  (required*)</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n</ul>\n","urlObject":{"path":["customers","profile"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"180f4ab3-bbd0-41e3-aa81-c072725fb8aa","name":"200 - OK","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Dohn\",\n    \"lastName\": \"Joe\",\n    \"dateOfBirth\": \"1985-03-05\",\n    \"nickname\": \"foobar\",\n    \"street\": \"James Street 12A\",\n    \"houseNumber\": \"42\",\n    \"city\": \"London\",\n    \"countryCode\": \"GB\",\n    \"postalCode\": \"123-AC\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"458"},{"key":"ETag","value":"W/\"1ca-3/Q9cjBIOUmSukz6Fz5uZxjSM4g\""},{"key":"Date","value":"Thu, 17 Dec 2020 20:35:47 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n    \"email\": \"daria+1@desmart.com\",\n    \"is_email_verified\": true,\n    \"is_active\": true,\n    \"password_reset_pin_created_at\": null,\n    \"is_kyc_verified\": false,\n    \"failed_kyc_attempts\": 0,\n    \"kyc_status\": \"not_verified\",\n    \"first_name\": \"Dohn\",\n    \"last_name\": \"Joe\",\n    \"date_of_birth\": \"1985-03-04T23:00:00.000Z\",\n    \"phone_number\": null,\n    \"nickname\": \"foobar\",\n    \"is_wallet_active\": false,\n    \"profile_photo_url\": \"https://desmart.com\",\n    \"role\": \"wallet_owner\",\n    \"deleted_at\": null\n}"},{"id":"1ef935ad-4c1f-469c-9dcd-b40dd13c364f","name":"422 - Unprocessable Entity","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Dohn\",\n    \"lastName\": \"Joe\",\n    \"dateOfBirth\": \"1985-03-05\",\n    \"phoneNumber\": \"+1232112312\",\n    \"nickname\": \"foobar\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/profile"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"202"},{"key":"ETag","value":"W/\"ca-s/vYmfhhbMWe4IbTSqd9ph49pOU\""},{"key":"Date","value":"Thu, 17 Dec 2020 20:25:04 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.invalid\",\n        \"message\": [\n            \"\\\"address\\\" is required\",\n            \"\\\"countryCode\\\" is required\",\n            \"\\\"voivodeship\\\" is required\",\n            \"\\\"state\\\" is required\"\n        ],\n        \"statusCode\": 422\n    }\n}"},{"id":"46a8924a-d10f-4145-b480-be6f33e83aca","name":"401 - Unauthorized","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Dohn\",\n    \"lastName\": \"Joe\",\n    \"dateOfBirth\": \"1985-03-05\",\n    \"phoneNumber\": \"+1232112312\",\n    \"nickname\": \"foobar\",\n    \"street\": \"James Street 12A\",\n    \"houseNumber\": \"42\",\n    \"city\": \"London\",\n    \"countryCode\": \"GB\",\n    \"postalCode\": \"123-AC\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/profile"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Thu, 17 Dec 2020 20:25:30 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"}],"_postman_id":"11775b5d-98be-41e0-af68-cf9a731eb779"},{"name":"Get profile","id":"48f3a33f-4f4e-4837-9a18-5a4bf63113bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/customers/profile","description":"<p>Fetches profile of currently logged in customer.</p>\n<p><strong>Important</strong>: Returns different set of <code>meta_data</code> fields depending on the role of a customer.</p>\n<p><strong>wallet_owner</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"street\": \"\",\n    \"house_number\": \"\",\n    \"flat_number\": \"\",\n    \"city\": \"\",\n    \"country_code\": \"\",\n    \"postal_code\": \"\"\n}\n</code></pre><p><strong>family_member</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"address\": \"\",\n    \"state\": \"\",\n    \"voivodeship\": \"\",\n    \"country_code\": \"\",\n    \"owner\": {\n        \"first_name\": \"\",\n        \"last_name\": \"\"\n    }\n}\n</code></pre><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>404</code> Not Found</li>\n</ul>\n","urlObject":{"path":["customers","profile"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"62e78f89-a375-43ab-9cea-327ee4a96a2d","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"{{API_URL}}/customers/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"429"},{"key":"ETag","value":"W/\"1ad-Ugb6Ymxk6MgtWTyE2EZU3eS0Nus\""},{"key":"Date","value":"Thu, 17 Dec 2020 18:20:36 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"daria+1@desmart.com\",\n    \"id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n    \"kyc_status\": \"not_verified\",\n    \"is_email_verified\": true,\n    \"is_active\": true,\n    \"is_kyc_verified\": false,\n    \"failed_kyc_attempts\": 0,\n    \"first_name\": null,\n    \"last_name\": null,\n    \"nickname\": null,\n    \"app_pin\": null,\n    \"is_wallet_active\": false,\n    \"date_of_birth\": null,\n    \"phone_number\": null,\n    \"street\": null,\n    \"house_number\": null,\n    \"flat_number\": null,\n    \"city\": null,\n    \"country_code\": null,\n    \"postal_code\": null\n}"},{"id":"e995f69d-1ade-435f-ab66-378dcd33d83e","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":"{{API_URL}}/customers/profile"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Thu, 17 Dec 2020 18:21:00 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"}],"_postman_id":"48f3a33f-4f4e-4837-9a18-5a4bf63113bb"},{"name":"Get notifications","id":"b2be220c-442c-406c-bbf5-9584a7f804bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/customers/notifications?order[by]=created_at&order[dir]=desc","description":"<p>Fetches whole list of customers notifications with enabled pagination and advanced filtration system.</p>\n<p>Advanced filtering is accepting <code>filter</code> params that are build as follows: <code>filter[name_of_key]</code>\nAllowed keys for filtering with the types they are representing:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  'seen_at' - date\n  'created_at' - date\n  'notification_type' - Enum('need_support', 'running_low')\n</code></pre><p>As a value of filter param we can pass value with an operator, they look as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>no operator - simple value that has to be matched (e.g. `true`, `wallet_owner`)\n| - range operator, followerd by 2 numbers separated with a comma, deteremines from what range do we want to match the numbers (e.g. `|0,1` - means &lt;0,1&gt;)\n__ - invokes a custom filter, followed by the name of custom filter (e.g. `__all_active`)\n&lt;&gt; - comparision sign, folowed by a number value (e.g. `&gt;30`, `&lt;5`)\n</code></pre><p><strong>This endpoint has no custom filters</strong></p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n</ul>\n","urlObject":{"path":["customers","notifications"],"host":["{{API_URL}}"],"query":[{"disabled":true,"description":{"content":"<p>which page should be fetched (default to 1)</p>\n","type":"text/plain"},"key":"limit[page]","value":"1"},{"disabled":true,"description":{"content":"<p>how many records should be displayed per page (default to 10)</p>\n","type":"text/plain"},"key":"limit[take]","value":"10"},{"description":{"content":"<p>(required*) by which property list should be orderd</p>\n","type":"text/plain"},"key":"order[by]","value":"created_at"},{"description":{"content":"<p>(required*) takes either of following values: [ ASC ] ,  [ DESC ]</p>\n","type":"text/plain"},"key":"order[dir]","value":"desc"},{"disabled":true,"description":{"content":"<p>filters the results by property <code>notification_type</code> and searches for the value of <code>need_support</code></p>\n","type":"text/plain"},"key":"filter[notification_type]","value":"need_support"}],"variable":[]}},"response":[{"id":"e114f072-795a-4c7b-ac00-688c69e13138","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_URL}}/customers/notifications?limit[page]=1&limit[take]=10&order[by]=created_at&order[dir]=desc&filter[notification_type]=need_support","host":["{{API_URL}}"],"path":["customers","notifications"],"query":[{"key":"limit[page]","value":"1"},{"key":"limit[take]","value":"10"},{"key":"order[by]","value":"created_at"},{"key":"order[dir]","value":"desc"},{"key":"filter[notification_type]","value":"need_support"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"340"},{"key":"ETag","value":"W/\"154-k8gLekaEeAqxg+KmCp96UT0fQ1A\""},{"key":"Date","value":"Sun, 20 Dec 2020 13:26:25 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"19eab4df-d0d9-4708-a641-5c5a1822b00e\",\n            \"recipient_id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n            \"created_at\": \"2020-12-19T20:07:28.204Z\",\n            \"notification_type\": \"need_support\",\n            \"payload\": {\n                \"amount\": 1234,\n                \"categories\": {\n                    \"foo\": 20,\n                    \"bar\": 80\n                },\n                \"comment\": null\n            },\n            \"seen_at\": null\n        }\n    ],\n    \"meta\": {\n        \"page\": \"1\",\n        \"take\": \"10\",\n        \"recordsTotal\": \"1\",\n        \"pagesTotal\": 1\n    }\n}"}],"_postman_id":"b2be220c-442c-406c-bbf5-9584a7f804bf"}],"id":"7b5a5985-88f9-405a-97a5-633f8a4176b3","description":"<p>Section is responsible for managign customer's profile.\nKeep in mind that depending on a customer's role the fields may differ (described in following EP).</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"b1ab6582-5351-45a5-84d7-accb5672be4c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f55b32f9-5911-4203-9547-7726bf0e93f5","type":"text/javascript","exec":[""]}}],"_postman_id":"7b5a5985-88f9-405a-97a5-633f8a4176b3"},{"name":"PIN managment","item":[{"name":"Set app PIN","id":"86b0d35f-0cf1-481f-91f5-4f31c57eecf1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appPin\": \"5337\",\n    \"password\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/pin","description":"<p>Attempt to set a pin code for a customer (can be set only once).\nIf you want to change the pin code then go to <code>App PIN change</code> EP.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>password</strong>  (required*)</td>\n<td>valid password for customer</td>\n</tr>\n<tr>\n<td><strong>appPin</strong> (required*)</td>\n<td>4 digit pin</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["customers","pin"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"2ce6da7e-9fb6-4317-83e9-75e80854b68f","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appPin\": \"1234\",\n    \"password\": \"1234qwer#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/pin"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Thu, 17 Dec 2020 20:47:31 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"},{"id":"2ecaa673-41e8-48b9-b0d1-e1dcbd0565dc","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appPin\": \"1234\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/pin"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"119"},{"key":"ETag","value":"W/\"77-I/YmxYrZDH3RENub4+WFXk50OKA\""},{"key":"Date","value":"Thu, 17 Dec 2020 20:48:37 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.invalid\",\n        \"message\": [\n            \"\\\"password\\\" is required\"\n        ],\n        \"statusCode\": 422\n    }\n}"},{"id":"8d6250ca-0858-4ce7-ad08-3059a9cdb9c4","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appPin\": \"1234\",\n    \"password\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/pin"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"123"},{"key":"ETag","value":"W/\"7b-gJO7eUR+YRBG7EWsHw+V8Ttu8+c\""},{"key":"Date","value":"Thu, 17 Dec 2020 20:51:55 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.app-pin-already-set\",\n        \"message\": \"PIN code already set\",\n        \"statusCode\": 403\n    }\n}"},{"id":"d6698432-2376-4d41-ac6b-1674f6e1dffd","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appPin\": \"1234\",\n    \"password\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/pin"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"458"},{"key":"ETag","value":"W/\"1ca-3/Q9cjBIOUmSukz6Fz5uZxjSM4g\""},{"key":"Date","value":"Thu, 17 Dec 2020 20:52:53 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n    \"email\": \"daria+1@desmart.com\",\n    \"is_email_verified\": true,\n    \"is_active\": true,\n    \"password_reset_pin_created_at\": null,\n    \"is_kyc_verified\": false,\n    \"failed_kyc_attempts\": 0,\n    \"kyc_status\": \"not_verified\",\n    \"first_name\": \"Dohn\",\n    \"last_name\": \"Joe\",\n    \"date_of_birth\": \"1985-03-04T23:00:00.000Z\",\n    \"phone_number\": null,\n    \"nickname\": \"foobar\",\n    \"is_wallet_active\": false,\n    \"profile_photo_url\": \"https://desmart.com\",\n    \"role\": \"wallet_owner\",\n    \"deleted_at\": null\n}"}],"_postman_id":"86b0d35f-0cf1-481f-91f5-4f31c57eecf1"},{"name":"App PIN verification","id":"c4a84b07-8e6e-4058-9acb-595b8aa1d5ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appPin\": \"1234\",\n    \"id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/pin-verify","description":"<p>Verify the app pin code for a customer. Returns either <code>true</code> or <code>false</code>, dependig if a PIN code is valid.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong>  (required*)</td>\n<td>id of existing customer</td>\n</tr>\n<tr>\n<td><strong>appPin</strong> (required*)</td>\n<td>valid pin (set by a customer)</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>404</code> Not Found</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["customers","pin-verify"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"98bdeb0a-4854-4f9b-8c65-5ced41702200","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appPin\": \"1234\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/pin-verify"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"113"},{"key":"ETag","value":"W/\"71-mYFyifKrG3UX6ngulCZxT5ExNDs\""},{"key":"Date","value":"Thu, 17 Dec 2020 21:03:13 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.invalid\",\n        \"message\": [\n            \"\\\"id\\\" is required\"\n        ],\n        \"statusCode\": 422\n    }\n}"},{"id":"c72cb735-c75f-4883-9683-d3cb4a9a5c12","name":"404 - Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appPin\": \"1234\",\n    \"id\": \"770dd0a9-3e17-4f1d-a718-bfc130e65f6a\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/pin-verify"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"113"},{"key":"ETag","value":"W/\"71-zh/1AMezpkOuI/kQoIAL+vnjxxI\""},{"key":"Date","value":"Thu, 17 Dec 2020 21:02:21 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.not-found\",\n        \"message\": \"Customer not found\",\n        \"statusCode\": 404\n    }\n}"},{"id":"dc4fcd8b-19bc-44c1-b4b1-e382e7532e8b","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appPin\": \"1234\",\n    \"id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/pin-verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"4"},{"key":"ETag","value":"W/\"4-X/5TO4MPCKAyY0ipFgr6/IraRNs\""},{"key":"Date","value":"Thu, 17 Dec 2020 21:03:56 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"c4a84b07-8e6e-4058-9acb-595b8aa1d5ce"},{"name":"App PIN change","id":"a477dcca-4ccb-4cf0-9c33-08d51a8f25d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"currentAppPin\": \"1234\",\n    \"newAppPin\": \"1234\",\n    \"password\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/pin-change","description":"<p>Attempt to change current customers app pin code.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>currentAppPin</strong>  (required*)</td>\n<td>app pin code used till now</td>\n</tr>\n<tr>\n<td><strong>newAppPin</strong> (required*)</td>\n<td>new 4 digit pin code</td>\n</tr>\n<tr>\n<td><strong>password</strong> (required*)</td>\n<td>valid password of currently logged in customer</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["customers","pin-change"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"643a81d8-fdd3-4e87-b7c4-48ad9053ee15","name":"200 - OK","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"currentAppPin\": \"1234\",\n    \"newAppPin\": \"1234\",\n    \"password\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/pin-change"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"458"},{"key":"ETag","value":"W/\"1ca-3/Q9cjBIOUmSukz6Fz5uZxjSM4g\""},{"key":"Date","value":"Thu, 17 Dec 2020 21:16:39 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n    \"email\": \"daria+1@desmart.com\",\n    \"is_email_verified\": true,\n    \"is_active\": true,\n    \"password_reset_pin_created_at\": null,\n    \"is_kyc_verified\": false,\n    \"failed_kyc_attempts\": 0,\n    \"kyc_status\": \"not_verified\",\n    \"first_name\": \"Dohn\",\n    \"last_name\": \"Joe\",\n    \"date_of_birth\": \"1985-03-04T23:00:00.000Z\",\n    \"phone_number\": null,\n    \"nickname\": \"foobar\",\n    \"is_wallet_active\": false,\n    \"profile_photo_url\": \"https://desmart.com\",\n    \"role\": \"wallet_owner\",\n    \"deleted_at\": null\n}"},{"id":"95b7abfc-78f2-4aac-9ffe-fd3a3545587f","name":"422 - Unprocessable Entity","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"currentAppPin\": \"5555\",\n    \"password\": \"1234qwer#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/pin-change"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"120"},{"key":"ETag","value":"W/\"78-tlXjpoHlffkimdMqtQPLu3By2sE\""},{"key":"Date","value":"Thu, 17 Dec 2020 21:13:13 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.invalid\",\n        \"message\": [\n            \"\\\"newAppPin\\\" is required\"\n        ],\n        \"statusCode\": 422\n    }\n}"},{"id":"d68c8318-de36-4461-aadc-8c79c8dea431","name":"401 - Unauthorized","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"currentAppPin\": \"5555\",\n    \"newAppPin\": \"1234\",\n    \"password\": \"1234qwer#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/pin-change"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Thu, 17 Dec 2020 21:11:38 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"},{"id":"d95851d1-c1fd-42ea-9b17-ef700a432631","name":"403 - Forbidden","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"currentAppPin\": \"5555\",\n    \"newAppPin\": \"1234\",\n    \"password\": \"1234qwer#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/pin-change"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"115"},{"key":"ETag","value":"W/\"73-ht9O6PgPrzVOB+OIXXfgN7f1GJQ\""},{"key":"Date","value":"Thu, 17 Dec 2020 21:14:54 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.app-pin-invalid\",\n        \"message\": \"Invalid PIN code\",\n        \"statusCode\": 403\n    }\n}"}],"_postman_id":"a477dcca-4ccb-4cf0-9c33-08d51a8f25d2"}],"id":"aed9d938-2b6f-4a46-8de4-0c405837b4e4","description":"<p>Section responsible for PIN managment. After creating an account a customer has to set a PIN code to their account, that action can happen only once. LAter on different transactions have to be verified with submitting PIN code in the app. At any point user can change their PIN using the <code>App PIN change</code> endpoint.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"5c6a0d8e-eec1-4fa5-a6c5-c2b6c4208ebe","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5ca42ae9-b41a-4b66-a801-57ff91d81b83","type":"text/javascript","exec":[""]}}],"_postman_id":"aed9d938-2b6f-4a46-8de4-0c405837b4e4"},{"name":"Wallet managment","item":[{"name":"Freeze wallet","id":"4ce1d546-6238-492c-b24a-74e8574b0e67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"PATCH","header":[],"url":"{{API_URL}}/customers/wallet/freeze","description":"<p>Attempt to freeze wallet of currently logged in customer.</p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n</ul>\n","urlObject":{"path":["customers","wallet","freeze"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"71abbccd-1577-48c7-98e5-1736c6b9f0fd","name":"401 - Unauthorized","originalRequest":{"method":"PATCH","header":[],"url":"{{API_URL}}/customers/wallet/freeze"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Thu, 17 Dec 2020 21:50:50 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"},{"id":"9451d77f-3c4b-405e-977b-5d6cd0b39e56","name":"200 - OK","originalRequest":{"method":"PATCH","header":[],"url":"{{API_URL}}/customers/wallet/freeze"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"453"},{"key":"ETag","value":"W/\"1c5-ToY1/Rr0gyBl5xGXlY88HtRdWuU\""},{"key":"Date","value":"Thu, 17 Dec 2020 21:54:17 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n    \"email\": \"daria+1@desmart.com\",\n    \"is_email_verified\": true,\n    \"is_active\": true,\n    \"password_reset_pin_created_at\": null,\n    \"is_kyc_verified\": true,\n    \"failed_kyc_attempts\": 0,\n    \"kyc_status\": \"approved\",\n    \"first_name\": \"Dohn\",\n    \"last_name\": \"Joe\",\n    \"date_of_birth\": \"1985-03-04T23:00:00.000Z\",\n    \"phone_number\": null,\n    \"nickname\": \"foobar\",\n    \"is_wallet_active\": false,\n    \"profile_photo_url\": \"https://desmart.com\",\n    \"role\": \"wallet_owner\",\n    \"deleted_at\": null\n}"},{"id":"f16b6c4c-16a1-4097-b7ac-f4532d8d9645","name":"403 - Forbidden","originalRequest":{"method":"PATCH","header":[],"url":"{{API_URL}}/customers/wallet/freeze"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-3CRtC7u2biTI4mhX5aayp4AxhaU\""},{"key":"Date","value":"Thu, 17 Dec 2020 21:51:16 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"kyc.unverified.wallet_owner\",\n        \"message\": \"KYC not verified\",\n        \"statusCode\": 403\n    }\n}"}],"_postman_id":"4ce1d546-6238-492c-b24a-74e8574b0e67"},{"name":"Unfreeze wallet","id":"2ee5affa-0ab6-474b-8d6f-c84f0098d4b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"appPin\": \"1234\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/wallet/unfreeze","description":"<p>Attempt to unfreeze wallet of currently logged in customer.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>appPin</strong> (required*)</td>\n<td>valid pin set by user</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n</ul>\n","urlObject":{"path":["customers","wallet","unfreeze"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"881041de-dead-4bb6-b715-9c6cf8a28c2f","name":"403 - Forbidden","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"appPin\": \"1234\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/wallet/unfreeze"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-3CRtC7u2biTI4mhX5aayp4AxhaU\""},{"key":"Date","value":"Thu, 17 Dec 2020 21:45:03 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"kyc.unverified.wallet_owner\",\n        \"message\": \"KYC not verified\",\n        \"statusCode\": 403\n    }\n}"},{"id":"9a4112c8-b5e0-44c3-a1f1-632b3c873c29","name":"401 - Unauthorized","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"appPin\": \"1234\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/wallet/unfreeze"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Thu, 17 Dec 2020 21:42:57 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"},{"id":"df1aad8f-1235-4be1-9585-df860c04be9a","name":"200 - OK","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"appPin\": \"1234\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/wallet/unfreeze"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"452"},{"key":"ETag","value":"W/\"1c4-g9idLoPKWYC/fModWPSu0BdPv8s\""},{"key":"Date","value":"Thu, 17 Dec 2020 21:55:00 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n    \"email\": \"daria+1@desmart.com\",\n    \"is_email_verified\": true,\n    \"is_active\": true,\n    \"password_reset_pin_created_at\": null,\n    \"is_kyc_verified\": true,\n    \"failed_kyc_attempts\": 0,\n    \"kyc_status\": \"approved\",\n    \"first_name\": \"Dohn\",\n    \"last_name\": \"Joe\",\n    \"date_of_birth\": \"1985-03-04T23:00:00.000Z\",\n    \"phone_number\": null,\n    \"nickname\": \"foobar\",\n    \"is_wallet_active\": true,\n    \"profile_photo_url\": \"https://desmart.com\",\n    \"role\": \"wallet_owner\",\n    \"deleted_at\": null\n}"}],"_postman_id":"2ee5affa-0ab6-474b-8d6f-c84f0098d4b5"},{"name":"Get wallet","id":"0fad05fd-cbcb-44da-8b4d-520f14602637","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/customers/wallet","description":"<p>Attempt to fetch a wallet of currently logged in customer.</p>\n<p>The integration from which the wallet data is fetched depends on a customer role:</p>\n<ul>\n<li><code>wallet_owner</code> - Railsbank</li>\n<li><code>family_member</code> - Wallets.Africa</li>\n</ul>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n<li><code>404</code> Not Found</li>\n</ul>\n","urlObject":{"path":["customers","wallet"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"2dd1bcab-516a-47c3-8155-6410872599f1","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[],"url":"{{API_URL}}/customers/wallet"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-3CRtC7u2biTI4mhX5aayp4AxhaU\""},{"key":"Date","value":"Thu, 17 Dec 2020 21:28:28 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"kyc.unverified.wallet_owner\",\n        \"message\": \"KYC not verified\",\n        \"statusCode\": 403\n    }\n}"},{"id":"9a85fc60-2f5b-4df0-a6a0-928d7cc2c8ac","name":"200 - OK (family_member)","originalRequest":{"method":"GET","header":[],"url":"{{API_URL}}/customers/wallet"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"291"},{"key":"ETag","value":"W/\"123-6iFceVFktyJIvwQOkMJRVVEn8GU\""},{"key":"Date","value":"Tue, 22 Dec 2020 11:00:47 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"FirstName\": \"JOHN\",\n    \"LastName\": \"DOE\",\n    \"Email\": \"daria+member1@desmart.com\",\n    \"PhoneNumber\": \"2348468441301\",\n    \"BVN\": null,\n    \"Password\": null,\n    \"DateOfBirth\": \"01-JAN-1990\",\n    \"DateSignedup\": \"12/21/2020 6:55:18 PM\",\n    \"AccountNo\": \"9094592924\",\n    \"Bank\": \"Providus Bank\",\n    \"AccountName\": \"JOHN DOE\",\n    \"AvailableBalance\": 0\n}"},{"id":"b0eb2a7c-a463-40df-aa70-1681d631162c","name":"200 - OK (wallet_owner)","originalRequest":{"method":"GET","header":[],"url":"{{API_URL}}/customers/wallet"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"985"},{"key":"ETag","value":"W/\"3d9-eddlcTgt297nWZjqDvt1Obc6G3Q\""},{"key":"Date","value":"Thu, 17 Dec 2020 22:15:04 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"iban\": \"GB04PAYR04034462783231\",\n    \"last_modified_at\": \"2020-12-17T22:14:39.599Z\",\n    \"ledger_primary_use_types\": [\n        \"ledger-primary-use-types-payments\"\n    ],\n    \"ledger_id\": \"5fdbd84f-84f8-43e5-9b16-eebba320939d\",\n    \"ledger_holder\": {\n        \"enduser_id\": \"5fdbd84f-5f91-475b-bafa-c26e7216f765\",\n        \"person\": {\n            \"name\": \"Dohn Joe\"\n        }\n    },\n    \"ledger_who_owns_assets\": \"ledger-assets-owned-by-me\",\n    \"uk_sort_code\": \"040344\",\n    \"partner_ref\": \"examplebank\",\n    \"holder_id\": \"5fdbd84f-5f91-475b-bafa-c26e7216f765\",\n    \"partner_id\": \"58fe2ce0-3def-4e08-b778-c121c7f98334\",\n    \"ledger_t_and_cs_country_of_jurisdiction\": \"GB\",\n    \"bic_swift\": \"PAYRGB20XXX\",\n    \"ledger_status\": \"ledger-status-ok\",\n    \"amount\": 0,\n    \"created_at\": \"2020-12-17T22:14:39.599Z\",\n    \"partner_product\": \"ExampleBank-GBP-2\",\n    \"partner\": {\n        \"partner_id\": \"58fe2ce0-3def-4e08-b778-c121c7f98334\",\n        \"company\": {\n            \"name\": \"Example Bank\"\n        },\n        \"partner_ref\": \"examplebank\"\n    },\n    \"ledger_iban_status\": \"ledger-iban-status-ok\",\n    \"asset_type\": \"gbp\",\n    \"uk_account_number\": \"62783231\",\n    \"asset_class\": \"currency\",\n    \"ledger_type\": \"ledger-type-single-user\"\n}"},{"id":"d8c9ea85-8ac1-42f9-b037-2465e86820e0","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":"{{API_URL}}/customers/wallet"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Thu, 17 Dec 2020 21:28:05 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"}],"_postman_id":"0fad05fd-cbcb-44da-8b4d-520f14602637"}],"id":"3b63e4e3-9af0-4481-9827-a5d9470534df","description":"<p>Section responsible for basic wallet managment. A customer has only access to their own wallet and can have only one wallet. The currency of a wallet is dependant on the role.\n<code>wallet_owner</code> - <strong>GBP</strong>\n<code>family_member</code> - <strong>NGN</strong>\nIn a case of an accident a customer can freeze/unfreeze their wallet.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"d51c9e03-b87a-4675-b348-804e2b0addda","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fe51a12f-4357-4a63-b457-3eadce817248","type":"text/javascript","exec":[""]}}],"_postman_id":"3b63e4e3-9af0-4481-9827-a5d9470534df"},{"name":"[LOG IN]","event":[{"listen":"test","script":{"id":"e704388a-da9f-4b8b-b322-5c9a076141f5","exec":["const jsonData = JSON.parse(responseBody);","","if (jsonData) {","    postman.setEnvironmentVariable(\"AUTH_TOKEN\", jsonData.token);","}"],"type":"text/javascript"}}],"id":"8ec5dc4b-493a-4864-a025-b52a66075239","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+150@desmart.com\",\n    \"password\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/login","description":"<p>Attempt to log in a customer to application.</p>\n<p>Endpoint returns an access token with all basic information about the customer.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>email</strong>  (required*)</td>\n<td>valid email of existing customer</td>\n</tr>\n<tr>\n<td><strong>password</strong> (required*)</td>\n<td>valid password of existing customer</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>403</code> Forbidden</li>\n<li><code>404</code> Not Found</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["customers","login"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"516a59f6-7465-4f31-8270-209cf32adfc0","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"email\": \"fen+110@desmart.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/login"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"118"},{"key":"ETag","value":"W/\"76-iff305H+xqLi/ZLXo0Y5RnIZwRo\""},{"key":"Date","value":"Thu, 17 Dec 2020 14:50:39 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"default-error\",\n        \"message\": [\n            \"\\\"password\\\" is required\"\n        ],\n        \"statusCode\": 422\n    }\n}"},{"id":"927c040f-2066-4cdd-8588-a009e21413c2","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+1@desmart.com\",\n    \"password\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/login"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"105"},{"key":"ETag","value":"W/\"69-w0rQQt9GksrP9ZDkuv2I04lXap8\""},{"key":"Date","value":"Thu, 17 Dec 2020 15:01:27 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.inactive\",\n        \"message\": \"Account is inactive\",\n        \"statusCode\": 403\n    }\n}"},{"id":"d3dcb160-f65a-44f0-aac1-21934a7b199a","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+1@desmart.com\",\n    \"password\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"574"},{"key":"ETag","value":"W/\"23e-6kgxpERWQZFbzudhRRKWX9JDXCI\""},{"key":"Date","value":"Thu, 17 Dec 2020 15:18:29 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNkMzZmYzdiLTI3MzgtNDQ5Yy04ZTIxLWJiZjI0MmU1MGZmOSIsImVtYWlsIjoiZGFyaWErMUBkZXNtYXJ0LmNvbSIsImNyZWF0ZWRBdCI6IjIwMjAtMTItMTdUMTU6MTg6MjkuNzI1WiIsImlhdCI6MTYwODIxODMwOSwiZXhwIjoxNjA4MzA0NzA5fQ.WEpWLQU-InQLUJtInwyUS-Nry-q10SKxuIoa5SVZtiw\",\n    \"email\": \"daria+1@desmart.com\",\n    \"id\": \"cd36fc7b-2738-449c-8e21-bbf242e50ff9\",\n    \"kyc_status\": \"not_verified\",\n    \"is_email_verified\": true,\n    \"is_active\": true,\n    \"is_kyc_verified\": false,\n    \"failed_kyc_attempts\": 0,\n    \"first_name\": null,\n    \"last_name\": null,\n    \"nickname\": null,\n    \"app_pin\": null,\n    \"is_wallet_active\": false\n}"},{"id":"df9b7686-ecfc-4f1f-9665-054cd5b1a8f8","name":"404 - Not found","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"email\": \"fen+110@desmart.com\",\n    \"password\": \"1234qwer#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/login"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"110"},{"key":"ETag","value":"W/\"6e-6Pa6vPBCt8r7wy7tKta1SsjWTaQ\""},{"key":"Date","value":"Thu, 17 Dec 2020 14:33:33 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"default-error\",\n        \"message\": \"Customer not found\",\n        \"statusCode\": 500\n    }\n}"}],"_postman_id":"8ec5dc4b-493a-4864-a025-b52a66075239"}],"id":"43a70fd4-ef0b-4e6b-b468-0dffbe509092","description":"<h1 id=\"customers-are-divided-into-2-separate-roles\">Customers are divided into 2 separate roles</h1>\n<h2 id=\"wallet-ownet\">Wallet ownet</h2>\n<p>A subject whose wallet is a parent issuer for sub-wallets. Available functionality:\nverification through KYC, CRUD their own and sub-wallets, transfer money to sub-wallets,\nview transaction history of the own and family members’ wallets, CRUD notifications.</p>\n<p>Wallet owner has a UK address with all common fields (street, house number, flat number, city, country code and postal code).</p>\n<p>Side note: can <a href=\"https://documenter.getpostman.com/view/98950/TVYKYvZm#c45f80a6-e554-476d-bad6-d35fb6b2c71d\">sign up</a> to the application freely.</p>\n<h2 id=\"customers-family-member\">Customer’s family member</h2>\n<p>A subject who’s invited to the application by Customer.\nAvailable functionality: verification with KYC (by BVN), CRUD and view transaction of their own\nwallet, receive remittance, CRUD notifications.</p>\n<p>Family memeber has a Nigerian address will limited fields, because of the way how housing works there (address, state, voivodeship, country code).</p>\n<p>Side note: has to be <a href=\"https://documenter.getpostman.com/view/98950/TVYKYvZm#edca3ecd-f0ab-4779-89da-c7345c4ee2f5\">invited</a> by wallet owner to the application.</p>\n","event":[{"listen":"prerequest","script":{"id":"629a14fb-6708-4574-82c6-d5523d4d5bf6","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ce00fa1f-db1b-4616-8f57-1915793a0653","type":"text/javascript","exec":[""]}}],"_postman_id":"43a70fd4-ef0b-4e6b-b468-0dffbe509092"},{"name":"Customer Invites","item":[{"name":"Invite customer (family member) - init","id":"50d9ebab-f901-4916-a381-66b408e38a8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"invitees\": [\n        \"daria+member1@desmart.com\",\n        \"daria+member2@desmart.com\",\n        \"daria+member3@desmart.com\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customer-invites/init","description":"<p>Creates invitation for new potential customer with a role of family member.</p>\n<p>New potential customer should receive email with invitation link.</p>\n<p><strong>This is the initialization EP and can be run only once, for inviting other customers go to next EP one which validates PIN code</strong></p>\n<p><strong>Only token with <code>wallet_owner</code> role is accepted</strong></p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>invitees</strong>  (required*)</td>\n<td>array of valid emails</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["customer-invites","init"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"0200b66d-59b9-44a1-b65d-501feb943d37","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"invitees\": [\n        \"daria+member1@desmart.com\",\n        \"daria+member2@desmart.com\",\n        \"daria+member3@desmart.com\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customer-invites/init"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1177"},{"key":"ETag","value":"W/\"499-MrjyZCA3kYYrim8PFSJnKcR8S3o\""},{"key":"Date","value":"Fri, 18 Dec 2020 13:35:03 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"email\": \"daria+member1@desmart.com\",\n        \"wallet_owner_id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n        \"id\": \"d185f2ef-cef1-48fe-b63b-8a9f4f80c661\",\n        \"invite_url\": \"https://app.mytalu.co.uk/member-invite/d185f2ef-cef1-48fe-b63b-8a9f4f80c661\",\n        \"created_at\": \"2020-12-18T13:35:03.763Z\",\n        \"first_name\": null,\n        \"last_name\": null,\n        \"phone_number\": null,\n        \"country_code\": null,\n        \"address\": null,\n        \"state\": null,\n        \"voivodeship\": null\n    },\n    {\n        \"email\": \"daria+member2@desmart.com\",\n        \"wallet_owner_id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n        \"id\": \"2a7960ff-65b7-45de-92db-fb7218adf9ce\",\n        \"invite_url\": \"https://app.mytalu.co.uk/member-invite/2a7960ff-65b7-45de-92db-fb7218adf9ce\",\n        \"created_at\": \"2020-12-18T13:35:03.763Z\",\n        \"first_name\": null,\n        \"last_name\": null,\n        \"phone_number\": null,\n        \"country_code\": null,\n        \"address\": null,\n        \"state\": null,\n        \"voivodeship\": null\n    },\n    {\n        \"email\": \"daria+member3@desmart.com\",\n        \"wallet_owner_id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n        \"id\": \"097ded44-f326-479a-9948-7865b2fa624d\",\n        \"invite_url\": \"https://app.mytalu.co.uk/member-invite/097ded44-f326-479a-9948-7865b2fa624d\",\n        \"created_at\": \"2020-12-18T13:35:03.763Z\",\n        \"first_name\": null,\n        \"last_name\": null,\n        \"phone_number\": null,\n        \"country_code\": null,\n        \"address\": null,\n        \"state\": null,\n        \"voivodeship\": null\n    }\n]"},{"id":"3bec398c-3114-4cca-9685-e5593774b923","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customer-invites/init"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"119"},{"key":"ETag","value":"W/\"77-aztDQqf0h4uab7tzfvxOm/KdDZE\""},{"key":"Date","value":"Fri, 18 Dec 2020 13:16:12 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.invalid\",\n        \"message\": [\n            \"\\\"invitees\\\" is required\"\n        ],\n        \"statusCode\": 422\n    }\n}"},{"id":"68d3ec25-ce0c-4a5a-b3b8-da649144bc9e","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"invitees\": [\n        {\n        \"email\": \"daria+member1@desmart.com\",\n        \"inviteUrl\": \"https://desmart.com/\"\n        },\n        {\n        \"email\": \"daria+member2@desmart.com\",\n        \"inviteUrl\": \"https://desmart.com/\"\n        },\n        {\n        \"email\": \"daria+member3@desmart.com\",\n        \"inviteUrl\": \"https://desmart.com/\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customer-invites/init"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Fri, 18 Dec 2020 12:35:52 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"},{"id":"9193befe-fc30-4777-b46f-02fd74c6ed67","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"invitees\": [\n        \"daria+member1@desmart.com\",\n        \"daria+member2@desmart.com\",\n        \"daria+member3@desmart.com\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customer-invites/init"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"111"},{"key":"ETag","value":"W/\"6f-vDYZ4HiSGUtzUINPReIW6w6Shdw\""},{"key":"Date","value":"Fri, 18 Dec 2020 13:27:53 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"init.already-done\",\n        \"message\": \"Unhandled Error\",\n        \"statusCode\": 403\n    }\n}"}],"_postman_id":"50d9ebab-f901-4916-a381-66b408e38a8f"},{"name":"Invite customer (family member)","id":"ed858919-7a0e-4412-b287-df5b741ce759","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appPin\": \"1234\",\n    \"invitees\": [\n        \"daria+member1@desmart.com\",\n        \"daria+member2@desmart.com\",\n        \"daria+member3@desmart.com\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customer-invites","description":"<p>Creates invitation for new potential customer with a role of family member.</p>\n<p>New potential customer should receive email with invitation link.</p>\n<p><strong>Only token with <code>wallet_owner</code> role is accepted</strong></p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>invitees</strong>  (required*)</td>\n<td>array of valid emails</td>\n</tr>\n<tr>\n<td><strong>appPin</strong></td>\n<td>customer's PIN code passed in string</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["customer-invites"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"a282f490-568e-4ff2-9c36-cd64eee4d8bc","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"invitees\": [\n        \"daria+member1@desmart.com\",\n        \"daria+member2@desmart.com\",\n        \"daria+member3@desmart.com\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customer-invites/init"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"111"},{"key":"ETag","value":"W/\"6f-vDYZ4HiSGUtzUINPReIW6w6Shdw\""},{"key":"Date","value":"Fri, 18 Dec 2020 13:27:53 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"init.already-done\",\n        \"message\": \"Unhandled Error\",\n        \"statusCode\": 403\n    }\n}"},{"id":"b323869d-bbb7-4b45-9aef-7bbd2c9623d9","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"invitees\": [\n        {\n        \"email\": \"daria+member1@desmart.com\",\n        \"inviteUrl\": \"https://desmart.com/\"\n        },\n        {\n        \"email\": \"daria+member2@desmart.com\",\n        \"inviteUrl\": \"https://desmart.com/\"\n        },\n        {\n        \"email\": \"daria+member3@desmart.com\",\n        \"inviteUrl\": \"https://desmart.com/\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customer-invites/init"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Fri, 18 Dec 2020 12:35:52 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"},{"id":"f09e8552-c0f0-4afb-b367-0e6b9d57209f","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"invitees\": [\n        \"daria+member1@desmart.com\",\n        \"daria+member2@desmart.com\",\n        \"daria+member3@desmart.com\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customer-invites/init"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1177"},{"key":"ETag","value":"W/\"499-MrjyZCA3kYYrim8PFSJnKcR8S3o\""},{"key":"Date","value":"Fri, 18 Dec 2020 13:35:03 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"email\": \"daria+member1@desmart.com\",\n        \"wallet_owner_id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n        \"id\": \"d185f2ef-cef1-48fe-b63b-8a9f4f80c661\",\n        \"invite_url\": \"https://app.mytalu.co.uk/member-invite/d185f2ef-cef1-48fe-b63b-8a9f4f80c661\",\n        \"created_at\": \"2020-12-18T13:35:03.763Z\",\n        \"first_name\": null,\n        \"last_name\": null,\n        \"phone_number\": null,\n        \"country_code\": null,\n        \"address\": null,\n        \"state\": null,\n        \"voivodeship\": null\n    },\n    {\n        \"email\": \"daria+member2@desmart.com\",\n        \"wallet_owner_id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n        \"id\": \"2a7960ff-65b7-45de-92db-fb7218adf9ce\",\n        \"invite_url\": \"https://app.mytalu.co.uk/member-invite/2a7960ff-65b7-45de-92db-fb7218adf9ce\",\n        \"created_at\": \"2020-12-18T13:35:03.763Z\",\n        \"first_name\": null,\n        \"last_name\": null,\n        \"phone_number\": null,\n        \"country_code\": null,\n        \"address\": null,\n        \"state\": null,\n        \"voivodeship\": null\n    },\n    {\n        \"email\": \"daria+member3@desmart.com\",\n        \"wallet_owner_id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n        \"id\": \"097ded44-f326-479a-9948-7865b2fa624d\",\n        \"invite_url\": \"https://app.mytalu.co.uk/member-invite/097ded44-f326-479a-9948-7865b2fa624d\",\n        \"created_at\": \"2020-12-18T13:35:03.763Z\",\n        \"first_name\": null,\n        \"last_name\": null,\n        \"phone_number\": null,\n        \"country_code\": null,\n        \"address\": null,\n        \"state\": null,\n        \"voivodeship\": null\n    }\n]"},{"id":"f271dcba-dc7c-4233-8842-d9f2ccdac77a","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customer-invites/init"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"119"},{"key":"ETag","value":"W/\"77-aztDQqf0h4uab7tzfvxOm/KdDZE\""},{"key":"Date","value":"Fri, 18 Dec 2020 13:16:12 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.invalid\",\n        \"message\": [\n            \"\\\"invitees\\\" is required\"\n        ],\n        \"statusCode\": 422\n    }\n}"}],"_postman_id":"ed858919-7a0e-4412-b287-df5b741ce759"},{"name":"Create customer (family member) from an invite","id":"94e191d5-fffc-469b-b3ed-09b00c26fa0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"url":"{{API_URL}}/customer-invites/:id/accept","description":"<p>Attempt to create new account for a family member. After creation, account still has to be verified with a PIN code from an email.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>password</strong>  (required*)</td>\n<td>valid password (8 characters + 1 special)</td>\n</tr>\n<tr>\n<td><strong>securityQuestion</strong>  (required*)</td>\n<td>any string</td>\n</tr>\n<tr>\n<td><strong>securityAnswer</strong>  (required*)</td>\n<td>any string</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>403</code> Forbidden</li>\n<li><code>404</code> Not Found</li>\n<li><code>422</code> Unprocessabel Entity</li>\n</ul>\n","urlObject":{"path":["customer-invites",":id","accept"],"host":["{{API_URL}}"],"query":[],"variable":[{"description":{"content":"<p>id of a pending invitation</p>\n","type":"text/plain"},"type":"string","value":"7227b287-a777-486d-a53a-31f3dceb64b4","key":"id"}]}},"response":[{"id":"5f31f324-6cbe-4942-9f80-8362b2f228f2","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"password\": \"123qwe!@#\",\n    \"securityQuestion\": \"what is your foobar?\",\n    \"securityAnswer\": \"Bar Baz\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_URL}}/customer-invites/:id/accept","host":["{{API_URL}}"],"path":["customer-invites",":id","accept"],"variable":[{"description":"id of a sent invitation","key":"id","type":"string","value":"2a7960ff-65b7-45de-92db-fb7218adf9ce"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"564"},{"key":"ETag","value":"W/\"234-WZtpEgwihXRLowVusl7yt44av0A\""},{"key":"Date","value":"Fri, 18 Dec 2020 15:27:44 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"daria+member2@desmart.com\",\n    \"password\": null,\n    \"security_question\": null,\n    \"security_answer\": null,\n    \"is_email_verified\": false,\n    \"role\": \"family_member\",\n    \"is_active\": false,\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"phone_number\": \"+1232112312\",\n    \"nickname\": \"JoJo\",\n    \"id\": \"fb8f1f03-1180-4b65-ac63-2be9715c0a56\",\n    \"verification_pin\": null,\n    \"kyc_status\": \"not_verified\",\n    \"password_reset_pin\": null,\n    \"password_reset_pin_created_at\": null,\n    \"is_kyc_verified\": false,\n    \"failed_kyc_attempts\": 0,\n    \"date_of_birth\": null,\n    \"app_pin\": null,\n    \"is_wallet_active\": false,\n    \"profile_photo_url\": null,\n    \"deleted_at\": null\n}"},{"id":"80876281-7231-43d4-ba3d-e7365eb0d544","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"password\": \"12345678\",\n    \"securityQuestion\": \"what is your foobar?\",\n    \"securityAnswer\": \"Bar Baz\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_URL}}/customer-invites/:id/accept","host":["{{API_URL}}"],"path":["customer-invites",":id","accept"],"variable":[{"description":"id of a sent invitation","id":"7e8c89c1-edec-426e-98d5-e06d5f422219","key":"id","type":"string","value":"f651d6b2-98f8-4b76-aecd-a8bdd21e7a7d"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"134"},{"key":"ETag","value":"W/\"86-VUOdhnS5oLa1nJjBIgA2GLALodk\""},{"key":"Date","value":"Fri, 18 Dec 2020 15:25:42 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.password-reset.new-password-invalid\",\n        \"message\": \"Unhandled Error\",\n        \"statusCode\": 403\n    }\n}"},{"id":"817e04a8-e52a-4b1f-88c3-b303bb77aff5","name":"404 - Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"password\": \"1234qwert#\",\n    \"securityQuestion\": \"what is your foobar?\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_URL}}/customer-invites/:id/accept","host":["{{API_URL}}"],"path":["customer-invites",":id","accept"],"variable":[{"description":"id of a sent invitation","id":"7e8c89c1-edec-426e-98d5-e06d5f422219","key":"id","type":"string","value":"f651d6b2-98f8-4b76-aecd-a8bdd21e7a7d"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"119"},{"key":"ETag","value":"W/\"77-clwQMr4vv6W/bBZOI2wFYX0zWnQ\""},{"key":"Date","value":"Fri, 18 Dec 2020 15:24:30 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.not-found\",\n        \"message\": \"CustomerInvite not found\",\n        \"statusCode\": 404\n    }\n}"},{"id":"eec66217-0f68-4a14-9d6d-e7a533f1a0f9","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"password\": \"1234qwert#\",\n    \"securityQuestion\": \"what is your foobar?\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_URL}}/customer-invites/:id/accept","host":["{{API_URL}}"],"path":["customer-invites",":id","accept"],"variable":[{"description":"id of a sent invitation","id":"7e8c89c1-edec-426e-98d5-e06d5f422219","key":"id","type":"string","value":"f651d6b2-98f8-4b76-aecd-a8bdd21e7a7d"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"125"},{"key":"ETag","value":"W/\"7d-O5EiG+D+mxR1QAy8gVoQMwLq7Vo\""},{"key":"Date","value":"Fri, 18 Dec 2020 15:25:18 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.invalid\",\n        \"message\": [\n            \"\\\"securityAnswer\\\" is required\"\n        ],\n        \"statusCode\": 422\n    }\n}"}],"_postman_id":"94e191d5-fffc-469b-b3ed-09b00c26fa0e"},{"name":"Update profile data","id":"4360983e-1540-40c9-b26d-a5cc56182351","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"phoneNumber\": \"+1232112312\",\n    \"nickname\": \"JoJo\",\n    \"address\": \"WilliamStreet 8, Lala\",\n    \"state\": \"State Name\",\n    \"voivodeship\": \"Test\",\n    \"countryCode\": \"NG\",\n    \"dateOfBirth\": \"2000-01-01\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customer-invites/:id","description":"<p>Attempt to update user profile details of a chosen invitation (from pending ones of currently logged in customer).</p>\n<p><strong>Only token with</strong> <strong><code>wallet_owner</code></strong> <strong>role is accepted</strong></p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>firstName</strong> (required *)</td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>lastName</strong> (required *)</td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>phoneNumber</strong></td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>nickname</strong></td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>address</strong></td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>countryCode</strong></td>\n<td>2 symbols</td>\n</tr>\n<tr>\n<td><strong>state</strong></td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>voivodeship</strong></td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>dateOfBirth</strong></td>\n<td>date</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>404</code> Not Found</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["customer-invites",":id"],"host":["{{API_URL}}"],"query":[],"variable":[{"description":{"content":"<p>id of an existing invite (required *)</p>\n","type":"text/plain"},"type":"string","value":"2a7960ff-65b7-45de-92db-fb7218adf9ce","key":"id"}]}},"response":[{"id":"20ed068b-a6bc-4960-b86e-fdc080f4a5c3","name":"401 - Unauthorized","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"phoneNumber\": \"+1232112312\",\n    \"street\": \"James Street 12A\",\n    \"houseNumber\": \"42\",\n    \"flatNumber\": \"1/3C\",\n    \"city\": \"London\",\n    \"countryCode\": \"GB\",\n    \"postalCode\": \"123-AC\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_URL}}/customer-invites/:id","host":["{{API_URL}}"],"path":["customer-invites",":id"],"variable":[{"id":"6b5a295e-18b8-4f49-83fd-3cc076aae73a","key":"id","type":"string","value":"02377cfd-a74d-4129-80f6-89ea1295eebd"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Fri, 18 Dec 2020 14:48:16 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"},{"id":"5b4cb3f8-91ff-4aaf-aeae-0df2c6e0d859","name":"404 - Not Found","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"phoneNumber\": \"+1232112312\",\n    \"nickname\": \"JoJo\",\n    \"address\": \"WilliamStreet 8, Lala\",\n    \"state\": \"State Name\",\n    \"voivodeship\": \"Test\",\n    \"countryCode\": \"NG\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_URL}}/customer-invites/:id","host":["{{API_URL}}"],"path":["customer-invites",":id"],"variable":[{"id":"6b5a295e-18b8-4f49-83fd-3cc076aae73a","key":"id","type":"string","value":"02377cfd-a74d-4129-80f6-89ea1295eebd"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"119"},{"key":"ETag","value":"W/\"77-clwQMr4vv6W/bBZOI2wFYX0zWnQ\""},{"key":"Date","value":"Fri, 18 Dec 2020 15:01:30 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.not-found\",\n        \"message\": \"CustomerInvite not found\",\n        \"statusCode\": 404\n    }\n}"},{"id":"95be61b4-ec73-4ec2-b09c-7192c1e8f646","name":"200 - OK","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"phoneNumber\": \"+1232112312\",\n    \"nickname\": \"JoJo\",\n    \"address\": \"WilliamStreet 8, Lala\",\n    \"state\": \"State Name\",\n    \"voivodeship\": \"Test\",\n    \"countryCode\": \"NG\",\n    \"dateOfBirth\": \"2000-01-01\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_URL}}/customer-invites/:id","host":["{{API_URL}}"],"path":["customer-invites",":id"],"variable":[{"key":"id","type":"string","value":"2a7960ff-65b7-45de-92db-fb7218adf9ce","description":"id of an existing invite (required *)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"450"},{"key":"ETag","value":"W/\"1c2-A89uTb+dzu2TSEs/CbmFwsC+IRk\""},{"key":"Date","value":"Fri, 18 Dec 2020 15:02:41 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"2a7960ff-65b7-45de-92db-fb7218adf9ce\",\n    \"wallet_owner_id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n    \"email\": \"daria+member2@desmart.com\",\n    \"invite_url\": \"https://app.mytalu.co.uk/member-invite/2a7960ff-65b7-45de-92db-fb7218adf9ce\",\n    \"created_at\": \"2020-12-18T13:35:03.763Z\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"phone_number\": \"+1232112312\",\n    \"country_code\": \"NG\",\n    \"address\": \"WilliamStreet 8, Lala\",\n    \"state\": \"State Name\",\n    \"voivodeship\": \"Test\",\n    \"nickname\": \"JoJo\",\n    \"date_of_birth\": \"2000-01-01\"\n}"},{"id":"e58c9008-a010-4bf8-9043-c0b14d3c9960","name":"422 - Unprocessable Entity","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"phoneNumber\": \"+1232112312\",\n    \"street\": \"James Street 12A\",\n    \"houseNumber\": \"42\",\n    \"flatNumber\": \"1/3C\",\n    \"city\": \"London\",\n    \"countryCode\": \"GB\",\n    \"postalCode\": \"123-AC\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_URL}}/customer-invites/:id","host":["{{API_URL}}"],"path":["customer-invites",":id"],"variable":[{"id":"6b5a295e-18b8-4f49-83fd-3cc076aae73a","key":"id","type":"string","value":"02377cfd-a74d-4129-80f6-89ea1295eebd"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"323"},{"key":"ETag","value":"W/\"143-IrbBi2YXDO0bmd3dc0fHR032To8\""},{"key":"Date","value":"Fri, 18 Dec 2020 14:48:35 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.invalid\",\n        \"message\": [\n            \"\\\"address\\\" is required\",\n            \"\\\"state\\\" is required\",\n            \"\\\"voivodeship\\\" is required\",\n            \"\\\"street\\\" is not allowed\",\n            \"\\\"houseNumber\\\" is not allowed\",\n            \"\\\"flatNumber\\\" is not allowed\",\n            \"\\\"city\\\" is not allowed\",\n            \"\\\"postalCode\\\" is not allowed\"\n        ],\n        \"statusCode\": 422\n    }\n}"}],"_postman_id":"4360983e-1540-40c9-b26d-a5cc56182351"},{"name":"Fetch details of an invite","id":"490e53bd-f1c0-4097-a3dc-6bd29543788d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/customer-invites/:id","description":"<p>Fetch details of a specific invite.</p>\n<p><strong>Only token with <code>wallet_owner</code> role is accepted</strong></p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>404</code> Not Found</li>\n</ul>\n","urlObject":{"path":["customer-invites",":id"],"host":["{{API_URL}}"],"query":[],"variable":[{"description":{"content":"<p>valid id of an invite</p>\n","type":"text/plain"},"type":"string","value":"d185f2ef-cef1-48fe-b63b-8a9f4f80c661","key":"id"}]}},"response":[{"id":"03f89fd0-8a15-45c1-a976-fb66f7a16239","name":"404 - Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_URL}}/customer-invites/:id","host":["{{API_URL}}"],"path":["customer-invites",":id"],"variable":[{"id":"c0afa71a-8786-4b61-bc9a-9913e00c6e25","key":"id","value":"bd72e8d5-d3be-451c-8de4-975b41c6b387","type":"string","description":"valid id of an invite"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"119"},{"key":"ETag","value":"W/\"77-clwQMr4vv6W/bBZOI2wFYX0zWnQ\""},{"key":"Date","value":"Fri, 18 Dec 2020 14:06:31 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.not-found\",\n        \"message\": \"CustomerInvite not found\",\n        \"statusCode\": 404\n    }\n}"},{"id":"ceba3606-6cad-4a48-b5fe-ffd38d1be309","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_URL}}/customer-invites/:id","host":["{{API_URL}}"],"path":["customer-invites",":id"],"variable":[{"key":"id","value":"d185f2ef-cef1-48fe-b63b-8a9f4f80c661","type":"string","description":"valid id of an invite"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Fri, 18 Dec 2020 14:14:44 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"},{"id":"f7afed42-6ac8-445c-ad6e-d321e824fd2b","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_URL}}/customer-invites/:id","host":["{{API_URL}}"],"path":["customer-invites",":id"],"variable":[{"key":"id","value":"d185f2ef-cef1-48fe-b63b-8a9f4f80c661","type":"string","description":"valid id of an invite"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"391"},{"key":"ETag","value":"W/\"187-Kj1pNt28+RAYwxQpCa1cUVrr5MQ\""},{"key":"Date","value":"Fri, 18 Dec 2020 14:07:03 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"d185f2ef-cef1-48fe-b63b-8a9f4f80c661\",\n    \"wallet_owner_id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n    \"email\": \"daria+member1@desmart.com\",\n    \"invite_url\": \"https://app.mytalu.co.uk/member-invite/d185f2ef-cef1-48fe-b63b-8a9f4f80c661\",\n    \"created_at\": \"2020-12-18T13:35:03.763Z\",\n    \"first_name\": null,\n    \"last_name\": null,\n    \"phone_number\": null,\n    \"country_code\": null,\n    \"address\": null,\n    \"state\": null,\n    \"voivodeship\": null\n}"}],"_postman_id":"490e53bd-f1c0-4097-a3dc-6bd29543788d"},{"name":"Fetch details of all invites","id":"bc31db43-b87c-4bd9-b25d-5f9edad4aa61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/customer-invites?limit[take]=11&limit[page]=1&order[by]=email&order[dir]=ASC","description":"<p>Fetch all invates sent by current user.</p>\n<p><strong>Only token with <code>wallet_owner</code> role is accepted</strong></p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n</ul>\n","urlObject":{"path":["customer-invites"],"host":["{{API_URL}}"],"query":[{"description":{"content":"<p>how many records should be displayed per page (default to 10)</p>\n","type":"text/plain"},"key":"limit[take]","value":"11"},{"description":{"content":"<p>which page should be fetched (default to 1)</p>\n","type":"text/plain"},"key":"limit[page]","value":"1"},{"description":{"content":"<p>by which property list should be orderd</p>\n","type":"text/plain"},"key":"order[by]","value":"email"},{"description":{"content":"<p>takes either of following values: [ ASC ] ,  [ DESC ]</p>\n","type":"text/plain"},"key":"order[dir]","value":"ASC"}],"variable":[]}},"response":[{"id":"47891baf-ea6b-4abd-97c6-fad8399fb47d","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_URL}}/customer-invites","host":["{{API_URL}}"],"path":["customer-invites"],"query":[{"key":"limit[take]","value":"11","description":"how many records should be displayed per page (default to 10)","disabled":true},{"key":"limit[page]","value":"1","description":"which page should be fetched (default to 1)","disabled":true},{"key":"order[by]","value":"email","description":"by which property list should be orderd","disabled":true},{"key":"order[dir]","value":"ASC","description":"takes either of following values: [ ASC ] ,  [ DESC ]","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1248"},{"key":"ETag","value":"W/\"4e0-n/RhBvNtx9jAC1C/TFsZbLFnHNI\""},{"key":"Date","value":"Fri, 18 Dec 2020 14:24:35 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"d185f2ef-cef1-48fe-b63b-8a9f4f80c661\",\n            \"wallet_owner_id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n            \"email\": \"daria+member1@desmart.com\",\n            \"invite_url\": \"https://app.mytalu.co.uk/member-invite/d185f2ef-cef1-48fe-b63b-8a9f4f80c661\",\n            \"created_at\": \"2020-12-18T13:35:03.763Z\",\n            \"first_name\": null,\n            \"last_name\": null,\n            \"phone_number\": null,\n            \"country_code\": null,\n            \"address\": null,\n            \"state\": null,\n            \"voivodeship\": null\n        },\n        {\n            \"id\": \"2a7960ff-65b7-45de-92db-fb7218adf9ce\",\n            \"wallet_owner_id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n            \"email\": \"daria+member2@desmart.com\",\n            \"invite_url\": \"https://app.mytalu.co.uk/member-invite/2a7960ff-65b7-45de-92db-fb7218adf9ce\",\n            \"created_at\": \"2020-12-18T13:35:03.763Z\",\n            \"first_name\": null,\n            \"last_name\": null,\n            \"phone_number\": null,\n            \"country_code\": null,\n            \"address\": null,\n            \"state\": null,\n            \"voivodeship\": null\n        },\n        {\n            \"id\": \"097ded44-f326-479a-9948-7865b2fa624d\",\n            \"wallet_owner_id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n            \"email\": \"daria+member3@desmart.com\",\n            \"invite_url\": \"https://app.mytalu.co.uk/member-invite/097ded44-f326-479a-9948-7865b2fa624d\",\n            \"created_at\": \"2020-12-18T13:35:03.763Z\",\n            \"first_name\": null,\n            \"last_name\": null,\n            \"phone_number\": null,\n            \"country_code\": null,\n            \"address\": null,\n            \"state\": null,\n            \"voivodeship\": null\n        }\n    ],\n    \"meta\": {\n        \"page\": 1,\n        \"take\": 10,\n        \"recordsTotal\": \"3\",\n        \"pagesTotal\": 1\n    }\n}"},{"id":"84958bb3-0cdd-4164-a74c-58f330400937","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_URL}}/customer-invites?limit[take]=11&limit[page]=1&order[by]=email&order[dir]=ASC","host":["{{API_URL}}"],"path":["customer-invites"],"query":[{"key":"limit[take]","value":"11","description":"how many records should be displayed per page"},{"key":"limit[page]","value":"1","description":"which page should be fetched"},{"key":"order[by]","value":"email","description":"by which property list should be orderd"},{"key":"order[dir]","value":"ASC","description":"ASC | DESC"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Fri, 18 Dec 2020 14:21:46 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"}],"_postman_id":"bc31db43-b87c-4bd9-b25d-5f9edad4aa61"},{"name":"Delete invite","id":"916dc50b-501d-4c38-911a-3779e287ee93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{API_URL}}/customer-invites/:id","description":"<p>Delete an invite that was already sent.</p>\n<p><strong>Only token with <code>wallet_owner</code> role is accepted</strong></p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized </li>\n<li><code>404</code> Not Found</li>\n</ul>\n","urlObject":{"path":["customer-invites",":id"],"host":["{{API_URL}}"],"query":[],"variable":[{"description":{"content":"<p>id of an existing invite (required *)</p>\n","type":"text/plain"},"type":"string","value":"d185f2ef-cef1-48fe-b63b-8a9f4f80c661","key":"id"}]}},"response":[{"id":"1357aae8-a9fa-4c6b-a86d-78fcc968730c","name":"200 - OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{API_URL}}/customer-invites/:id","host":["{{API_URL}}"],"path":["customer-invites",":id"],"variable":[{"key":"id","value":"d185f2ef-cef1-48fe-b63b-8a9f4f80c661","type":"string","description":"id of an existing invite"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"11"},{"key":"ETag","value":"W/\"b-qA97yBec1rrOyf2eVsYdWwFPOso\""},{"key":"Date","value":"Fri, 18 Dec 2020 14:29:58 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1\n}"},{"id":"2024656e-879d-4d59-8fc7-89e1abbb18a0","name":"404 - Not Found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{API_URL}}/customer-invites/:id","host":["{{API_URL}}"],"path":["customer-invites",":id"],"variable":[{"id":"c36b294c-2e74-4845-8468-17b0749924da","key":"id","value":"bd72e8d5-d3be-451c-8de4-975b41c6b387","type":"string","description":"id of an existing invite"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"119"},{"key":"ETag","value":"W/\"77-clwQMr4vv6W/bBZOI2wFYX0zWnQ\""},{"key":"Date","value":"Fri, 18 Dec 2020 14:29:34 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.not-found\",\n        \"message\": \"CustomerInvite not found\",\n        \"statusCode\": 404\n    }\n}"},{"id":"4c1ca5c4-f175-461e-b31d-b349872d1b0c","name":"401 - Unauthorized","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{API_URL}}/customer-invites/:id","host":["{{API_URL}}"],"path":["customer-invites",":id"],"variable":[{"id":"c36b294c-2e74-4845-8468-17b0749924da","key":"id","value":"bd72e8d5-d3be-451c-8de4-975b41c6b387","type":"string","description":"id of an existing invite"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Fri, 18 Dec 2020 14:28:11 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"}],"_postman_id":"916dc50b-501d-4c38-911a-3779e287ee93"}],"id":"edca3ecd-f0ab-4779-89da-c7345c4ee2f5","description":"<p>An authorized <a href=\"https://documenter.getpostman.com/view/98950/TVYKYvZm#8ec5dc4b-493a-4864-a025-b52a66075239\">customer</a> can manage and send out (via email) invites for his family members to join with that role as a new customer (family members are Nigerian citizens).</p>\n<p>A wallet owner can freely manage his invitations. Other roles do not have access to this section.\nOwner can invite first set of family members without PIN validation as an initialization. Later PIN code validation is required.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"a61d4025-0179-453c-9483-5b4a51608317","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2671dbcb-6604-49b5-ac6c-5dfce4c5b853","type":"text/javascript","exec":[""]}}],"_postman_id":"edca3ecd-f0ab-4779-89da-c7345c4ee2f5"},{"name":"Customers (Admin panel)","item":[{"name":"Customer list","id":"431f4dd3-b51f-4946-9e99-a42286be09e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{SV_AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/admin/customers?order[by]=email&order[dir]=desc","description":"<p>Fetches whole list of customers with enabled pagination and advanced filtration system.</p>\n<p>Advanced filtering is accepting <code>filter</code> params that are build as follows: <code>filter[name_of_key]</code>\nAllowed keys for filtering with the types they are representing:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  'first_name' - string\n  'last_name' - string\n  'email' - string;email\n  'is_kyc_verified' - boolean\n  'kyc_status' - Enum('accepted', 'pending', 'declined', 'not_verified')\n  'failed_kyc_attempts' - number &lt;0,3&gt;\n  'is_active' - boolean\n  'is_email_verified' - boolean\n  'is_wallet_active' - boolean\n  'role' - Enum('wallet_owner', 'family_member')\n</code></pre><p>As a value of filter param we can pass value with an operator, they look as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>no operator - simple value that has to be matched (e.g. `true`, `wallet_owner`)\n| - range operator, followerd by 2 numbers separated with a comma, deteremines from what range do we want to match the numbers (e.g. `|0,1` - means &lt;0,1&gt;)\n__ - invokes a custom filter, followed by the name of custom filter (e.g. `__all_active`)\n&lt;&gt; - comparision sign, folowed by a number value (e.g. `&gt;30`, `&lt;5`)\n</code></pre><p><strong>This endpoint has no custom filters</strong></p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n</ul>\n","urlObject":{"path":["admin","customers"],"host":["{{API_URL}}"],"query":[{"disabled":true,"description":{"content":"<p>which page should be fetched (default to 1)</p>\n","type":"text/plain"},"key":"limit[page]","value":"2"},{"disabled":true,"description":{"content":"<p>how many records should be displayed per page (default to 10)</p>\n","type":"text/plain"},"key":"limit[take]","value":"10"},{"description":{"content":"<p>(required*) by which property list should be orderd</p>\n","type":"text/plain"},"key":"order[by]","value":"email"},{"description":{"content":"<p>(required*) takes either of following values: [ ASC ] ,  [ DESC ]</p>\n","type":"text/plain"},"key":"order[dir]","value":"desc"},{"disabled":true,"description":{"content":"<p>filters the results by property <code>role</code> and searches for the value of <code>wallet_owner</code></p>\n","type":"text/plain"},"key":"filter[role]","value":"wallet_owner"},{"disabled":true,"description":{"content":"<p>filters the results by property <code>failed_kyc_attempts</code> and searches for the value in rage of 0 - 1</p>\n","type":"text/plain"},"key":"filter[failed_kyc_attempts]","value":"|0,1"},{"disabled":true,"description":{"content":"<p>searches in the results for matching values</p>\n","type":"text/plain"},"key":"search","value":"fen"}],"variable":[]}},"response":[{"id":"3a894693-d410-4f85-91be-b29c4e9e4d89","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_URL}}/admin/customers?limit[page]=2&limit[take]=10&order[by]=email&order[dir]=desc","host":["{{API_URL}}"],"path":["admin","customers"],"query":[{"key":"limit[page]","value":"2"},{"key":"limit[take]","value":"10"},{"key":"order[by]","value":"email"},{"key":"order[dir]","value":"desc"},{"key":"filter[role]","value":"wallet_owner","disabled":true},{"key":"filter[failed_kyc_attempts]","value":"|0,1","disabled":true},{"key":"search","value":"fen","disabled":true}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Fri, 18 Dec 2020 16:36:39 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"}],"_postman_id":"431f4dd3-b51f-4946-9e99-a42286be09e6"},{"name":"Customer","id":"d3388458-de56-4f0c-ad5f-a0ab5cf8c1ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{SV_AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/admin/customers/:id","description":"<p>Fetches customer details for a supervisor's viewing</p>\n<p><strong>Fields differ depending on user's role</strong></p>\n<p><code>wallet_owner</code> response includes:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"ownerMeta\": {\n      \"id\": \"f8723f5d-7ae8-4fa9-b655-e364d3d4725a\",\n      \"customer_id\": \"fb8f1f03-1180-4b65-ac63-2be9715c0a56\",\n      \"street\": \"WilliamStreet\",\n      \"house_number\": \"8\",\n      \"flat_number\": null,\n      \"city\": \"London\",\n      \"postal_code\": \"E1 6AN\",\n      \"country_code\": \"GB\"\n    }\n</code></pre><p><code>family_member</code> response includes:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"memberMeta\": {\n      \"id\": \"f8723f5d-7ae8-4fa9-b655-e364d3d4725a\",\n      \"customer_id\": \"fb8f1f03-1180-4b65-ac63-2be9715c0a56\",\n      \"wallet_owner_id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n      \"address\": \"WilliamStreet 8, Lala\",\n      \"state\": \"State Name\",\n      \"voivodeship\": \"Test\",\n      \"country_code\": \"NG\"\n    }\n</code></pre><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>404</code> Not Found</li>\n</ul>\n","urlObject":{"path":["admin","customers",":id"],"host":["{{API_URL}}"],"query":[],"variable":[{"description":{"content":"<p>id of an existing user</p>\n","type":"text/plain"},"type":"string","value":"fb8f1f03-1180-4b65-ac63-2be9715c0a56","key":"id"}]}},"response":[{"id":"f9758cde-ef76-4bf1-b564-9d48d313fe27","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_URL}}/admin/customers/:id","host":["{{API_URL}}"],"path":["admin","customers",":id"],"variable":[{"key":"id","value":"fb8f1f03-1180-4b65-ac63-2be9715c0a56","type":"string","description":"id of an existing user"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"715"},{"key":"ETag","value":"W/\"2cb-GqTdgR9Q7X4twzbaVbt9L7AwPgU\""},{"key":"Date","value":"Sat, 19 Dec 2020 22:03:55 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"customer\": {\n        \"id\": \"fb8f1f03-1180-4b65-ac63-2be9715c0a56\",\n        \"email\": \"daria+member2@desmart.com\",\n        \"is_email_verified\": true,\n        \"is_active\": true,\n        \"password_reset_pin_created_at\": null,\n        \"is_kyc_verified\": true,\n        \"failed_kyc_attempts\": 0,\n        \"kyc_status\": \"verified\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"date_of_birth\": null,\n        \"phone_number\": \"+1232112312\",\n        \"nickname\": \"JoJo\",\n        \"is_wallet_active\": false,\n        \"profile_photo_url\": null,\n        \"role\": \"family_member\",\n        \"deleted_at\": null,\n        \"memberMeta\": {\n            \"id\": \"f8723f5d-7ae8-4fa9-b655-e364d3d4725a\",\n            \"customer_id\": \"fb8f1f03-1180-4b65-ac63-2be9715c0a56\",\n            \"wallet_owner_id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n            \"address\": \"WilliamStreet 8, Lala\",\n            \"state\": \"State Name\",\n            \"voivodeship\": \"Test\",\n            \"country_code\": \"NG\"\n        }\n    },\n    \"kyc\": []\n}"}],"_postman_id":"d3388458-de56-4f0c-ad5f-a0ab5cf8c1ca"},{"name":"Block customer","id":"f7c5ef81-6a6a-4681-ae78-1c9898a513d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{SV_AUTH_TOKEN}}"}]},"isInherited":false},"method":"PATCH","header":[],"url":"{{API_URL}}/admin/customers/:id/block","description":"<p>Sets a customer account as <strong>inactive</strong></p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>404</code> Not Found</li>\n</ul>\n","urlObject":{"path":["admin","customers",":id","block"],"host":["{{API_URL}}"],"query":[],"variable":[{"description":{"content":"<p>id of an existing user</p>\n","type":"text/plain"},"type":"string","value":"fb8f1f03-1180-4b65-ac63-2be9715c0a56","key":"id"}]}},"response":[{"id":"f5270652-3f33-477b-b93e-64c0e416ade7","name":"200 - OK","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{API_URL}}/admin/customers/:id/block","host":["{{API_URL}}"],"path":["admin","customers",":id","block"],"variable":[{"key":"id","value":"fb8f1f03-1180-4b65-ac63-2be9715c0a56","type":"string","description":"id of an existing user"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"429"},{"key":"ETag","value":"W/\"1ad-1Q3aSuIJiEGt97EW551pu4VTSrk\""},{"key":"Date","value":"Sat, 19 Dec 2020 22:13:02 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"is_active\": false,\n    \"id\": \"fb8f1f03-1180-4b65-ac63-2be9715c0a56\",\n    \"email\": \"daria+member2@desmart.com\",\n    \"is_email_verified\": true,\n    \"password_reset_pin_created_at\": null,\n    \"is_kyc_verified\": true,\n    \"failed_kyc_attempts\": 0,\n    \"kyc_status\": \"verified\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"date_of_birth\": null,\n    \"phone_number\": \"+1232112312\",\n    \"nickname\": \"JoJo\",\n    \"is_wallet_active\": false,\n    \"profile_photo_url\": null,\n    \"role\": \"family_member\",\n    \"deleted_at\": null\n}"}],"_postman_id":"f7c5ef81-6a6a-4681-ae78-1c9898a513d5"},{"name":"Unblock customer","id":"2e9bc5d8-786b-41eb-8809-d46c8f9824c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{SV_AUTH_TOKEN}}"}]},"isInherited":false},"method":"PATCH","header":[],"url":"{{API_URL}}/admin/customers/:id/unblock","description":"<p>Sets a customer account as <strong>active</strong></p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>404</code> Not Found</li>\n</ul>\n","urlObject":{"path":["admin","customers",":id","unblock"],"host":["{{API_URL}}"],"query":[],"variable":[{"description":{"content":"<p>id of an existing user</p>\n","type":"text/plain"},"type":"string","value":"fb8f1f03-1180-4b65-ac63-2be9715c0a56","key":"id"}]}},"response":[{"id":"5e6c157a-171d-449d-a626-2ac8eb00ad18","name":"200 - OK","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{API_URL}}/admin/customers/:id/unblock","host":["{{API_URL}}"],"path":["admin","customers",":id","unblock"],"variable":[{"key":"id","value":"fb8f1f03-1180-4b65-ac63-2be9715c0a56","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"428"},{"key":"ETag","value":"W/\"1ac-RBa0J3l7qCQcXpsQFBLirsfa4Nc\""},{"key":"Date","value":"Sat, 19 Dec 2020 22:12:39 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"is_active\": true,\n    \"id\": \"fb8f1f03-1180-4b65-ac63-2be9715c0a56\",\n    \"email\": \"daria+member2@desmart.com\",\n    \"is_email_verified\": true,\n    \"password_reset_pin_created_at\": null,\n    \"is_kyc_verified\": true,\n    \"failed_kyc_attempts\": 0,\n    \"kyc_status\": \"verified\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"date_of_birth\": null,\n    \"phone_number\": \"+1232112312\",\n    \"nickname\": \"JoJo\",\n    \"is_wallet_active\": false,\n    \"profile_photo_url\": null,\n    \"role\": \"family_member\",\n    \"deleted_at\": null\n}"}],"_postman_id":"2e9bc5d8-786b-41eb-8809-d46c8f9824c5"},{"name":"Verify KYC","id":"57c003c6-192d-40b6-93a7-3db8dd332477","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{SV_AUTH_TOKEN}}"}]},"isInherited":false},"method":"PATCH","header":[],"url":"{{API_URL}}/admin/customers/:id/verify-kyc","description":"<p>Sets a customer account as <strong>verified</strong> by KYC.</p>\n<p><strong>Only <code>wallet_owner</code> can be verified this way because with <code>family_member</code> we need a user to enter a valid BVN</strong></p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>403</code> Forbidden</li>\n<li><code>404</code> Not Found</li>\n</ul>\n","urlObject":{"path":["admin","customers",":id","verify-kyc"],"host":["{{API_URL}}"],"query":[],"variable":[{"description":{"content":"<p>id of an existing customer</p>\n","type":"text/plain"},"type":"string","value":"96bbbc97-2483-41db-904e-a5fcbbae7c95","key":"id"}]}},"response":[{"id":"38bb1972-d20b-46f8-a7fe-5532eb8b2412","name":"403 - Forbidden","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{API_URL}}/admin/customers/:id/verify-kyc","host":["{{API_URL}}"],"path":["admin","customers",":id","verify-kyc"],"variable":[{"key":"id","value":"fb8f1f03-1180-4b65-ac63-2be9715c0a56","type":"string","description":"id of an existing customer"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"125"},{"key":"ETag","value":"W/\"7d-3kedQQ/abo3VcKA+tGjfOndEaug\""},{"key":"Date","value":"Sat, 19 Dec 2020 22:25:38 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"users.not-wallet-owner\",\n        \"message\": \"User is not wallet owner\",\n        \"statusCode\": 403\n    }\n}"},{"id":"75938d5c-e556-42d6-904e-5330529586a3","name":"200 - OK","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","type":"text","value":"{{SV_AUTH_TOKEN}}"}],"url":{"raw":"{{API_URL}}/admin/customers/:id/verify-kyc","host":["{{API_URL}}"],"path":["admin","customers",":id","verify-kyc"],"variable":[{"key":"id","value":"fb8f1f03-1180-4b65-ac63-2be9715c0a56","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"429"},{"key":"ETag","value":"W/\"1ad-5tLDrQP/fsyKhdr/26QGu9PpWV4\""},{"key":"Date","value":"Sat, 19 Dec 2020 22:16:18 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"kyc_status\": \"approved\",\n    \"failed_kyc_attempts\": 0,\n    \"is_kyc_verified\": true,\n    \"id\": \"fb8f1f03-1180-4b65-ac63-2be9715c0a56\",\n    \"email\": \"daria+member2@desmart.com\",\n    \"is_email_verified\": true,\n    \"is_active\": false,\n    \"password_reset_pin_created_at\": null,\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"date_of_birth\": null,\n    \"phone_number\": \"+1232112312\",\n    \"nickname\": \"JoJo\",\n    \"is_wallet_active\": false,\n    \"profile_photo_url\": null,\n    \"role\": \"family_member\",\n    \"deleted_at\": null\n}"}],"_postman_id":"57c003c6-192d-40b6-93a7-3db8dd332477"},{"name":"Delete customer","id":"bd959506-7547-4a3f-b7ba-971abf31cd92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{SV_AUTH_TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{API_URL}}/admin/customers/:id","description":"<p>Soft delete of a user.</p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>404</code> Not Found</li>\n</ul>\n","urlObject":{"path":["admin","customers",":id"],"host":["{{API_URL}}"],"query":[],"variable":[{"description":{"content":"<p>id of an existing user</p>\n","type":"text/plain"},"type":"string","value":"fb8f1f03-1180-4b65-ac63-2be9715c0a56","key":"id"}]}},"response":[{"id":"75bfb0d3-817a-4744-8e43-315076bd21a5","name":"200 - OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{API_URL}}/admin/customers/:id","host":["{{API_URL}}"],"path":["admin","customers",":id"],"variable":[{"key":"id","value":"fb8f1f03-1180-4b65-ac63-2be9715c0a56","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"ETag","value":"W/\"29-Zu7q3BcdQSt2y+Dq7dJ1MagnnZU\""},{"key":"Date","value":"Sat, 19 Dec 2020 22:46:02 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"deleted_at\": \"2020-12-19T22:46:02.565Z\"\n}"}],"_postman_id":"bd959506-7547-4a3f-b7ba-971abf31cd92"},{"name":"Login history","id":"b2227c4e-66e2-48da-9259-ce8939b3d84f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{SV_AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/admin/customers/:id/login-history?limit[take]=10&limit[page]=1","description":"<p>Fetches last 20 times when a chosen customer logged in. Response is paginated, default is set to 10 items per page.</p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n</ul>\n","urlObject":{"path":["admin","customers",":id","login-history"],"host":["{{API_URL}}"],"query":[{"description":{"content":"<p>which page should be fetched (default to 1)</p>\n","type":"text/plain"},"key":"limit[take]","value":"10"},{"description":{"content":"<p>how many records should be displayed per page (default to 10)</p>\n","type":"text/plain"},"key":"limit[page]","value":"1"}],"variable":[{"description":{"content":"<p>id of an existing user</p>\n","type":"text/plain"},"type":"string","value":"c6eb8f55-ed97-4c1a-addf-8403d78a4853","key":"id"}]}},"response":[{"id":"7fb08858-2356-4490-bb74-ad3a55203b72","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_URL}}/admin/customers/:id/login-history","host":["{{API_URL}}"],"path":["admin","customers",":id","login-history"],"variable":[{"key":"id","value":"c6eb8f55-ed97-4c1a-addf-8403d78a4853","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"489"},{"key":"ETag","value":"W/\"1e9-dMGb9ewv5XVKvumq+Lau+hDbDEo\""},{"key":"Date","value":"Sat, 19 Dec 2020 22:31:52 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"d02c915d-d5f6-467a-8396-3c2ecd359919\",\n            \"customer_id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n            \"created_at\": \"2020-12-19T13:28:14.639Z\"\n        },\n        {\n            \"id\": \"76508c54-f0b6-4d41-8649-7b3151ac2b54\",\n            \"customer_id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n            \"created_at\": \"2020-12-19T13:21:10.877Z\"\n        },\n        {\n            \"id\": \"cef78330-c5e6-4d8a-925a-59031e06f432\",\n            \"customer_id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n            \"created_at\": \"2020-12-17T18:20:28.449Z\"\n        }\n    ],\n    \"meta\": {\n        \"page\": 1,\n        \"take\": 10,\n        \"recordsTotal\": \"3\",\n        \"pagesTotal\": 1\n    }\n}"}],"_postman_id":"b2227c4e-66e2-48da-9259-ce8939b3d84f"}],"id":"99677c98-f957-4d06-9fa0-739cbefb6297","description":"<p>Module is responsible for providing all the data and requests for monitoring/managing users for a <a href=\"https://documenter.getpostman.com/view/98950/TVYKYvZm#5638a7af-dd59-4b6a-a575-ad20a322460f\">supervisor</a>.</p>\n<p>Supervisor can:</p>\n<ul>\n<li>verify (KYC) customers if they already have 3 failed attempts (for wallet_owners there are also provided links to ShuftiPro where a supervisor can see documents provided by a customer).</li>\n<li>block/unblock user accounts</li>\n<li>delete inactive customers</li>\n<li>view logging in history of customers (last 20 logins are saved)</li>\n<li>view, search and filter through customers and their data</li>\n</ul>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"27dd8571-4ea6-4005-95ec-5f22198c0f16","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5f77e8b9-29f8-419b-a01b-9093076298d1","type":"text/javascript","exec":[""]}}],"_postman_id":"99677c98-f957-4d06-9fa0-739cbefb6297"},{"name":"Email change request","item":[{"name":"Init","id":"68cb63ff-fc3c-4f7f-8030-db45c08ce7c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"newEmail\": \"daria+1@desmart.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/email-change-request","description":"<p>Initialize email change for a customer.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>email</strong>  (required*)</td>\n<td>valid email</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["email-change-request"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"019fb47b-418c-40ec-adbe-16157d3730f3","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"newEmail\": \"daria+testt@desmart.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/email-change-request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"4"},{"key":"ETag","value":"W/\"4-X/5TO4MPCKAyY0ipFgr6/IraRNs\""},{"key":"Date","value":"Sat, 19 Dec 2020 21:19:38 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"68cb63ff-fc3c-4f7f-8030-db45c08ce7c1"},{"name":"Verify current email","id":"1860697f-eba1-40b0-99e0-fba7e9618c5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"pin\": \"9701\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/email-change-request/verify-current","description":"<p>Attempt to verify current (old) email of a customer.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>pin</strong>  (required*)</td>\n<td>4 digit pin code received in an email</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["email-change-request","verify-current"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"da3908fa-2f84-4ba2-b546-21d9d5190641","name":"200 - OK","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"pin\": \"1492\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/email-change-request/verify-current"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"4"},{"key":"ETag","value":"W/\"4-X/5TO4MPCKAyY0ipFgr6/IraRNs\""},{"key":"Date","value":"Sat, 19 Dec 2020 21:21:21 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"1860697f-eba1-40b0-99e0-fba7e9618c5e"},{"name":"Verify new email","id":"7c917b36-f039-46e5-b0bf-6ba28a6f6a6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"pin\": \"8768\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/email-change-request/verify-new","description":"<p>Attempt to verify new email of a customer.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>pin</strong>  (required*)</td>\n<td>4 digit pin code received in an email</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["email-change-request","verify-new"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"35548001-7364-4324-904b-c23d82539e5a","name":"200 - OK","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"pin\": \"8768\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/email-change-request/verify-new"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"452"},{"key":"ETag","value":"W/\"1c4-0FR9sr0p6wywcoW6JNsOSZMrjeg\""},{"key":"Date","value":"Sat, 19 Dec 2020 21:27:51 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"daria+1@desmart.com\",\n    \"id\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n    \"is_email_verified\": true,\n    \"is_active\": true,\n    \"password_reset_pin_created_at\": null,\n    \"is_kyc_verified\": true,\n    \"failed_kyc_attempts\": 0,\n    \"kyc_status\": \"verified\",\n    \"first_name\": \"Dohn\",\n    \"last_name\": \"Joe\",\n    \"date_of_birth\": \"1985-03-04T23:00:00.000Z\",\n    \"phone_number\": null,\n    \"nickname\": \"foobar\",\n    \"is_wallet_active\": true,\n    \"profile_photo_url\": \"https://desmart.com\",\n    \"role\": \"wallet_owner\",\n    \"deleted_at\": null\n}"},{"id":"c1bd6138-16b8-42f9-9613-f3bb52258946","name":"404 - Not Found","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"pin\": \"1032\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/email-change-request/verify-new"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"123"},{"key":"ETag","value":"W/\"7b-vrbrJW+qVnA8aAPBzZLWi2N8CN4\""},{"key":"Date","value":"Sat, 19 Dec 2020 21:25:12 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.not-found\",\n        \"message\": \"EmailChangeRequest not found\",\n        \"statusCode\": 404\n    }\n}"}],"_postman_id":"7c917b36-f039-46e5-b0bf-6ba28a6f6a6b"}],"id":"eeab7215-8be3-4bea-9175-7f853d82262a","description":"<p>This section handles whenever a customer wants to change his email address. To make that possible he has to verify his 'old' email address that it belongs to him (protection for stealing the accounts). Later he has to verify his new email address to confirm he can receive messages.</p>\n","_postman_id":"eeab7215-8be3-4bea-9175-7f853d82262a"},{"name":"Files","item":[{"name":"Sign request","event":[{"listen":"test","script":{"id":"3810ade8-4185-4271-ac90-238ab628631c","exec":["const jsonData = JSON.parse(responseBody);","","if (jsonData) {","    postman.setEnvironmentVariable(\"AWS_S3_POLICY\", jsonData.policy);","    postman.setEnvironmentVariable(\"AWS_S3_SIGNATURE\", jsonData.signature);","}"],"type":"text/javascript"}}],"id":"ee03d73a-a86e-41d6-b17d-3a697dac7c61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{API_URL}}/files/sign-request","description":"<p>Returns values that are needed to sign AWS S3 requests (e.g. for uploading files).</p>\n<p>In a response you get:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"policy\": \"POLICY\",\n    \"signature\": \"SIGNATURE\"\n}\n</code></pre>","urlObject":{"path":["files","sign-request"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ee03d73a-a86e-41d6-b17d-3a697dac7c61"}],"id":"f779c75d-6e9d-4a55-a0b4-75177d4c26a4","_postman_id":"f779c75d-6e9d-4a55-a0b4-75177d4c26a4","description":""},{"name":"KYC","item":[{"name":"Init KYC verification","id":"ee0c54b5-fc43-47c5-8b59-bfec4189d29c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"face","type":"file","description":"<p>png or jpg file that shows a person's face (required *)</p>\n","src":"/home/sherrywolf/Pictures/IMG_2655.png"},{"key":"document","type":"file","description":"<p>png or jpg file of a ID document (required *)</p>\n","src":"/home/sherrywolf/Pictures/IMG_2655.png"},{"key":"address","type":"file","src":"/home/sherrywolf/Pictures/IMG_2655.png"}]},"url":"{{API_URL}}/kyc","description":"<p>Initiates KYC verification with selfie and a document picture (the response comes back to the callback endpoint)</p>\n<p><strong>EP is open only for <code>wallet_owner</code> and service responsibe for verification is ShuftiPro</strong></p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>400</code> Bad Request</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n</ul>\n","urlObject":{"path":["kyc"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"073f18e9-1579-440f-b45a-d4b716e52553","name":"400 - Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"face","type":"file","value":null},{"key":"document","type":"file","src":"/Users/fen/Desktop/MyTalu/test-id.png"}]},"url":"{{API_URL}}/kyc"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"147"},{"key":"ETag","value":"W/\"93-QJsoqoKf7YoQtDl/jdVA3a9Zw88\""},{"key":"Date","value":"Sat, 19 Dec 2020 13:22:19 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"file.not-found\",\n        \"message\": \"missing files, be sure to send face and document files\",\n        \"statusCode\": 400\n    }\n}"},{"id":"185a8728-a844-4ddf-a346-9c11870e35c9","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"face","type":"file","src":"/Users/fen/Desktop/MyTalu/test-face.png"},{"key":"document","type":"file","src":"/Users/fen/Desktop/MyTalu/test-id.png"}]},"url":"{{API_URL}}/kyc"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Sat, 19 Dec 2020 13:20:42 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"},{"id":"40bb855a-c8be-4f54-a333-eeffd02b9136","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"face","type":"file","src":"/C:/Users/damon/Pictures/avs/nekomancer.jpg"},{"key":"document","type":"file","src":"/C:/Users/damon/Pictures/avs/wolfie.jpg"}]},"url":"{{API_URL}}/kyc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"4"},{"key":"ETag","value":"W/\"4-X/5TO4MPCKAyY0ipFgr6/IraRNs\""},{"key":"Date","value":"Sat, 19 Dec 2020 13:37:01 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"ee0c54b5-fc43-47c5-8b59-bfec4189d29c"},{"name":"Resolve BVN (for family_member)","id":"3456f420-e0a1-4b34-9a86-351837eef9d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"bvn\": \"22231485915\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/kyc/bvn/resolve","description":"<p>Attempt to resolve BVN for a <code>family_member</code>. Endpoint returns a boolean depending on if all steps were completed successfully.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>1. Verify BVN\n2. Update user Profile (from resolved BVN)\n3. Update users KYC status\n4. Create wallet in wallets.africa\n5. Verify created wallet with BVN\n6. Save wallet's data to local db\n</code></pre><h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>bvn</strong>  (required *)</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Fobidden</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["kyc","bvn","resolve"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"94a116c1-16db-4102-a660-36ed6c60218d","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[],"url":"{{API_URL}}/kyc/bvn/resolve"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"114"},{"key":"ETag","value":"W/\"72-7+2VEKuqd8v0OONPn+Siow+6JjQ\""},{"key":"Date","value":"Tue, 22 Dec 2020 10:23:41 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.invalid\",\n        \"message\": [\n            \"\\\"bvn\\\" is required\"\n        ],\n        \"statusCode\": 422\n    }\n}"},{"id":"f5a1a1c1-7e94-4bcb-abf8-0e3f33e18d28","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"bvn\": \"123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/kyc/bvn/resolve"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"4"},{"key":"ETag","value":"W/\"4-X/5TO4MPCKAyY0ipFgr6/IraRNs\""},{"key":"Date","value":"Mon, 21 Dec 2020 18:20:29 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"3456f420-e0a1-4b34-9a86-351837eef9d3"},{"name":"Handle Shufti Pro callback","id":"6c72f82b-a0e2-4397-a5ce-38991690d76f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"reference\": \"a48fb221-8f4f-4cd6-8cbe-3f25775a6a06\",\n    \"event\": \"verification.accepted\",\n    \"error\": \"\",\n    \"verification_url\": \"\",\n    \"verification_result\": {\n        \"document\": {\n            \"name\": 1,\n            \"dob\": 1,\n            \"expiry_date\": 1,\n            \"issue_date\": 1,\n            \"document_number\": 1,\n            \"document\": 1,\n            \"gender\": \"\"\n        },\n        \"address\": {\n            \"name\": 1,\n            \"full_address\": 1\n        }\n    },\n    \"verification_data\": {\n        \"document\": {\n            \"name\": {\n                \"first_name\": \"John\",\n                \"middle_name\": \"Carter\",\n                \"last_name\": \"Doe\"\n            },\n            \"dob\": \"1978-03-13\",\n            \"issue_date\": \"2015-10-10\",\n            \"expiry_date\": \"2025-12-31\",\n            \"document_number\": \"1456-0989-5567-0909\",\n            \"selected_type\": [\n                \"id_card\"\n            ],\n            \"supported_types\": [\n                \"id_card\",\n                \"driving_license\",\n                \"passport\"\n            ],\n            \"gender\": \"\"\n        },\n        \"address\": {\n            \"name\": {\n                \"first_name\": \"John\",\n                \"middle_name\": \"Carter\",\n                \"last_name\": \"Doe\"\n            },\n            \"full_address\": \"3339 Maryland Avenue, Largo, Florida\",\n            \"selected_type\": [\n                \"id_card\"\n            ],\n            \"supported_types\": [\n                \"id_card\",\n                \"bank_statement\"\n            ]\n        }\n    },\n    \"info\": {\n        \"agent\": {\n            \"is_desktop\": true,\n            \"is_phone\": false,\n            \"useragent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36\",\n            \"device_name\": \"Macintosh\",\n            \"browser_name\": \"\",\n            \"platform_name\": \"OS X - 10_14_0\"\n        },\n        \"geolocation\": {\n            \"host\": \"212.103.50.243\",\n            \"ip\": \"212.103.50.243\",\n            \"rdns\": \"212.103.50.243\",\n            \"asn\": \"9009\",\n            \"isp\": \"M247 Ltd\",\n            \"country_name\": \"Germany\",\n            \"country_code\": \"DE\",\n            \"region_name\": \"Hesse\",\n            \"region_code\": \"HE\",\n            \"city\": \"Frankfurt am Main\",\n            \"postal_code\": \"60326\",\n            \"continent_name\": \"Europe\",\n            \"continent_code\": \"EU\",\n            \"latitude\": \"50.1049\",\n            \"longitude\": \"8.6295\",\n            \"metro_code\": \"\",\n            \"timezone\": \"Europe/Berlin\"\n        }\n    },\n    \"additional_data\": {\n        \"document\": {\n            \"proof\": {\n                \"gender\": \"M\",\n                \"height\": \"183\",\n                \"country\": \"United Kingdom\",\n                \"authority\": \"HMPO\",\n                \"last_name\": \"Doe\",\n                \"first_name\": \"John\",\n                \"issue_date\": \"2018-01-31\",\n                \"expiry_date\": \"2028-01-30\",\n                \"nationality\": \"BRITSH CITIZEN\",\n                \"country_code\": \"GBR\",\n                \"document_type\": \"P\",\n                \"place_of_birth\": \"BRISTOL\",\n                \"document_number\": \"GB1234567\",\n                \"personal_number\": \"12345678910\",\n                \"dob\": \"1978-03-13\"\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/kyc/shufti-pro/cb/:id","description":"<p>(DEBUG) it replicates the response from ShuftiPro after calling for KYC verification.</p>\n<p>By changing the <code>event</code> property we can manipulate if request is verified or declined.</p>\n","urlObject":{"path":["kyc","shufti-pro","cb",":id"],"host":["{{API_URL}}"],"query":[],"variable":[{"description":{"content":"<p>id of a kyc job in local db (required *)</p>\n","type":"text/plain"},"type":"string","value":"6693178d-2638-4488-971e-f45cb0d3346c","key":"id"}]}},"response":[],"_postman_id":"6c72f82b-a0e2-4397-a5ce-38991690d76f"},{"name":"Handle Smile Identity callback (detached)","id":"c730e03f-4948-4d68-9966-712f5f1e6245","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n  \"ResultCode\": \"1220\",\n  \"ResultText\": \"Authenticated\",\n  \"ResultType\": \"DIVA\",\n  \"SmileJobID\": \"0000000001\",\n  \"JSONVersion\": \"1.0.0\",\n  \"IsFinalResult\": \"true\",\n  \"PartnerParams\": {\n    \"job_id\": \"e7ca3e6c-e527-7165-b0b5-b90db1276378\",\n    \"user_id\": \"07a0c120-98d7-4fdc-bc62-3c6bfd16c60e\",\n    \"job_type\": 2\n  },\n  \"ConfidenceValue\": \"100.000000\",\n  \"IsMachineResult\": \"true\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/kyc/smile-identity/cb","description":"<h1 id=\"not-active\">NOT ACTIVE</h1>\n<p>(DEBUG) it replicates the response from SmileIdentity after calling for KYC verification.</p>\n<p>By changing the <code>ResultCode</code> property we can manipulate if request is verified or declined.</p>\n","urlObject":{"path":["kyc","smile-identity","cb"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c730e03f-4948-4d68-9966-712f5f1e6245"}],"id":"a26e872c-40f6-465b-95c5-0296c52ffba8","description":"<p>In MyTalu API 2 services are being used for KYC (Know Your Customer) verification based on from where the customer is. KYC check is the mandatory process of identifying and verifying the identity of the client when opening an account and periodically over time. In other words, banks must make sure that their clients are genuinely who they claim to be.</p>\n<h1 id=\"uk---shufti-pro\">UK - <a href=\"https://shuftipro.com/\">Shufti Pro</a></h1>\n<ul>\n<li>KYC - Identity Verification</li>\n<li>AML Screening</li>\n<li>Facial Biometric Authentication</li>\n<li>Know Your Business</li>\n<li>Video Interview KYC</li>\n<li>OCR for Businesses</li>\n</ul>\n<h2 id=\"-api-docs--dashboard-\">| <a href=\"https://api.shuftipro.com/api/docs/offsite_with_ocr\">API docs</a> | <a href=\"https://backoffice.shuftipro.com/dashboard\">Dashboard</a> |</h2>\n<h2 id=\"comments\">Comments</h2>\n<ul>\n<li>there's no SDK</li>\n<li>each API call is billed, the account balance can be monitored in the dashboard</li>\n</ul>\n<h1 id=\"detached-nigeria---smile-identity\">(DETACHED) Nigeria - <a href=\"https://www.smileidentity.com/\">Smile Identity</a></h1>\n<p>Smile Identity uses Computer vision and Machine learning to validate true identity.</p>\n<ul>\n<li>User Registration</li>\n<li>ID Validation &amp; KYC Services</li>\n<li>Biometric 2nd-Factor Authentication</li>\n<li>Deduplication</li>\n</ul>\n<h2 id=\"-api-docs--dashboard--1\">| <a href=\"https://docs.smileidentity.com/general/introduction\">API docs</a> | <a href=\"https://test-smileid.herokuapp.com/partner/dashboard\">Dashboard</a> |</h2>\n<h2 id=\"comments-1\">Comments</h2>\n<ul>\n<li>there is <a href=\"https://github.com/smileidentity/smile-identity-core-js\">SDK</a></li>\n<li>Comapny has to be verified with valid documents to confirm it's identity</li>\n<li>requested jobs can be monitored in the dashboard</li>\n<li>there is no test data for ID pictures and selfies</li>\n</ul>\n<h1 id=\"nigeria---walletsafrica\">Nigeria - <a href=\"https://wallets.africa/developer\">wallets.africa</a></h1>\n<p>API uses wallets.africa to fetch information assigned to BVN. Customer upon registration provides us with a number that is later on verified and fetched data is saved as customer's profile data.</p>\n<h2 id=\"go-here-for-more-info\"><a href=\"https://documenter.getpostman.com/view/98950/TVYKYvZm#fb9508b8-bd17-49bb-a24b-ea63abaec9e0\">GO HERE FOR MORE INFO</a></h2>\n","event":[{"listen":"prerequest","script":{"id":"612f7981-f9ae-42f3-a9db-cbab85011cf8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dc24f15a-c2a0-4c65-8984-ae8ac216a09e","type":"text/javascript","exec":[""]}}],"_postman_id":"a26e872c-40f6-465b-95c5-0296c52ffba8"},{"name":"Memeber","item":[{"name":"Physical Card","item":[{"name":"Issue physical card","id":"e8940066-774b-4430-bfaa-1d12e7806e94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"bvn\": \"012i84\",\r\n    \"amount\": 0,\r\n    \"deliveryAddress\": \"address\",\r\n    \"stateId\": 1,\r\n    \"localId\": 2,\r\n    \"categories\": [\r\n        {\r\n            \"category\": \"foo\",\r\n            \"percentage\": 30\r\n        },\r\n        {\r\n            \"category\": \"bar\",\r\n            \"percentage\": 60\r\n        },\r\n        {\r\n            \"category\": \"baz\",\r\n            \"percentage\": 10\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/member/cards/issue-physical","description":"<p>Order physical card for a family member.\nAdditionaly transfer to charge the card is created (if defined amount is &gt; 0), user can assign categories to that transfer which will say on what he is planning to spend those money. Percentage of categories have to sum up to 100, namings are open (can by any string).</p>\n<p>Member can have only one physical card.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>bvn</strong>  (required*)</td>\n<td>has to match the account bvn</td>\n</tr>\n<tr>\n<td><strong>deliveryAddress</strong>  (required*)</td>\n<td>address where the card should be delivered</td>\n</tr>\n<tr>\n<td><strong>stateId</strong>  (required*)</td>\n<td>id of state from wallets.africa</td>\n</tr>\n<tr>\n<td><strong>localId</strong>  (required*)</td>\n<td>local id from wallets.africa</td>\n</tr>\n<tr>\n<td><strong>amount</strong>  (required*)</td>\n<td>how much money do we want to transfer to the card (can be equal to 0)</td>\n</tr>\n<tr>\n<td><strong>categories</strong></td>\n<td>is an array of objects(category, percentage), shows what categories are assigned to transaction charging the card</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["member","cards","issue-physical"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8940066-774b-4430-bfaa-1d12e7806e94"},{"name":"Fetch detais of physical card","id":"637f2321-4168-4907-8618-6d8fc195c2ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/member/cards/physical","description":"<p>Fetch details about member's physical card.</p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n</ul>\n","urlObject":{"path":["member","cards","physical"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"c5eb5863-99dd-4401-8365-a9dacd4a3a86","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"{{API_URL}}/member/cards/virtual"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"241"},{"key":"ETag","value":"W/\"f1-53LBqjCv3yTKAzmTSMUI5Qd1AUk\""},{"key":"Date","value":"Mon, 04 Jan 2021 13:04:46 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Last4Digits\": \"9012\",\n    \"Address\": \"1b Mobolaji Johnson Estate\",\n    \"CVV\": \"123\",\n    \"ExpiryMonth\": \"12\",\n    \"ExpiryYear\": \"23\",\n    \"City\": \"Lagos\",\n    \"State\": \"Lagos\",\n    \"NameOnCard\": \"John Doe\",\n    \"CardNumber\": \"123456789012\",\n    \"IsActive\": true,\n    \"ZipCode\": \"94012\",\n    \"Balance\": 500\n}"}],"_postman_id":"637f2321-4168-4907-8618-6d8fc195c2ac"},{"name":"Fetch transactions of physical card","id":"bf7992f3-a5e4-4f33-b27d-1801e637f0d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/member/transactions/physical","description":"<p>Fetch transactions from member's virtual card.</p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n</ul>\n","urlObject":{"path":["member","transactions","physical"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf7992f3-a5e4-4f33-b27d-1801e637f0d3"}],"id":"5d075ba2-0e16-4b73-b7d2-82bc6a8d097d","_postman_id":"5d075ba2-0e16-4b73-b7d2-82bc6a8d097d","description":""},{"name":"Virtual Card","item":[{"name":"Issue virtual card","id":"3516fc96-5964-4fa8-abe3-757316a93a35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"bvn\": \"012i84\",\r\n    \"amount\": 200,\r\n    \"categories\": [\r\n        {\r\n            \"category\": \"foo\",\r\n            \"percentage\": 30\r\n        },\r\n        {\r\n            \"category\": \"bar\",\r\n            \"percentage\": 60\r\n        },\r\n        {\r\n            \"category\": \"baz\",\r\n            \"percentage\": 10\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/member/cards/issue-virtual","description":"<p>Order virtual card for a family member. Additionaly transfer to charge the card is created, user can assign categories to that transfer which will say on what he is planning to spend those money. Percentage of <strong>categories have to sum up to 100</strong>, namings are open (can by any string).</p>\n<p>Member can have only one virual card.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>bvn</strong>  (required*)</td>\n<td>has to match the account bvn</td>\n</tr>\n<tr>\n<td><strong>amount</strong>  (required*)</td>\n<td>how much money do we want to transfer to the card (has to be &gt; 0)</td>\n</tr>\n<tr>\n<td><strong>categories</strong></td>\n<td>is an array of objects(category, percentage), shows what categories are assigned to transaction charging the card</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["member","cards","issue-virtual"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"c1ec3db3-039f-4861-b7bf-707604876878","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"bvn\": \"012i84\",\r\n    \"amount\": 200\r\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/member/cards/issue-virtual"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"117"},{"key":"ETag","value":"W/\"75-H6u4UV58z0H8mRoge4oMG/KesSc\""},{"key":"Date","value":"Mon, 04 Jan 2021 13:02:41 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"card.already-exists\",\n        \"message\": \"Card already exists\",\n        \"statusCode\": 403\n    }\n}"},{"id":"cf45a78f-c4a4-48c2-96e8-85ce1f04c64b","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"bvn\": \"012i8\",\r\n    \"amount\": 200\r\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/member/cards/issue-virtual"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"146"},{"key":"ETag","value":"W/\"92-XJX72Ea22+zXW4tQiQwqpu6zkU8\""},{"key":"Date","value":"Mon, 04 Jan 2021 10:01:21 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"member.bvn-invalid\",\n        \"message\": \"BVN is different than the one assigned to account\",\n        \"statusCode\": 403\n    }\n}"}],"_postman_id":"3516fc96-5964-4fa8-abe3-757316a93a35"},{"name":"Fetch detais of virtual card","id":"6c617a96-8f4e-4522-a66b-5309d14aa469","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/member/cards/virtual","description":"<p>Fetch details about member's virtual card.</p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n</ul>\n","urlObject":{"path":["member","cards","virtual"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"2431714c-2446-42cd-94e6-3e367ba5de23","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"{{API_URL}}/member/cards/virtual"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"241"},{"key":"ETag","value":"W/\"f1-53LBqjCv3yTKAzmTSMUI5Qd1AUk\""},{"key":"Date","value":"Mon, 04 Jan 2021 13:04:46 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Last4Digits\": \"9012\",\n    \"Address\": \"1b Mobolaji Johnson Estate\",\n    \"CVV\": \"123\",\n    \"ExpiryMonth\": \"12\",\n    \"ExpiryYear\": \"23\",\n    \"City\": \"Lagos\",\n    \"State\": \"Lagos\",\n    \"NameOnCard\": \"John Doe\",\n    \"CardNumber\": \"123456789012\",\n    \"IsActive\": true,\n    \"ZipCode\": \"94012\",\n    \"Balance\": 500\n}"}],"_postman_id":"6c617a96-8f4e-4522-a66b-5309d14aa469"},{"name":"Fetch transactions of virtual card","id":"0117bb7c-fdaf-40fd-bf46-cac48314665b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/member/transactions/virtual","description":"<p>Fetch transactions from member's virtual card.</p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n</ul>\n","urlObject":{"path":["member","transactions","virtual"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0117bb7c-fdaf-40fd-bf46-cac48314665b"}],"id":"f57c289d-480d-4831-b4c6-d552e66d99bd","_postman_id":"f57c289d-480d-4831-b4c6-d552e66d99bd","description":""},{"name":"Purchase airtime","id":"7a278547-3418-4e20-ac1f-510b67fd942b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"appPin\": \"1234\",\r\n    \"amount\": 123,\r\n    \"providerCode\": \"airtel\",\r\n    \"phoneNumber\": \"2348468441301\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/member/airtime","description":"<p>Purchase airtime for a chosen phone number. Member has to verify his app PIN code to confirm the purchase.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>amount</strong>  (required*)</td>\n<td>amount of money we want to spend on purchase</td>\n</tr>\n<tr>\n<td><strong>appPin</strong> (required*)</td>\n<td>valid pin (set by a customer previously)</td>\n</tr>\n<tr>\n<td><strong>providerCode</strong> (required*)</td>\n<td>code retrieved from <code>Fetch airtime providers</code></td>\n</tr>\n<tr>\n<td><strong>phoneNumber</strong> (required*)</td>\n<td>number that we want to charge</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>403</code> Forbidden</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["member","airtime"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"c3c070c0-305f-4d4a-8175-73b6e692d413","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"{{API_URL}}/member/get-states"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"21981"},{"key":"ETag","value":"W/\"55dd-wzcdwMdHuHkpyjulTz0TeRQ+0nY\""},{"key":"Date","value":"Wed, 13 Jan 2021 16:08:14 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"state\": {\n            \"name\": \"Abia State\",\n            \"id\": 1,\n            \"locals\": [\n                {\n                    \"name\": \"Aba South\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Arochukwu\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bende\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ikwuano\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Isiala Ngwa North\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Isiala Ngwa South\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Isuikwuato\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Obi Ngwa\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ohafia\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Osisioma\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ugwunagbo\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Ukwa East\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ukwa West\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Umuahia North\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Umuahia South\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Umu Nneochi\",\n                    \"id\": 16\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Adamawa State\",\n            \"id\": 2,\n            \"locals\": [\n                {\n                    \"name\": \"Fufure\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ganye\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Gayuk\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Gombi\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Grie\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Hong\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Jada\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Lamurde\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Madagali\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Maiha\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Mayo Belwa\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Michika\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Mubi North\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Mubi South\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Numan\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Shelleng\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Song\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Toungo\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Yola North\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Yola South\",\n                    \"id\": 20\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Akwa Ibom State\",\n            \"id\": 3,\n            \"locals\": [\n                {\n                    \"name\": \"Eastern Obolo\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Eket\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Esit Eket\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Essien Udim\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Etim Ekpo\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Etinan\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ibeno\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ibesikpo Asutan\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ibiono-Ibom\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ika\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ikono\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Ikot Abasi\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ikot Ekpene\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ini\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Itu\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Mbo\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Mkpat-Enin\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Nsit-Atai\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Nsit-Ibom\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Nsit-Ubium\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Obot Akara\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Okobo\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Onna\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Oron\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Oruk Anam\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Udung-Uko\",\n                    \"id\": 26\n                },\n                {\n                    \"name\": \"Ukanafun\",\n                    \"id\": 27\n                },\n                {\n                    \"name\": \"Uruan\",\n                    \"id\": 28\n                },\n                {\n                    \"name\": \"Urue-Offong/Oruko\",\n                    \"id\": 29\n                },\n                {\n                    \"name\": \"Uyo\",\n                    \"id\": 30\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Anambra State\",\n            \"id\": 4,\n            \"locals\": [\n                {\n                    \"name\": \"Anambra East\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Anambra West\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Anaocha\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Awka North\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Awka South\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ayamelum\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Dunukofia\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ekwusigo\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Idemili North\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Idemili South\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ihiala\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Njikoka\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Nnewi North\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Nnewi South\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ogbaru\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Onitsha North\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Onitsha South\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Orumba North\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Orumba South\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Oyi\",\n                    \"id\": 20\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Bauchi State\",\n            \"id\": 5,\n            \"locals\": [\n                {\n                    \"name\": \"Bauchi\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bogoro\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Damban\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Darazo\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Dass\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gamawa\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ganjuwa\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Giade\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Itas/Gadau\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Jama'are\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Katagum\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Kirfi\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Misau\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ningi\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Shira\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Tafawa Balewa\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Toro\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Warji\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Zaki\",\n                    \"id\": 19\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Bayelsa State\",\n            \"id\": 6,\n            \"locals\": [\n                {\n                    \"name\": \"Ekeremor\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Kolokuma/Opokuma\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Nembe\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ogbia\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Sagbama\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Southern Ijaw\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Yenagoa\",\n                    \"id\": 7\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Benue State\",\n            \"id\": 7,\n            \"locals\": [\n                {\n                    \"name\": \"Apa\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ado\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Buruku\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Gboko\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Guma\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gwer East\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Gwer West\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Katsina-Ala\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Konshisha\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kwande\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Logo\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Makurdi\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Obi\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ogbadibo\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ohimini\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Oju\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Okpokwu\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Oturkpo\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Tarka\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Ukum\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Ushongo\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Vandeikya\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Agatu\",\n                    \"id\": 23\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Borno State\",\n            \"id\": 8,\n            \"locals\": [\n                {\n                    \"name\": \"Askira/Uba\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bama\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bayo\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Biu\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Chibok\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Damboa\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Dikwa\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Gubio\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Guzamala\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Gwoza\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Hawul\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Jere\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Kaga\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Kala/Balge\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Konduga\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Kukawa\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Kwaya Kusar\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Mafa\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Magumeri\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Maiduguri\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Marte\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Mobbar\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Monguno\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Ngala\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Nganzai\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Shani\",\n                    \"id\": 26\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Cross River State\",\n            \"id\": 9,\n            \"locals\": [\n                {\n                    \"name\": \"Akamkpa\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Akpabuyo\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bakassi\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bekwarra\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Biase\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Boki\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Calabar Municipal\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Calabar South\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Etung\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ikom\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Obanliku\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Obubra\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Obudu\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Odukpani\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ogoja\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Yakuur\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Yala\",\n                    \"id\": 17\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Delta State\",\n            \"id\": 10,\n            \"locals\": [\n                {\n                    \"name\": \"Aniocha South\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bomadi\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Burutu\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ethiope East\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ethiope West\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ika North East\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ika South\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Isoko North\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Isoko South\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ndokwa East\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ndokwa West\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Okpe\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Oshimili North\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Oshimili South\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Patani\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Sapele\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Udu\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Ughelli North\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Ughelli South\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Ukwuani\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Uvwie\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Warri North\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Warri South\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Warri South West\",\n                    \"id\": 24\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Ebonyi State\",\n            \"id\": 11,\n            \"locals\": [\n                {\n                    \"name\": \"Afikpo North\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Afikpo South\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Ebonyi\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ezza North\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ezza South\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ikwo\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ishielu\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ivo\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Izzi\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ohaozara\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ohaukwu\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Onicha\",\n                    \"id\": 12\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Edo State\",\n            \"id\": 12,\n            \"locals\": [\n                {\n                    \"name\": \"Egor\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Esan Central\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Esan North-East\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Esan South-East\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Esan West\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Etsako Central\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Etsako East\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Etsako West\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Igueben\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ikpoba Okha\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Orhionmwon\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Oredo\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ovia North-East\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ovia South-West\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Owan East\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Owan West\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Uhunmwonde\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Akoko-Edo\",\n                    \"id\": 17\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Ekiti State\",\n            \"id\": 13,\n            \"locals\": [\n                {\n                    \"name\": \"Efon\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ekiti East\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Ekiti South-West\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ekiti West\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Emure\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gbonyin\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ido Osi\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ijero\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ikere\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ikole\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ilejemeje\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Irepodun/Ifelodun\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ise/Orun\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Moba\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Oye\",\n                    \"id\": 15\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Enugu State\",\n            \"id\": 14,\n            \"locals\": [\n                {\n                    \"name\": \"Awgu\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Enugu East\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Enugu North\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Enugu South\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ezeagu\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Igbo Etiti\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Igbo Eze North\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Igbo Eze South\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Isi Uzo\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Nkanu East\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Nkanu West\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Nsukka\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Oji River\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Udenu\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Udi\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Uzo Uwani\",\n                    \"id\": 16\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"FCT\",\n            \"id\": 15,\n            \"locals\": [\n                {\n                    \"name\": \"Bwari\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Gwagwalada\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Kuje\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Kwali\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Municipal Area Council\",\n                    \"id\": 5\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Gombe State\",\n            \"id\": 16,\n            \"locals\": [\n                {\n                    \"name\": \"Balanga\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Billiri\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Dukku\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Funakaye\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Gombe\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Kaltungo\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Kwami\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Nafada\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Shongom\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Yamaltu/Deba\",\n                    \"id\": 10\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Imo State\",\n            \"id\": 17,\n            \"locals\": [\n                {\n                    \"name\": \"Ahiazu Mbaise\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ehime Mbano\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Ezinihitte\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ideato North\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ideato South\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ihitte/Uboma\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ikeduru\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Isiala Mbano\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Isu\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Mbaitoli\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ngor Okpala\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Njaba\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Nkwerre\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Nwangele\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Obowo\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Oguta\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Ohaji/Egbema\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Okigwe\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Orlu\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Orsu\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Oru East\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Oru West\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Owerri Municipal\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Owerri North\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Owerri West\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Unuimo\",\n                    \"id\": 26\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Jigawa State\",\n            \"id\": 18,\n            \"locals\": [\n                {\n                    \"name\": \"Babura\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Biriniwa\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Birnin Kudu\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Buji\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Dutse\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gagarawa\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Garki\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Gumel\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Guri\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Gwaram\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Gwiwa\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Hadejia\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Jahun\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Kafin Hausa\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Kazaure\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Kiri Kasama\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Kiyawa\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Kaugama\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Maigatari\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Malam Madori\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Miga\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Ringim\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Roni\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Sule Tankarkar\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Taura\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Yankwashi\",\n                    \"id\": 26\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Kaduna State\",\n            \"id\": 19,\n            \"locals\": [\n                {\n                    \"name\": \"Chikun\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Giwa\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Igabi\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ikara\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Jaba\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Jema'a\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Kachia\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Kaduna North\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Kaduna South\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kagarko\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Kajuru\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Kaura\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Kauru\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Kubau\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Kudan\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Lere\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Makarfi\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Sabon Gari\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Sanga\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Soba\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Zangon Kataf\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Zaria\",\n                    \"id\": 22\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Kano State\",\n            \"id\": 20,\n            \"locals\": [\n                {\n                    \"name\": \"Albasu\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bagwai\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bebeji\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bichi\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Bunkure\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Dala\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Dambatta\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Dawakin Kudu\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Dawakin Tofa\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Doguwa\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Fagge\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Gabasawa\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Garko\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Garun Mallam\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Gaya\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Gezawa\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Gwale\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Gwarzo\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Kabo\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Kano Municipal\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Karaye\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Kibiya\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Kiru\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Kumbotso\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Kunchi\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Kura\",\n                    \"id\": 26\n                },\n                {\n                    \"name\": \"Madobi\",\n                    \"id\": 27\n                },\n                {\n                    \"name\": \"Makoda\",\n                    \"id\": 28\n                },\n                {\n                    \"name\": \"Minjibir\",\n                    \"id\": 29\n                },\n                {\n                    \"name\": \"Nasarawa\",\n                    \"id\": 30\n                },\n                {\n                    \"name\": \"Rano\",\n                    \"id\": 31\n                },\n                {\n                    \"name\": \"Rimin Gado\",\n                    \"id\": 32\n                },\n                {\n                    \"name\": \"Rogo\",\n                    \"id\": 33\n                },\n                {\n                    \"name\": \"Shanono\",\n                    \"id\": 34\n                },\n                {\n                    \"name\": \"Sumaila\",\n                    \"id\": 35\n                },\n                {\n                    \"name\": \"Takai\",\n                    \"id\": 36\n                },\n                {\n                    \"name\": \"Tarauni\",\n                    \"id\": 37\n                },\n                {\n                    \"name\": \"Tofa\",\n                    \"id\": 38\n                },\n                {\n                    \"name\": \"Tsanyawa\",\n                    \"id\": 39\n                },\n                {\n                    \"name\": \"Tudun Wada\",\n                    \"id\": 40\n                },\n                {\n                    \"name\": \"Ungogo\",\n                    \"id\": 41\n                },\n                {\n                    \"name\": \"Warawa\",\n                    \"id\": 42\n                },\n                {\n                    \"name\": \"Wudil\",\n                    \"id\": 43\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Katsina State\",\n            \"id\": 21,\n            \"locals\": [\n                {\n                    \"name\": \"Batagarawa\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Batsari\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Baure\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bindawa\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Charanchi\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Dandume\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Danja\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Dan Musa\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Daura\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Dutsi\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Dutsin Ma\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Faskari\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Funtua\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ingawa\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Jibia\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Kafur\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Kaita\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Kankara\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Kankia\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Katsina\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Kurfi\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Kusada\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Mai'Adua\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Malumfashi\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Mani\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Mashi\",\n                    \"id\": 26\n                },\n                {\n                    \"name\": \"Matazu\",\n                    \"id\": 27\n                },\n                {\n                    \"name\": \"Musawa\",\n                    \"id\": 28\n                },\n                {\n                    \"name\": \"Rimi\",\n                    \"id\": 29\n                },\n                {\n                    \"name\": \"Sabuwa\",\n                    \"id\": 30\n                },\n                {\n                    \"name\": \"Safana\",\n                    \"id\": 31\n                },\n                {\n                    \"name\": \"Sandamu\",\n                    \"id\": 32\n                },\n                {\n                    \"name\": \"Zango\",\n                    \"id\": 33\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Kebbi State\",\n            \"id\": 22,\n            \"locals\": [\n                {\n                    \"name\": \"Arewa Dandi\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Argungu\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Augie\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bagudo\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Birnin Kebbi\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Bunza\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Dandi\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Fakai\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Gwandu\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Jega\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Kalgo\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Koko/Besse\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Maiyama\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ngaski\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Sakaba\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Shanga\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Suru\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Wasagu/Danko\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Yauri\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Zuru\",\n                    \"id\": 20\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Kogi State\",\n            \"id\": 23,\n            \"locals\": [\n                {\n                    \"name\": \"Ajaokuta\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ankpa\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bassa\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Dekina\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ibaji\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Idah\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Igalamela Odolu\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ijumu\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Kabba/Bunu\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kogi\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Lokoja\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Mopa Muro\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ofu\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ogori/Magongo\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Okehi\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Okene\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Olamaboro\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Omala\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Yagba East\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Yagba West\",\n                    \"id\": 20\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Kwara State\",\n            \"id\": 24,\n            \"locals\": [\n                {\n                    \"name\": \"Baruten\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Edu\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Ekiti\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ifelodun\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ilorin East\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ilorin South\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ilorin West\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Irepodun\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Isin\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kaiama\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Moro\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Offa\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Oke Ero\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Oyun\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Pategi\",\n                    \"id\": 15\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Lagos State\",\n            \"id\": 25,\n            \"locals\": [\n                {\n                    \"name\": \"Ajeromi-Ifelodun\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Alimosho\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Amuwo-Odofin\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Apapa\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Badagry\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Epe\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Eti Osa\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ibeju-Lekki\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ifako-Ijaiye\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ikeja\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ikorodu\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Kosofe\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Lagos Island\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Lagos Mainland\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Mushin\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Ojo\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Oshodi-Isolo\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Shomolu\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Surulere\",\n                    \"id\": 19\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Nasarawa State\",\n            \"id\": 26,\n            \"locals\": [\n                {\n                    \"name\": \"Awe\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Doma\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Karu\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Keana\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Keffi\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Kokona\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Lafia\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Nasarawa\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Nasarawa Egon\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Obi\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Toto\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Wamba\",\n                    \"id\": 12\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Niger State\",\n            \"id\": 27,\n            \"locals\": [\n                {\n                    \"name\": \"Agwara\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bida\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Borgu\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bosso\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Chanchaga\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Edati\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Gbako\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Gurara\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Katcha\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kontagora\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Lapai\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Lavun\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Magama\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Mariga\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Mashegu\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Mokwa\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Moya\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Paikoro\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Rafi\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Rijau\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Shiroro\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Suleja\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Tafa\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Wushishi\",\n                    \"id\": 24\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Ogun State\",\n            \"id\": 28,\n            \"locals\": [\n                {\n                    \"name\": \"Abeokuta South\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ado-Odo/Ota\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Egbado North\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Egbado South\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ewekoro\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ifo\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ijebu East\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ijebu North\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ijebu North East\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ijebu Ode\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ikenne\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Imeko Afon\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ipokia\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Obafemi Owode\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Odeda\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Odogbolu\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Ogun Waterside\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Remo North\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Shagamu\",\n                    \"id\": 19\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Ondo State\",\n            \"id\": 29,\n            \"locals\": [\n                {\n                    \"name\": \"Akoko North-West\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Akoko South-West\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Akoko South-East\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Akure North\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Akure South\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ese Odo\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Idanre\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ifedore\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ilaje\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ile Oluji/Okeigbo\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Irele\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Odigbo\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Okitipupa\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ondo East\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ondo West\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Ose\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Owo\",\n                    \"id\": 17\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Osun State\",\n            \"id\": 30,\n            \"locals\": [\n                {\n                    \"name\": \"Atakunmosa West\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Aiyedaade\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Aiyedire\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Boluwaduro\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Boripe\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ede North\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ede South\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ife Central\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ife East\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ife North\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ife South\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Egbedore\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ejigbo\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ifedayo\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ifelodun\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Ila\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Ilesa East\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Ilesa West\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Irepodun\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Irewole\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Isokan\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Iwo\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Obokun\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Odo Otin\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Ola Oluwa\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Olorunda\",\n                    \"id\": 26\n                },\n                {\n                    \"name\": \"Oriade\",\n                    \"id\": 27\n                },\n                {\n                    \"name\": \"Orolu\",\n                    \"id\": 28\n                },\n                {\n                    \"name\": \"Osogbo\",\n                    \"id\": 29\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Oyo State\",\n            \"id\": 31,\n            \"locals\": [\n                {\n                    \"name\": \"Akinyele\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Atiba\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Atisbo\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Egbeda\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ibadan North\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ibadan North-East\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ibadan North-West\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ibadan South-East\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ibadan South-West\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ibarapa Central\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ibarapa East\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Ibarapa North\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ido\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Irepo\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Iseyin\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Itesiwaju\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Iwajowa\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Kajola\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Lagelu\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Ogbomosho North\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Ogbomosho South\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Ogo Oluwa\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Olorunsogo\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Oluyole\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Ona Ara\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Orelope\",\n                    \"id\": 26\n                },\n                {\n                    \"name\": \"Ori Ire\",\n                    \"id\": 27\n                },\n                {\n                    \"name\": \"Oyo\",\n                    \"id\": 28\n                },\n                {\n                    \"name\": \"Oyo East\",\n                    \"id\": 29\n                },\n                {\n                    \"name\": \"Saki East\",\n                    \"id\": 30\n                },\n                {\n                    \"name\": \"Saki West\",\n                    \"id\": 31\n                },\n                {\n                    \"name\": \"Surulere\",\n                    \"id\": 32\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Plateau State\",\n            \"id\": 32,\n            \"locals\": [\n                {\n                    \"name\": \"Barkin Ladi\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bassa\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Jos East\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Jos North\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Jos South\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Kanam\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Kanke\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Langtang South\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Langtang North\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Mangu\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Mikang\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Pankshin\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Qua'an Pan\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Riyom\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Shendam\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Wase\",\n                    \"id\": 16\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Rivers State\",\n            \"id\": 33,\n            \"locals\": [\n                {\n                    \"name\": \"Ahoada East\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ahoada West\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Akuku-Toru\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Andoni\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Asari-Toru\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Bonny\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Degema\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Eleme\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Emuoha\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Etche\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Gokana\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Ikwerre\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Khana\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Obio/Akpor\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ogba/Egbema/Ndoni\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Ogu/Bolo\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Okrika\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Omuma\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Opobo/Nkoro\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Oyigbo\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Port Harcourt\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Tai\",\n                    \"id\": 22\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Sokoto State\",\n            \"id\": 34,\n            \"locals\": [\n                {\n                    \"name\": \"Bodinga\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Dange Shuni\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Gada\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Goronyo\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Gudu\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gwadabawa\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Illela\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Isa\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Kebbe\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kware\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Rabah\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Sabon Birni\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Shagari\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Silame\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Sokoto North\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Sokoto South\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Tambuwal\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Tangaza\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Tureta\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Wamako\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Wurno\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Yabo\",\n                    \"id\": 22\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Taraba State\",\n            \"id\": 35,\n            \"locals\": [\n                {\n                    \"name\": \"Bali\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Donga\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Gashaka\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Gassol\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ibi\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Jalingo\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Karim Lamido\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Kumi\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Lau\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Sardauna\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Takum\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Ussa\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Wukari\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Yorro\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Zing\",\n                    \"id\": 15\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Yobe State\",\n            \"id\": 36,\n            \"locals\": [\n                {\n                    \"name\": \"Bursari\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Damaturu\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Fika\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Fune\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Geidam\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gujba\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Gulani\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Jakusko\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Karasuwa\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Machina\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Nangere\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Nguru\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Potiskum\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Tarmuwa\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Yunusari\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Yusufari\",\n                    \"id\": 16\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Zamfara State\",\n            \"id\": 37,\n            \"locals\": [\n                {\n                    \"name\": \"Bakura\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Birnin Magaji/Kiyaw\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bukkuyum\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bungudu\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Gummi\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gusau\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Kaura Namoda\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Maradun\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Maru\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Shinkafi\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Talata Mafara\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Chafe\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Zurmi\",\n                    \"id\": 13\n                }\n            ]\n        }\n    }\n]"}],"_postman_id":"7a278547-3418-4e20-ac1f-510b67fd942b"},{"name":"Fetch Nigerian states","id":"2c3ab06b-f743-41ee-8b6d-93dcf0a8178d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/member/get-states","description":"<p>View the list of Nigerian states and their corresponding codes for further processing.</p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code></li>\n<li><code>401</code></li>\n<li><code>403</code></li>\n</ul>\n","urlObject":{"path":["member","get-states"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"40beb1fc-f8a7-4a74-89dc-b0ab2f85383a","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"{{API_URL}}/member/get-states"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"21981"},{"key":"ETag","value":"W/\"55dd-wzcdwMdHuHkpyjulTz0TeRQ+0nY\""},{"key":"Date","value":"Wed, 13 Jan 2021 16:08:14 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"state\": {\n            \"name\": \"Abia State\",\n            \"id\": 1,\n            \"locals\": [\n                {\n                    \"name\": \"Aba South\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Arochukwu\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bende\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ikwuano\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Isiala Ngwa North\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Isiala Ngwa South\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Isuikwuato\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Obi Ngwa\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ohafia\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Osisioma\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ugwunagbo\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Ukwa East\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ukwa West\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Umuahia North\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Umuahia South\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Umu Nneochi\",\n                    \"id\": 16\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Adamawa State\",\n            \"id\": 2,\n            \"locals\": [\n                {\n                    \"name\": \"Fufure\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ganye\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Gayuk\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Gombi\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Grie\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Hong\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Jada\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Lamurde\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Madagali\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Maiha\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Mayo Belwa\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Michika\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Mubi North\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Mubi South\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Numan\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Shelleng\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Song\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Toungo\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Yola North\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Yola South\",\n                    \"id\": 20\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Akwa Ibom State\",\n            \"id\": 3,\n            \"locals\": [\n                {\n                    \"name\": \"Eastern Obolo\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Eket\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Esit Eket\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Essien Udim\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Etim Ekpo\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Etinan\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ibeno\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ibesikpo Asutan\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ibiono-Ibom\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ika\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ikono\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Ikot Abasi\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ikot Ekpene\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ini\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Itu\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Mbo\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Mkpat-Enin\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Nsit-Atai\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Nsit-Ibom\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Nsit-Ubium\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Obot Akara\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Okobo\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Onna\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Oron\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Oruk Anam\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Udung-Uko\",\n                    \"id\": 26\n                },\n                {\n                    \"name\": \"Ukanafun\",\n                    \"id\": 27\n                },\n                {\n                    \"name\": \"Uruan\",\n                    \"id\": 28\n                },\n                {\n                    \"name\": \"Urue-Offong/Oruko\",\n                    \"id\": 29\n                },\n                {\n                    \"name\": \"Uyo\",\n                    \"id\": 30\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Anambra State\",\n            \"id\": 4,\n            \"locals\": [\n                {\n                    \"name\": \"Anambra East\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Anambra West\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Anaocha\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Awka North\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Awka South\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ayamelum\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Dunukofia\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ekwusigo\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Idemili North\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Idemili South\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ihiala\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Njikoka\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Nnewi North\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Nnewi South\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ogbaru\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Onitsha North\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Onitsha South\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Orumba North\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Orumba South\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Oyi\",\n                    \"id\": 20\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Bauchi State\",\n            \"id\": 5,\n            \"locals\": [\n                {\n                    \"name\": \"Bauchi\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bogoro\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Damban\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Darazo\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Dass\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gamawa\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ganjuwa\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Giade\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Itas/Gadau\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Jama'are\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Katagum\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Kirfi\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Misau\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ningi\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Shira\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Tafawa Balewa\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Toro\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Warji\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Zaki\",\n                    \"id\": 19\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Bayelsa State\",\n            \"id\": 6,\n            \"locals\": [\n                {\n                    \"name\": \"Ekeremor\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Kolokuma/Opokuma\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Nembe\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ogbia\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Sagbama\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Southern Ijaw\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Yenagoa\",\n                    \"id\": 7\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Benue State\",\n            \"id\": 7,\n            \"locals\": [\n                {\n                    \"name\": \"Apa\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ado\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Buruku\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Gboko\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Guma\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gwer East\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Gwer West\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Katsina-Ala\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Konshisha\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kwande\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Logo\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Makurdi\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Obi\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ogbadibo\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ohimini\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Oju\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Okpokwu\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Oturkpo\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Tarka\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Ukum\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Ushongo\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Vandeikya\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Agatu\",\n                    \"id\": 23\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Borno State\",\n            \"id\": 8,\n            \"locals\": [\n                {\n                    \"name\": \"Askira/Uba\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bama\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bayo\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Biu\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Chibok\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Damboa\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Dikwa\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Gubio\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Guzamala\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Gwoza\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Hawul\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Jere\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Kaga\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Kala/Balge\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Konduga\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Kukawa\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Kwaya Kusar\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Mafa\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Magumeri\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Maiduguri\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Marte\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Mobbar\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Monguno\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Ngala\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Nganzai\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Shani\",\n                    \"id\": 26\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Cross River State\",\n            \"id\": 9,\n            \"locals\": [\n                {\n                    \"name\": \"Akamkpa\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Akpabuyo\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bakassi\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bekwarra\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Biase\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Boki\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Calabar Municipal\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Calabar South\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Etung\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ikom\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Obanliku\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Obubra\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Obudu\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Odukpani\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ogoja\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Yakuur\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Yala\",\n                    \"id\": 17\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Delta State\",\n            \"id\": 10,\n            \"locals\": [\n                {\n                    \"name\": \"Aniocha South\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bomadi\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Burutu\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ethiope East\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ethiope West\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ika North East\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ika South\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Isoko North\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Isoko South\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ndokwa East\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ndokwa West\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Okpe\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Oshimili North\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Oshimili South\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Patani\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Sapele\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Udu\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Ughelli North\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Ughelli South\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Ukwuani\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Uvwie\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Warri North\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Warri South\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Warri South West\",\n                    \"id\": 24\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Ebonyi State\",\n            \"id\": 11,\n            \"locals\": [\n                {\n                    \"name\": \"Afikpo North\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Afikpo South\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Ebonyi\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ezza North\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ezza South\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ikwo\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ishielu\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ivo\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Izzi\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ohaozara\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ohaukwu\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Onicha\",\n                    \"id\": 12\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Edo State\",\n            \"id\": 12,\n            \"locals\": [\n                {\n                    \"name\": \"Egor\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Esan Central\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Esan North-East\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Esan South-East\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Esan West\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Etsako Central\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Etsako East\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Etsako West\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Igueben\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ikpoba Okha\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Orhionmwon\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Oredo\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ovia North-East\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ovia South-West\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Owan East\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Owan West\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Uhunmwonde\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Akoko-Edo\",\n                    \"id\": 17\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Ekiti State\",\n            \"id\": 13,\n            \"locals\": [\n                {\n                    \"name\": \"Efon\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ekiti East\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Ekiti South-West\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ekiti West\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Emure\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gbonyin\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ido Osi\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ijero\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ikere\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ikole\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ilejemeje\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Irepodun/Ifelodun\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ise/Orun\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Moba\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Oye\",\n                    \"id\": 15\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Enugu State\",\n            \"id\": 14,\n            \"locals\": [\n                {\n                    \"name\": \"Awgu\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Enugu East\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Enugu North\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Enugu South\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ezeagu\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Igbo Etiti\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Igbo Eze North\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Igbo Eze South\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Isi Uzo\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Nkanu East\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Nkanu West\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Nsukka\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Oji River\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Udenu\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Udi\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Uzo Uwani\",\n                    \"id\": 16\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"FCT\",\n            \"id\": 15,\n            \"locals\": [\n                {\n                    \"name\": \"Bwari\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Gwagwalada\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Kuje\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Kwali\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Municipal Area Council\",\n                    \"id\": 5\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Gombe State\",\n            \"id\": 16,\n            \"locals\": [\n                {\n                    \"name\": \"Balanga\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Billiri\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Dukku\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Funakaye\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Gombe\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Kaltungo\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Kwami\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Nafada\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Shongom\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Yamaltu/Deba\",\n                    \"id\": 10\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Imo State\",\n            \"id\": 17,\n            \"locals\": [\n                {\n                    \"name\": \"Ahiazu Mbaise\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ehime Mbano\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Ezinihitte\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ideato North\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ideato South\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ihitte/Uboma\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ikeduru\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Isiala Mbano\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Isu\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Mbaitoli\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ngor Okpala\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Njaba\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Nkwerre\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Nwangele\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Obowo\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Oguta\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Ohaji/Egbema\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Okigwe\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Orlu\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Orsu\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Oru East\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Oru West\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Owerri Municipal\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Owerri North\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Owerri West\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Unuimo\",\n                    \"id\": 26\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Jigawa State\",\n            \"id\": 18,\n            \"locals\": [\n                {\n                    \"name\": \"Babura\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Biriniwa\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Birnin Kudu\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Buji\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Dutse\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gagarawa\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Garki\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Gumel\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Guri\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Gwaram\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Gwiwa\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Hadejia\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Jahun\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Kafin Hausa\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Kazaure\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Kiri Kasama\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Kiyawa\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Kaugama\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Maigatari\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Malam Madori\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Miga\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Ringim\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Roni\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Sule Tankarkar\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Taura\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Yankwashi\",\n                    \"id\": 26\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Kaduna State\",\n            \"id\": 19,\n            \"locals\": [\n                {\n                    \"name\": \"Chikun\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Giwa\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Igabi\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ikara\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Jaba\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Jema'a\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Kachia\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Kaduna North\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Kaduna South\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kagarko\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Kajuru\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Kaura\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Kauru\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Kubau\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Kudan\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Lere\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Makarfi\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Sabon Gari\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Sanga\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Soba\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Zangon Kataf\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Zaria\",\n                    \"id\": 22\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Kano State\",\n            \"id\": 20,\n            \"locals\": [\n                {\n                    \"name\": \"Albasu\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bagwai\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bebeji\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bichi\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Bunkure\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Dala\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Dambatta\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Dawakin Kudu\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Dawakin Tofa\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Doguwa\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Fagge\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Gabasawa\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Garko\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Garun Mallam\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Gaya\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Gezawa\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Gwale\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Gwarzo\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Kabo\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Kano Municipal\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Karaye\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Kibiya\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Kiru\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Kumbotso\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Kunchi\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Kura\",\n                    \"id\": 26\n                },\n                {\n                    \"name\": \"Madobi\",\n                    \"id\": 27\n                },\n                {\n                    \"name\": \"Makoda\",\n                    \"id\": 28\n                },\n                {\n                    \"name\": \"Minjibir\",\n                    \"id\": 29\n                },\n                {\n                    \"name\": \"Nasarawa\",\n                    \"id\": 30\n                },\n                {\n                    \"name\": \"Rano\",\n                    \"id\": 31\n                },\n                {\n                    \"name\": \"Rimin Gado\",\n                    \"id\": 32\n                },\n                {\n                    \"name\": \"Rogo\",\n                    \"id\": 33\n                },\n                {\n                    \"name\": \"Shanono\",\n                    \"id\": 34\n                },\n                {\n                    \"name\": \"Sumaila\",\n                    \"id\": 35\n                },\n                {\n                    \"name\": \"Takai\",\n                    \"id\": 36\n                },\n                {\n                    \"name\": \"Tarauni\",\n                    \"id\": 37\n                },\n                {\n                    \"name\": \"Tofa\",\n                    \"id\": 38\n                },\n                {\n                    \"name\": \"Tsanyawa\",\n                    \"id\": 39\n                },\n                {\n                    \"name\": \"Tudun Wada\",\n                    \"id\": 40\n                },\n                {\n                    \"name\": \"Ungogo\",\n                    \"id\": 41\n                },\n                {\n                    \"name\": \"Warawa\",\n                    \"id\": 42\n                },\n                {\n                    \"name\": \"Wudil\",\n                    \"id\": 43\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Katsina State\",\n            \"id\": 21,\n            \"locals\": [\n                {\n                    \"name\": \"Batagarawa\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Batsari\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Baure\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bindawa\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Charanchi\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Dandume\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Danja\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Dan Musa\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Daura\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Dutsi\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Dutsin Ma\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Faskari\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Funtua\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ingawa\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Jibia\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Kafur\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Kaita\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Kankara\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Kankia\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Katsina\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Kurfi\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Kusada\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Mai'Adua\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Malumfashi\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Mani\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Mashi\",\n                    \"id\": 26\n                },\n                {\n                    \"name\": \"Matazu\",\n                    \"id\": 27\n                },\n                {\n                    \"name\": \"Musawa\",\n                    \"id\": 28\n                },\n                {\n                    \"name\": \"Rimi\",\n                    \"id\": 29\n                },\n                {\n                    \"name\": \"Sabuwa\",\n                    \"id\": 30\n                },\n                {\n                    \"name\": \"Safana\",\n                    \"id\": 31\n                },\n                {\n                    \"name\": \"Sandamu\",\n                    \"id\": 32\n                },\n                {\n                    \"name\": \"Zango\",\n                    \"id\": 33\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Kebbi State\",\n            \"id\": 22,\n            \"locals\": [\n                {\n                    \"name\": \"Arewa Dandi\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Argungu\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Augie\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bagudo\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Birnin Kebbi\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Bunza\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Dandi\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Fakai\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Gwandu\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Jega\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Kalgo\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Koko/Besse\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Maiyama\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ngaski\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Sakaba\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Shanga\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Suru\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Wasagu/Danko\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Yauri\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Zuru\",\n                    \"id\": 20\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Kogi State\",\n            \"id\": 23,\n            \"locals\": [\n                {\n                    \"name\": \"Ajaokuta\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ankpa\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bassa\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Dekina\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ibaji\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Idah\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Igalamela Odolu\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ijumu\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Kabba/Bunu\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kogi\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Lokoja\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Mopa Muro\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ofu\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ogori/Magongo\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Okehi\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Okene\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Olamaboro\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Omala\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Yagba East\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Yagba West\",\n                    \"id\": 20\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Kwara State\",\n            \"id\": 24,\n            \"locals\": [\n                {\n                    \"name\": \"Baruten\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Edu\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Ekiti\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ifelodun\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ilorin East\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ilorin South\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ilorin West\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Irepodun\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Isin\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kaiama\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Moro\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Offa\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Oke Ero\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Oyun\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Pategi\",\n                    \"id\": 15\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Lagos State\",\n            \"id\": 25,\n            \"locals\": [\n                {\n                    \"name\": \"Ajeromi-Ifelodun\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Alimosho\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Amuwo-Odofin\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Apapa\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Badagry\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Epe\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Eti Osa\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ibeju-Lekki\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ifako-Ijaiye\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ikeja\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ikorodu\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Kosofe\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Lagos Island\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Lagos Mainland\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Mushin\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Ojo\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Oshodi-Isolo\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Shomolu\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Surulere\",\n                    \"id\": 19\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Nasarawa State\",\n            \"id\": 26,\n            \"locals\": [\n                {\n                    \"name\": \"Awe\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Doma\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Karu\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Keana\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Keffi\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Kokona\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Lafia\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Nasarawa\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Nasarawa Egon\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Obi\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Toto\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Wamba\",\n                    \"id\": 12\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Niger State\",\n            \"id\": 27,\n            \"locals\": [\n                {\n                    \"name\": \"Agwara\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bida\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Borgu\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bosso\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Chanchaga\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Edati\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Gbako\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Gurara\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Katcha\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kontagora\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Lapai\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Lavun\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Magama\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Mariga\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Mashegu\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Mokwa\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Moya\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Paikoro\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Rafi\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Rijau\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Shiroro\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Suleja\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Tafa\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Wushishi\",\n                    \"id\": 24\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Ogun State\",\n            \"id\": 28,\n            \"locals\": [\n                {\n                    \"name\": \"Abeokuta South\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ado-Odo/Ota\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Egbado North\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Egbado South\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ewekoro\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ifo\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ijebu East\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ijebu North\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ijebu North East\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ijebu Ode\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ikenne\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Imeko Afon\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ipokia\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Obafemi Owode\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Odeda\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Odogbolu\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Ogun Waterside\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Remo North\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Shagamu\",\n                    \"id\": 19\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Ondo State\",\n            \"id\": 29,\n            \"locals\": [\n                {\n                    \"name\": \"Akoko North-West\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Akoko South-West\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Akoko South-East\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Akure North\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Akure South\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ese Odo\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Idanre\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ifedore\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ilaje\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ile Oluji/Okeigbo\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Irele\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Odigbo\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Okitipupa\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ondo East\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ondo West\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Ose\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Owo\",\n                    \"id\": 17\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Osun State\",\n            \"id\": 30,\n            \"locals\": [\n                {\n                    \"name\": \"Atakunmosa West\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Aiyedaade\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Aiyedire\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Boluwaduro\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Boripe\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ede North\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ede South\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ife Central\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ife East\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ife North\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ife South\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Egbedore\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ejigbo\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ifedayo\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ifelodun\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Ila\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Ilesa East\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Ilesa West\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Irepodun\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Irewole\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Isokan\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Iwo\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Obokun\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Odo Otin\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Ola Oluwa\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Olorunda\",\n                    \"id\": 26\n                },\n                {\n                    \"name\": \"Oriade\",\n                    \"id\": 27\n                },\n                {\n                    \"name\": \"Orolu\",\n                    \"id\": 28\n                },\n                {\n                    \"name\": \"Osogbo\",\n                    \"id\": 29\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Oyo State\",\n            \"id\": 31,\n            \"locals\": [\n                {\n                    \"name\": \"Akinyele\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Atiba\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Atisbo\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Egbeda\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ibadan North\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ibadan North-East\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ibadan North-West\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ibadan South-East\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ibadan South-West\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ibarapa Central\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ibarapa East\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Ibarapa North\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ido\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Irepo\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Iseyin\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Itesiwaju\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Iwajowa\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Kajola\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Lagelu\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Ogbomosho North\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Ogbomosho South\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Ogo Oluwa\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Olorunsogo\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Oluyole\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Ona Ara\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Orelope\",\n                    \"id\": 26\n                },\n                {\n                    \"name\": \"Ori Ire\",\n                    \"id\": 27\n                },\n                {\n                    \"name\": \"Oyo\",\n                    \"id\": 28\n                },\n                {\n                    \"name\": \"Oyo East\",\n                    \"id\": 29\n                },\n                {\n                    \"name\": \"Saki East\",\n                    \"id\": 30\n                },\n                {\n                    \"name\": \"Saki West\",\n                    \"id\": 31\n                },\n                {\n                    \"name\": \"Surulere\",\n                    \"id\": 32\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Plateau State\",\n            \"id\": 32,\n            \"locals\": [\n                {\n                    \"name\": \"Barkin Ladi\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bassa\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Jos East\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Jos North\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Jos South\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Kanam\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Kanke\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Langtang South\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Langtang North\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Mangu\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Mikang\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Pankshin\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Qua'an Pan\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Riyom\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Shendam\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Wase\",\n                    \"id\": 16\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Rivers State\",\n            \"id\": 33,\n            \"locals\": [\n                {\n                    \"name\": \"Ahoada East\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ahoada West\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Akuku-Toru\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Andoni\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Asari-Toru\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Bonny\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Degema\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Eleme\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Emuoha\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Etche\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Gokana\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Ikwerre\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Khana\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Obio/Akpor\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ogba/Egbema/Ndoni\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Ogu/Bolo\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Okrika\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Omuma\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Opobo/Nkoro\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Oyigbo\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Port Harcourt\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Tai\",\n                    \"id\": 22\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Sokoto State\",\n            \"id\": 34,\n            \"locals\": [\n                {\n                    \"name\": \"Bodinga\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Dange Shuni\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Gada\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Goronyo\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Gudu\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gwadabawa\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Illela\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Isa\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Kebbe\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kware\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Rabah\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Sabon Birni\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Shagari\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Silame\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Sokoto North\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Sokoto South\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Tambuwal\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Tangaza\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Tureta\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Wamako\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Wurno\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Yabo\",\n                    \"id\": 22\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Taraba State\",\n            \"id\": 35,\n            \"locals\": [\n                {\n                    \"name\": \"Bali\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Donga\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Gashaka\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Gassol\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ibi\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Jalingo\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Karim Lamido\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Kumi\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Lau\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Sardauna\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Takum\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Ussa\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Wukari\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Yorro\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Zing\",\n                    \"id\": 15\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Yobe State\",\n            \"id\": 36,\n            \"locals\": [\n                {\n                    \"name\": \"Bursari\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Damaturu\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Fika\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Fune\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Geidam\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gujba\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Gulani\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Jakusko\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Karasuwa\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Machina\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Nangere\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Nguru\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Potiskum\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Tarmuwa\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Yunusari\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Yusufari\",\n                    \"id\": 16\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Zamfara State\",\n            \"id\": 37,\n            \"locals\": [\n                {\n                    \"name\": \"Bakura\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Birnin Magaji/Kiyaw\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bukkuyum\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bungudu\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Gummi\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gusau\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Kaura Namoda\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Maradun\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Maru\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Shinkafi\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Talata Mafara\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Chafe\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Zurmi\",\n                    \"id\": 13\n                }\n            ]\n        }\n    }\n]"}],"_postman_id":"2c3ab06b-f743-41ee-8b6d-93dcf0a8178d"},{"name":"Fetch airtime providers","id":"e00d8cb9-18c7-425d-aad5-ec19c0ab066e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/member/get-airtime-providers","description":"<p>View the list of Nigerian airtime providers and their corresponding codes for further processing.</p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code></li>\n<li><code>401</code></li>\n<li><code>403</code></li>\n</ul>\n","urlObject":{"path":["member","get-airtime-providers"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"936bd73d-ce4e-421a-9c56-c9d439fc2db8","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"{{API_URL}}/member/get-states"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"21981"},{"key":"ETag","value":"W/\"55dd-wzcdwMdHuHkpyjulTz0TeRQ+0nY\""},{"key":"Date","value":"Wed, 13 Jan 2021 16:08:14 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"state\": {\n            \"name\": \"Abia State\",\n            \"id\": 1,\n            \"locals\": [\n                {\n                    \"name\": \"Aba South\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Arochukwu\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bende\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ikwuano\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Isiala Ngwa North\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Isiala Ngwa South\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Isuikwuato\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Obi Ngwa\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ohafia\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Osisioma\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ugwunagbo\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Ukwa East\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ukwa West\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Umuahia North\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Umuahia South\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Umu Nneochi\",\n                    \"id\": 16\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Adamawa State\",\n            \"id\": 2,\n            \"locals\": [\n                {\n                    \"name\": \"Fufure\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ganye\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Gayuk\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Gombi\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Grie\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Hong\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Jada\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Lamurde\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Madagali\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Maiha\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Mayo Belwa\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Michika\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Mubi North\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Mubi South\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Numan\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Shelleng\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Song\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Toungo\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Yola North\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Yola South\",\n                    \"id\": 20\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Akwa Ibom State\",\n            \"id\": 3,\n            \"locals\": [\n                {\n                    \"name\": \"Eastern Obolo\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Eket\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Esit Eket\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Essien Udim\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Etim Ekpo\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Etinan\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ibeno\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ibesikpo Asutan\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ibiono-Ibom\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ika\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ikono\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Ikot Abasi\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ikot Ekpene\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ini\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Itu\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Mbo\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Mkpat-Enin\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Nsit-Atai\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Nsit-Ibom\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Nsit-Ubium\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Obot Akara\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Okobo\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Onna\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Oron\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Oruk Anam\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Udung-Uko\",\n                    \"id\": 26\n                },\n                {\n                    \"name\": \"Ukanafun\",\n                    \"id\": 27\n                },\n                {\n                    \"name\": \"Uruan\",\n                    \"id\": 28\n                },\n                {\n                    \"name\": \"Urue-Offong/Oruko\",\n                    \"id\": 29\n                },\n                {\n                    \"name\": \"Uyo\",\n                    \"id\": 30\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Anambra State\",\n            \"id\": 4,\n            \"locals\": [\n                {\n                    \"name\": \"Anambra East\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Anambra West\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Anaocha\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Awka North\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Awka South\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ayamelum\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Dunukofia\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ekwusigo\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Idemili North\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Idemili South\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ihiala\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Njikoka\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Nnewi North\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Nnewi South\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ogbaru\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Onitsha North\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Onitsha South\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Orumba North\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Orumba South\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Oyi\",\n                    \"id\": 20\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Bauchi State\",\n            \"id\": 5,\n            \"locals\": [\n                {\n                    \"name\": \"Bauchi\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bogoro\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Damban\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Darazo\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Dass\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gamawa\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ganjuwa\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Giade\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Itas/Gadau\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Jama'are\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Katagum\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Kirfi\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Misau\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ningi\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Shira\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Tafawa Balewa\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Toro\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Warji\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Zaki\",\n                    \"id\": 19\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Bayelsa State\",\n            \"id\": 6,\n            \"locals\": [\n                {\n                    \"name\": \"Ekeremor\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Kolokuma/Opokuma\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Nembe\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ogbia\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Sagbama\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Southern Ijaw\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Yenagoa\",\n                    \"id\": 7\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Benue State\",\n            \"id\": 7,\n            \"locals\": [\n                {\n                    \"name\": \"Apa\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ado\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Buruku\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Gboko\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Guma\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gwer East\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Gwer West\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Katsina-Ala\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Konshisha\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kwande\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Logo\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Makurdi\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Obi\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ogbadibo\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ohimini\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Oju\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Okpokwu\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Oturkpo\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Tarka\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Ukum\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Ushongo\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Vandeikya\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Agatu\",\n                    \"id\": 23\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Borno State\",\n            \"id\": 8,\n            \"locals\": [\n                {\n                    \"name\": \"Askira/Uba\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bama\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bayo\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Biu\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Chibok\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Damboa\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Dikwa\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Gubio\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Guzamala\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Gwoza\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Hawul\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Jere\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Kaga\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Kala/Balge\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Konduga\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Kukawa\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Kwaya Kusar\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Mafa\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Magumeri\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Maiduguri\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Marte\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Mobbar\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Monguno\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Ngala\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Nganzai\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Shani\",\n                    \"id\": 26\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Cross River State\",\n            \"id\": 9,\n            \"locals\": [\n                {\n                    \"name\": \"Akamkpa\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Akpabuyo\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bakassi\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bekwarra\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Biase\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Boki\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Calabar Municipal\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Calabar South\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Etung\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ikom\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Obanliku\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Obubra\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Obudu\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Odukpani\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ogoja\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Yakuur\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Yala\",\n                    \"id\": 17\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Delta State\",\n            \"id\": 10,\n            \"locals\": [\n                {\n                    \"name\": \"Aniocha South\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bomadi\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Burutu\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ethiope East\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ethiope West\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ika North East\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ika South\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Isoko North\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Isoko South\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ndokwa East\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ndokwa West\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Okpe\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Oshimili North\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Oshimili South\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Patani\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Sapele\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Udu\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Ughelli North\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Ughelli South\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Ukwuani\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Uvwie\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Warri North\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Warri South\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Warri South West\",\n                    \"id\": 24\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Ebonyi State\",\n            \"id\": 11,\n            \"locals\": [\n                {\n                    \"name\": \"Afikpo North\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Afikpo South\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Ebonyi\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ezza North\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ezza South\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ikwo\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ishielu\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ivo\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Izzi\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ohaozara\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ohaukwu\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Onicha\",\n                    \"id\": 12\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Edo State\",\n            \"id\": 12,\n            \"locals\": [\n                {\n                    \"name\": \"Egor\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Esan Central\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Esan North-East\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Esan South-East\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Esan West\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Etsako Central\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Etsako East\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Etsako West\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Igueben\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ikpoba Okha\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Orhionmwon\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Oredo\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ovia North-East\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ovia South-West\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Owan East\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Owan West\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Uhunmwonde\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Akoko-Edo\",\n                    \"id\": 17\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Ekiti State\",\n            \"id\": 13,\n            \"locals\": [\n                {\n                    \"name\": \"Efon\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ekiti East\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Ekiti South-West\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ekiti West\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Emure\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gbonyin\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ido Osi\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ijero\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ikere\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ikole\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ilejemeje\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Irepodun/Ifelodun\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ise/Orun\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Moba\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Oye\",\n                    \"id\": 15\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Enugu State\",\n            \"id\": 14,\n            \"locals\": [\n                {\n                    \"name\": \"Awgu\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Enugu East\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Enugu North\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Enugu South\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ezeagu\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Igbo Etiti\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Igbo Eze North\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Igbo Eze South\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Isi Uzo\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Nkanu East\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Nkanu West\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Nsukka\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Oji River\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Udenu\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Udi\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Uzo Uwani\",\n                    \"id\": 16\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"FCT\",\n            \"id\": 15,\n            \"locals\": [\n                {\n                    \"name\": \"Bwari\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Gwagwalada\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Kuje\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Kwali\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Municipal Area Council\",\n                    \"id\": 5\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Gombe State\",\n            \"id\": 16,\n            \"locals\": [\n                {\n                    \"name\": \"Balanga\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Billiri\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Dukku\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Funakaye\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Gombe\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Kaltungo\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Kwami\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Nafada\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Shongom\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Yamaltu/Deba\",\n                    \"id\": 10\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Imo State\",\n            \"id\": 17,\n            \"locals\": [\n                {\n                    \"name\": \"Ahiazu Mbaise\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ehime Mbano\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Ezinihitte\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ideato North\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ideato South\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ihitte/Uboma\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ikeduru\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Isiala Mbano\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Isu\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Mbaitoli\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ngor Okpala\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Njaba\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Nkwerre\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Nwangele\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Obowo\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Oguta\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Ohaji/Egbema\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Okigwe\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Orlu\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Orsu\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Oru East\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Oru West\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Owerri Municipal\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Owerri North\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Owerri West\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Unuimo\",\n                    \"id\": 26\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Jigawa State\",\n            \"id\": 18,\n            \"locals\": [\n                {\n                    \"name\": \"Babura\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Biriniwa\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Birnin Kudu\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Buji\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Dutse\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gagarawa\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Garki\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Gumel\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Guri\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Gwaram\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Gwiwa\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Hadejia\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Jahun\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Kafin Hausa\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Kazaure\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Kiri Kasama\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Kiyawa\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Kaugama\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Maigatari\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Malam Madori\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Miga\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Ringim\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Roni\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Sule Tankarkar\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Taura\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Yankwashi\",\n                    \"id\": 26\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Kaduna State\",\n            \"id\": 19,\n            \"locals\": [\n                {\n                    \"name\": \"Chikun\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Giwa\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Igabi\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ikara\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Jaba\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Jema'a\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Kachia\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Kaduna North\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Kaduna South\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kagarko\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Kajuru\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Kaura\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Kauru\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Kubau\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Kudan\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Lere\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Makarfi\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Sabon Gari\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Sanga\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Soba\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Zangon Kataf\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Zaria\",\n                    \"id\": 22\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Kano State\",\n            \"id\": 20,\n            \"locals\": [\n                {\n                    \"name\": \"Albasu\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bagwai\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bebeji\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bichi\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Bunkure\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Dala\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Dambatta\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Dawakin Kudu\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Dawakin Tofa\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Doguwa\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Fagge\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Gabasawa\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Garko\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Garun Mallam\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Gaya\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Gezawa\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Gwale\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Gwarzo\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Kabo\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Kano Municipal\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Karaye\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Kibiya\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Kiru\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Kumbotso\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Kunchi\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Kura\",\n                    \"id\": 26\n                },\n                {\n                    \"name\": \"Madobi\",\n                    \"id\": 27\n                },\n                {\n                    \"name\": \"Makoda\",\n                    \"id\": 28\n                },\n                {\n                    \"name\": \"Minjibir\",\n                    \"id\": 29\n                },\n                {\n                    \"name\": \"Nasarawa\",\n                    \"id\": 30\n                },\n                {\n                    \"name\": \"Rano\",\n                    \"id\": 31\n                },\n                {\n                    \"name\": \"Rimin Gado\",\n                    \"id\": 32\n                },\n                {\n                    \"name\": \"Rogo\",\n                    \"id\": 33\n                },\n                {\n                    \"name\": \"Shanono\",\n                    \"id\": 34\n                },\n                {\n                    \"name\": \"Sumaila\",\n                    \"id\": 35\n                },\n                {\n                    \"name\": \"Takai\",\n                    \"id\": 36\n                },\n                {\n                    \"name\": \"Tarauni\",\n                    \"id\": 37\n                },\n                {\n                    \"name\": \"Tofa\",\n                    \"id\": 38\n                },\n                {\n                    \"name\": \"Tsanyawa\",\n                    \"id\": 39\n                },\n                {\n                    \"name\": \"Tudun Wada\",\n                    \"id\": 40\n                },\n                {\n                    \"name\": \"Ungogo\",\n                    \"id\": 41\n                },\n                {\n                    \"name\": \"Warawa\",\n                    \"id\": 42\n                },\n                {\n                    \"name\": \"Wudil\",\n                    \"id\": 43\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Katsina State\",\n            \"id\": 21,\n            \"locals\": [\n                {\n                    \"name\": \"Batagarawa\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Batsari\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Baure\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bindawa\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Charanchi\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Dandume\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Danja\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Dan Musa\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Daura\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Dutsi\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Dutsin Ma\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Faskari\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Funtua\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ingawa\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Jibia\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Kafur\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Kaita\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Kankara\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Kankia\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Katsina\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Kurfi\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Kusada\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Mai'Adua\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Malumfashi\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Mani\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Mashi\",\n                    \"id\": 26\n                },\n                {\n                    \"name\": \"Matazu\",\n                    \"id\": 27\n                },\n                {\n                    \"name\": \"Musawa\",\n                    \"id\": 28\n                },\n                {\n                    \"name\": \"Rimi\",\n                    \"id\": 29\n                },\n                {\n                    \"name\": \"Sabuwa\",\n                    \"id\": 30\n                },\n                {\n                    \"name\": \"Safana\",\n                    \"id\": 31\n                },\n                {\n                    \"name\": \"Sandamu\",\n                    \"id\": 32\n                },\n                {\n                    \"name\": \"Zango\",\n                    \"id\": 33\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Kebbi State\",\n            \"id\": 22,\n            \"locals\": [\n                {\n                    \"name\": \"Arewa Dandi\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Argungu\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Augie\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bagudo\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Birnin Kebbi\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Bunza\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Dandi\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Fakai\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Gwandu\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Jega\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Kalgo\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Koko/Besse\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Maiyama\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ngaski\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Sakaba\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Shanga\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Suru\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Wasagu/Danko\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Yauri\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Zuru\",\n                    \"id\": 20\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Kogi State\",\n            \"id\": 23,\n            \"locals\": [\n                {\n                    \"name\": \"Ajaokuta\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ankpa\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bassa\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Dekina\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ibaji\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Idah\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Igalamela Odolu\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ijumu\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Kabba/Bunu\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kogi\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Lokoja\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Mopa Muro\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ofu\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ogori/Magongo\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Okehi\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Okene\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Olamaboro\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Omala\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Yagba East\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Yagba West\",\n                    \"id\": 20\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Kwara State\",\n            \"id\": 24,\n            \"locals\": [\n                {\n                    \"name\": \"Baruten\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Edu\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Ekiti\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Ifelodun\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ilorin East\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ilorin South\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ilorin West\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Irepodun\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Isin\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kaiama\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Moro\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Offa\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Oke Ero\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Oyun\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Pategi\",\n                    \"id\": 15\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Lagos State\",\n            \"id\": 25,\n            \"locals\": [\n                {\n                    \"name\": \"Ajeromi-Ifelodun\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Alimosho\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Amuwo-Odofin\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Apapa\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Badagry\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Epe\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Eti Osa\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ibeju-Lekki\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ifako-Ijaiye\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ikeja\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ikorodu\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Kosofe\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Lagos Island\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Lagos Mainland\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Mushin\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Ojo\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Oshodi-Isolo\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Shomolu\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Surulere\",\n                    \"id\": 19\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Nasarawa State\",\n            \"id\": 26,\n            \"locals\": [\n                {\n                    \"name\": \"Awe\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Doma\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Karu\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Keana\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Keffi\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Kokona\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Lafia\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Nasarawa\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Nasarawa Egon\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Obi\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Toto\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Wamba\",\n                    \"id\": 12\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Niger State\",\n            \"id\": 27,\n            \"locals\": [\n                {\n                    \"name\": \"Agwara\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bida\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Borgu\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bosso\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Chanchaga\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Edati\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Gbako\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Gurara\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Katcha\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kontagora\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Lapai\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Lavun\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Magama\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Mariga\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Mashegu\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Mokwa\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Moya\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Paikoro\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Rafi\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Rijau\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Shiroro\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Suleja\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Tafa\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Wushishi\",\n                    \"id\": 24\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Ogun State\",\n            \"id\": 28,\n            \"locals\": [\n                {\n                    \"name\": \"Abeokuta South\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ado-Odo/Ota\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Egbado North\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Egbado South\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ewekoro\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ifo\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ijebu East\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ijebu North\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ijebu North East\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ijebu Ode\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ikenne\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Imeko Afon\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ipokia\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Obafemi Owode\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Odeda\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Odogbolu\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Ogun Waterside\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Remo North\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Shagamu\",\n                    \"id\": 19\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Ondo State\",\n            \"id\": 29,\n            \"locals\": [\n                {\n                    \"name\": \"Akoko North-West\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Akoko South-West\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Akoko South-East\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Akure North\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Akure South\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ese Odo\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Idanre\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ifedore\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ilaje\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ile Oluji/Okeigbo\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Irele\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Odigbo\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Okitipupa\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ondo East\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ondo West\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Ose\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Owo\",\n                    \"id\": 17\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Osun State\",\n            \"id\": 30,\n            \"locals\": [\n                {\n                    \"name\": \"Atakunmosa West\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Aiyedaade\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Aiyedire\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Boluwaduro\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Boripe\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ede North\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ede South\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ife Central\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ife East\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ife North\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ife South\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Egbedore\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ejigbo\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Ifedayo\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ifelodun\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Ila\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Ilesa East\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Ilesa West\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Irepodun\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Irewole\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Isokan\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Iwo\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Obokun\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Odo Otin\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Ola Oluwa\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Olorunda\",\n                    \"id\": 26\n                },\n                {\n                    \"name\": \"Oriade\",\n                    \"id\": 27\n                },\n                {\n                    \"name\": \"Orolu\",\n                    \"id\": 28\n                },\n                {\n                    \"name\": \"Osogbo\",\n                    \"id\": 29\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Oyo State\",\n            \"id\": 31,\n            \"locals\": [\n                {\n                    \"name\": \"Akinyele\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Atiba\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Atisbo\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Egbeda\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ibadan North\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Ibadan North-East\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Ibadan North-West\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Ibadan South-East\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Ibadan South-West\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Ibarapa Central\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Ibarapa East\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Ibarapa North\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Ido\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Irepo\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Iseyin\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Itesiwaju\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Iwajowa\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Kajola\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Lagelu\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Ogbomosho North\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Ogbomosho South\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Ogo Oluwa\",\n                    \"id\": 22\n                },\n                {\n                    \"name\": \"Olorunsogo\",\n                    \"id\": 23\n                },\n                {\n                    \"name\": \"Oluyole\",\n                    \"id\": 24\n                },\n                {\n                    \"name\": \"Ona Ara\",\n                    \"id\": 25\n                },\n                {\n                    \"name\": \"Orelope\",\n                    \"id\": 26\n                },\n                {\n                    \"name\": \"Ori Ire\",\n                    \"id\": 27\n                },\n                {\n                    \"name\": \"Oyo\",\n                    \"id\": 28\n                },\n                {\n                    \"name\": \"Oyo East\",\n                    \"id\": 29\n                },\n                {\n                    \"name\": \"Saki East\",\n                    \"id\": 30\n                },\n                {\n                    \"name\": \"Saki West\",\n                    \"id\": 31\n                },\n                {\n                    \"name\": \"Surulere\",\n                    \"id\": 32\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Plateau State\",\n            \"id\": 32,\n            \"locals\": [\n                {\n                    \"name\": \"Barkin Ladi\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Bassa\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Jos East\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Jos North\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Jos South\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Kanam\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Kanke\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Langtang South\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Langtang North\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Mangu\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Mikang\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Pankshin\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Qua'an Pan\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Riyom\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Shendam\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Wase\",\n                    \"id\": 16\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Rivers State\",\n            \"id\": 33,\n            \"locals\": [\n                {\n                    \"name\": \"Ahoada East\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Ahoada West\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Akuku-Toru\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Andoni\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Asari-Toru\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Bonny\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Degema\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Eleme\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Emuoha\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Etche\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Gokana\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Ikwerre\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Khana\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Obio/Akpor\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Ogba/Egbema/Ndoni\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Ogu/Bolo\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Okrika\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Omuma\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Opobo/Nkoro\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Oyigbo\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Port Harcourt\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Tai\",\n                    \"id\": 22\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Sokoto State\",\n            \"id\": 34,\n            \"locals\": [\n                {\n                    \"name\": \"Bodinga\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Dange Shuni\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Gada\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Goronyo\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Gudu\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gwadabawa\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Illela\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Isa\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Kebbe\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Kware\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Rabah\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Sabon Birni\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Shagari\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Silame\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Sokoto North\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Sokoto South\",\n                    \"id\": 16\n                },\n                {\n                    \"name\": \"Tambuwal\",\n                    \"id\": 17\n                },\n                {\n                    \"name\": \"Tangaza\",\n                    \"id\": 18\n                },\n                {\n                    \"name\": \"Tureta\",\n                    \"id\": 19\n                },\n                {\n                    \"name\": \"Wamako\",\n                    \"id\": 20\n                },\n                {\n                    \"name\": \"Wurno\",\n                    \"id\": 21\n                },\n                {\n                    \"name\": \"Yabo\",\n                    \"id\": 22\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Taraba State\",\n            \"id\": 35,\n            \"locals\": [\n                {\n                    \"name\": \"Bali\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Donga\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Gashaka\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Gassol\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Ibi\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Jalingo\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Karim Lamido\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Kumi\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Lau\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Sardauna\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Takum\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Ussa\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Wukari\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Yorro\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Zing\",\n                    \"id\": 15\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Yobe State\",\n            \"id\": 36,\n            \"locals\": [\n                {\n                    \"name\": \"Bursari\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Damaturu\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Fika\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Fune\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Geidam\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gujba\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Gulani\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Jakusko\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Karasuwa\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Machina\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Nangere\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Nguru\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Potiskum\",\n                    \"id\": 13\n                },\n                {\n                    \"name\": \"Tarmuwa\",\n                    \"id\": 14\n                },\n                {\n                    \"name\": \"Yunusari\",\n                    \"id\": 15\n                },\n                {\n                    \"name\": \"Yusufari\",\n                    \"id\": 16\n                }\n            ]\n        }\n    },\n    {\n        \"state\": {\n            \"name\": \"Zamfara State\",\n            \"id\": 37,\n            \"locals\": [\n                {\n                    \"name\": \"Bakura\",\n                    \"id\": 1\n                },\n                {\n                    \"name\": \"Birnin Magaji/Kiyaw\",\n                    \"id\": 2\n                },\n                {\n                    \"name\": \"Bukkuyum\",\n                    \"id\": 3\n                },\n                {\n                    \"name\": \"Bungudu\",\n                    \"id\": 4\n                },\n                {\n                    \"name\": \"Gummi\",\n                    \"id\": 5\n                },\n                {\n                    \"name\": \"Gusau\",\n                    \"id\": 6\n                },\n                {\n                    \"name\": \"Kaura Namoda\",\n                    \"id\": 7\n                },\n                {\n                    \"name\": \"Maradun\",\n                    \"id\": 8\n                },\n                {\n                    \"name\": \"Maru\",\n                    \"id\": 9\n                },\n                {\n                    \"name\": \"Shinkafi\",\n                    \"id\": 10\n                },\n                {\n                    \"name\": \"Talata Mafara\",\n                    \"id\": 11\n                },\n                {\n                    \"name\": \"Chafe\",\n                    \"id\": 12\n                },\n                {\n                    \"name\": \"Zurmi\",\n                    \"id\": 13\n                }\n            ]\n        }\n    }\n]"}],"_postman_id":"e00d8cb9-18c7-425d-aad5-ec19c0ab066e"},{"name":"Fetch wallet transactions","id":"3855e2d7-8db2-4c2b-a24f-85eb2e5d4b9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/member/transactions/wallet?limit[page]=1&limit[take]=10","description":"<p>Fetches whole list of member's wallet transactions with assigned categories.</p>\n<p><strong>EP uses pagination</strong></p>\n<p>Returns following transaction types:</p>\n<ul>\n<li>physical_card_transfer</li>\n<li>virtual_card_transfer</li>\n<li>owner_transfer</li>\n</ul>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n</ul>\n","urlObject":{"path":["member","transactions","wallet"],"host":["{{API_URL}}"],"query":[{"description":{"content":"<p>which page should be fetched (default to 1)</p>\n","type":"text/plain"},"key":"limit[page]","value":"1"},{"description":{"content":"<p>how many records should be displayed per page (default to 10)</p>\n","type":"text/plain"},"key":"limit[take]","value":"10"}],"variable":[]}},"response":[{"id":"eed9c0f9-5e51-4f06-9c8f-bc3bec17b38c","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_URL}}/member/transactions/wallet?limit[page]=1&limit[take]=10","host":["{{API_URL}}"],"path":["member","transactions","wallet"],"query":[{"key":"limit[page]","value":"1","description":"which page should be fetched (default to 1)"},{"key":"limit[take]","value":"10","description":"how many records should be displayed per page (default to 10)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"408"},{"key":"ETag","value":"W/\"198-z0L0eHjj9RP5bOFTov7tMnzoewo\""},{"key":"Date","value":"Thu, 14 Jan 2021 14:17:54 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"wallet_id\": \"a555f20a-104d-4100-820e-bb6d55afef22\",\n            \"created_at\": \"2021-01-14T10:26:21.922Z\",\n            \"type\": \"virtual_card_transfer\",\n            \"currency\": \"NGN\",\n            \"is_incoming\": false,\n            \"description\": \"Charging virtual card\",\n            \"amount\": 200,\n            \"categories\": [\n                {\n                    \"percentage\": 10,\n                    \"category\": \"baz\"\n                },\n                {\n                    \"percentage\": 60,\n                    \"category\": \"bar\"\n                },\n                {\n                    \"percentage\": 30,\n                    \"category\": \"foo\"\n                }\n            ]\n        }\n    ],\n    \"meta\": {\n        \"page\": \"1\",\n        \"take\": \"10\",\n        \"recordsTotal\": \"1\",\n        \"pagesTotal\": 1\n    }\n}"}],"_postman_id":"3855e2d7-8db2-4c2b-a24f-85eb2e5d4b9e"}],"id":"2f944526-6785-4649-99c1-ceabe03acedd","description":"<p>Section dedicated for customer with a role - <code>family_member</code></p>\n","event":[{"listen":"prerequest","script":{"id":"40037cb8-c7b9-4988-b363-c38a9e03b53e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"980fbdb4-cfa3-4b81-92c6-8708cff47919","type":"text/javascript","exec":[""]}}],"_postman_id":"2f944526-6785-4649-99c1-ceabe03acedd"},{"name":"Misc","item":[{"name":"Health check","id":"82ab1d65-ce0b-40bd-9cdf-24ffb639f1a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_URL}}/healthcheck","description":"<p>Returns the status of all current connections</p>\n<p><strong>endpoint is attached to the main url (without the versioning e.g. <code>http://127.0.0.1:8080/healthcheck</code>)</strong></p>\n","urlObject":{"path":["healthcheck"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"1898262e-b6d0-43bb-8683-448ec7681da7","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8080/healthcheck"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"115"},{"key":"ETag","value":"W/\"73-aYSjNB0f58lgASWUhMDHQjs9ZsY\""},{"key":"Date","value":"Sat, 19 Dec 2020 12:00:29 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"postgres\": true,\n    \"railsbank\": true,\n    \"shuftiPro\": true,\n    \"walletsAfrica\": true,\n    \"cambridgePayments\": false,\n    \"_allgood\": false\n}"}],"_postman_id":"82ab1d65-ce0b-40bd-9cdf-24ffb639f1a4"},{"name":"Status","id":"5da63472-ac1a-48f4-b11f-4c559a474c9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_URL}}","description":"<p>Returns <code>200</code> if API is \"healthy\" (running).</p>\n<p><strong>endpoint is attached to the main url (without the versioning e.g. <code>http://127.0.0.1:8080</code>)</strong></p>\n","urlObject":{"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"f4a6c251-95ec-4af1-80ef-43b6ee34b441","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8080"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"13"},{"key":"ETag","value":"W/\"d-5PmqOUOLyDrp2YvSxI+Jo0DoZSM\""},{"key":"Date","value":"Sat, 19 Dec 2020 12:03:03 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": \"OK\"\n}"}],"_postman_id":"5da63472-ac1a-48f4-b11f-4c559a474c9a"}],"id":"0b344f68-9f68-4bc3-bfcc-ea63b4d3ae3b","description":"<p>Section is holding endpoints that return the status of the API</p>\n","_postman_id":"0b344f68-9f68-4bc3-bfcc-ea63b4d3ae3b"},{"name":"Notifications (debug) ","item":[{"name":"FCM test","id":"1d5ba195-4105-4d0b-ae6a-9e8340ee8964","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{API_URL}}/customers/fcm-test","description":"<p>Sends test FCM notification</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Title: 'Message from API'\nMessage: 'Hey there!'\n</code></pre><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n</ul>\n","urlObject":{"path":["customers","fcm-test"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"f4a44dff-84c4-49e4-9003-a9288c3084e2","name":"200 - OK","originalRequest":{"method":"POST","header":[],"url":"{{API_URL}}/customers/fcm-test"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Date","value":"Sat, 19 Dec 2020 17:31:27 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"1d5ba195-4105-4d0b-ae6a-9e8340ee8964"},{"name":"FCM running low","id":"1160b267-2f6a-4f62-bbdf-d583c8d0632c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"customerId\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n    \"memberId\": \"fb8f1f03-1180-4b65-ac63-2be9715c0a56\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/fcm-running-low","description":"<p>Sends FCM notification to wallet owner that his family member is 'running low'</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>customerId</strong></td>\n<td>id of existing customer</td>\n</tr>\n<tr>\n<td><strong>memberId</strong></td>\n<td>id of existing customer</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n</ul>\n","urlObject":{"path":["customers","fcm-running-low"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"d7ea606f-3080-46ab-b1d9-506dd57fe978","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"customerId\": \"c6eb8f55-ed97-4c1a-addf-8403d78a4853\",\n    \"memberId\": \"fb8f1f03-1180-4b65-ac63-2be9715c0a56\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/customers/fcm-running-low"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Date","value":"Sat, 19 Dec 2020 19:54:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"1160b267-2f6a-4f62-bbdf-d583c8d0632c"},{"name":"Running low","id":"9546416f-7634-4ce9-8bdc-576dcf907c8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{API_URL}}/notifications-debug/running-low/:id","description":"<p>Sends FCM notification to wallet owner that his family member is 'running low'</p>\n<p>The notification is also saved to local db.</p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n</ul>\n","urlObject":{"path":["notifications-debug","running-low",":id"],"host":["{{API_URL}}"],"query":[],"variable":[{"id":"207d8bc7-2544-40b7-9cfd-6e01708a0ba3","description":{"content":"<p>id of an existing family member</p>\n","type":"text/plain"},"type":"string","value":"fb8f1f03-1180-4b65-ac63-2be9715c0a56","key":"id"}]}},"response":[],"_postman_id":"9546416f-7634-4ce9-8bdc-576dcf907c8e"},{"name":"Need support","id":"0013c70b-665b-45f6-b214-a402308b0640","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"categories\": {\n        \"foo\": 20,\n        \"bar\": 80\n    },\n    \"amount\": 1234\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/notifications-debug/need-support/:id","description":"<p>Sends FCM notification to wallet owner that his family member needs some support</p>\n<p>The notification is also saved to local db.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>categories</strong></td>\n<td>object type</td>\n</tr>\n<tr>\n<td><strong>amount</strong></td>\n<td>decimal number</td>\n</tr>\n</tbody>\n</table>\n</div><p>categories object is presented as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"foo\": 20, \n    \"bar\": 80\n}\n</code></pre><p>Name of the key is the name of a <strong>category</strong> while the value is the <strong>percentage</strong> ([amount of money from category]/[general amount needed] * 100)</p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n</ul>\n","urlObject":{"path":["notifications-debug","need-support",":id"],"host":["{{API_URL}}"],"query":[],"variable":[{"id":"6e4c53db-906b-48f0-8de3-868c38cf2380","description":{"content":"<p>id of an existing family member</p>\n","type":"text/plain"},"type":"string","value":"fb8f1f03-1180-4b65-ac63-2be9715c0a56","key":"id"}]}},"response":[{"id":"c8ea0349-6f1c-46bb-9a33-961f6ace7f11","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"categories\": {\n        \"foo\": 20,\n        \"bar\": 80\n    },\n    \"amount\": 1234\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_URL}}/notifications-debug/need-support/:id","host":["{{API_URL}}"],"path":["notifications-debug","need-support",":id"],"variable":[{"description":"id of an existing family member","key":"id","type":"string","value":"fb8f1f03-1180-4b65-ac63-2be9715c0a56"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Date","value":"Sat, 19 Dec 2020 20:07:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"0013c70b-665b-45f6-b214-a402308b0640"}],"id":"be4c990a-1fbb-4887-9752-70821372b743","description":"<h2 id=\"push-notifications-are-handled-by-fcm\">Push notifications are handled by FCM</h2>\n<h3 id=\"what-is-fcm\">What is FCM?</h3>\n<p>Firebase Cloud Messaging (FCM) is a cross-platform messaging solution that lets you reliably send messages at no cost.</p>\n<p>Using FCM, you can notify a client app that new email or other data is available to sync. You can send notification messages to drive user re-engagement and retention. For use cases such as instant messaging, a message can transfer a payload of up to 4KB to a client app.</p>\n","event":[{"listen":"prerequest","script":{"id":"fbc4f396-0e10-4d5d-91e5-fa304307dd25","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f557fdf2-da81-4e34-9173-1eb6d71fd23a","type":"text/javascript","exec":[""]}}],"_postman_id":"be4c990a-1fbb-4887-9752-70821372b743"},{"name":"Owner","item":[{"name":"Init transfer","event":[{"listen":"test","script":{"id":"398b0a12-22c2-4849-b0e0-6d013b286fbd","exec":["const jsonData = JSON.parse(responseBody);","","if (jsonData) {","    postman.setEnvironmentVariable(\"CP_QUOTE_ID\", jsonData.quote_id);","}"],"type":"text/javascript"}}],"id":"a0c7063b-cf36-4123-b8fb-8b9fa592f8d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"memberId\": \"fc48f9fe-0ef4-442d-b7da-8c6c9f21bf4b\",\n    \"amount\": 30.99,\n    \"categories\": [\n        {\n            \"category\": \"foo\",\n            \"percentage\": 30\n        },\n        {\n            \"category\": \"bar\",\n            \"percentage\": 60\n        },\n        {\n            \"category\": \"baz\",\n            \"percentage\": 10\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/owner/init-transfer","description":"<p>Initiates the transfr to family member by checking and saving the spot rate.</p>\n<p>There are 10 seconds to confirm the spot rate and send the actual transfer with <code>Book transfer</code></p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>memberId</strong>  (required*)</td>\n<td>id of an existing member</td>\n</tr>\n<tr>\n<td><strong>amount</strong>  (required*)</td>\n<td>is a decimal number (with precision - 2)</td>\n</tr>\n<tr>\n<td><strong>categories</strong>  (required*)</td>\n<td>array of objects</td>\n</tr>\n</tbody>\n</table>\n</div><p>a category can be defined as follows: </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"category\": \"foo\", // name of a category\n    \"percentage\": 30 // how much of the main amount belongs to this category\n}\n</code></pre><p><strong>the percentages from the array have to sum up to 100</strong></p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n<li><code>404</code> Not Found</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["owner","init-transfer"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"baa6876e-d860-4167-b358-f424f54c305d","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"memberId\": \"fb8f1f03-1180-4b65-ac63-2be9715c0a56\",\n    \"amount\": 30.99,\n    \"categories\": [\n        {\n            \"category\": \"foo\",\n            \"percentage\": 30\n        },\n        {\n            \"category\": \"bar\",\n            \"percentage\": 60\n        },\n        {\n            \"category\": \"baz\",\n            \"percentage\": 10\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/owner/init-transfer"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"124"},{"key":"ETag","value":"W/\"7c-7NbvXf4dtBfm1/6VUI6YKYtudCQ\""},{"key":"Date","value":"Sat, 19 Dec 2020 17:01:10 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"transfer.insufficient-funds\",\n        \"message\": \"Insufficient funds\",\n        \"statusCode\": 422\n    }\n}"}],"_postman_id":"a0c7063b-cf36-4123-b8fb-8b9fa592f8d8"},{"name":"Book transfer","id":"358af844-9c05-4195-9f66-94c06cd890e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{API_URL}}/owner/:id/book-transfer","description":"<p>Books the transfer to owner's family member in Nigeria.</p>\n<p><strong>We have to have the spot rate id from <code>Init transfer</code></strong></p>\n<p>What actualy happens is:</p>\n<ul>\n<li>money from owners wallet are transfered to main MyTalu UK ledger</li>\n<li>family member receives money from MyTalu main Nigerian wallet</li>\n<li>at the end of the day funds are transfered from UK main ledger to NG main wallet.</li>\n</ul>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>memberId</strong>  (required*)</td>\n<td>id of an existing member</td>\n</tr>\n<tr>\n<td><strong>amount</strong>  (required*)</td>\n<td>is a decimal number (with precision - 2)</td>\n</tr>\n<tr>\n<td><strong>categories</strong>  (required*)</td>\n<td>array of objects</td>\n</tr>\n</tbody>\n</table>\n</div><p>a category can be defined as follows: </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"category\": \"foo\", // name of a category\n    \"percentage\": 30 // how much of the main amount belongs to this category\n}\n</code></pre><p><strong>the percentages from the array have to sum up to 100</strong></p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n<li><code>404</code> Not Found</li>\n<li><code>410</code> Gone</li>\n</ul>\n","urlObject":{"path":["owner",":id","book-transfer"],"host":["{{API_URL}}"],"query":[],"variable":[{"description":{"content":"<p>id of a previously confirmed spot rate (required *)</p>\n","type":"text/plain"},"type":"string","value":"{{CP_QUOTE_ID}}","key":"id"}]}},"response":[],"_postman_id":"358af844-9c05-4195-9f66-94c06cd890e4"},{"name":"Fetch family members","id":"f68dbdec-6335-478d-8e1f-2b58dea719d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/owner/members","description":"<p>Returns basic data of all family members assigned to currently logged in customer.</p>\n<h1 id=\"returns\">Returns:</h1>\n<ul>\n<li><code>200</code></li>\n<li><code>401</code></li>\n</ul>\n","urlObject":{"path":["owner","members"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"b853b38d-3cf1-4bd1-b1f3-f7b82e02ac4a","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"{{API_URL}}/owner/members"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"135"},{"key":"ETag","value":"W/\"87-ouAuKjKBe7I7QycagpDZMldBb/c\""},{"key":"Date","value":"Wed, 13 Jan 2021 15:49:39 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"e32e0ca8-cc8c-4ea0-bb53-b085f3e9cca7\",\n        \"email\": \"daria+member1@desmart.com\",\n        \"is_active\": true,\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"phone_number\": \"+1232112312\",\n        \"nickname\": \"JoJo\",\n        \"profile_photo_url\": null,\n        \"role\": \"family_member\"\n    },\n    {\n        \"id\": \"e32e0ca8-cc8c-4ea0-bb53-b085f3e9cca6\",\n        \"email\": \"daria+member2@desmart.com\",\n        \"is_active\": true,\n        \"first_name\": \"Joe\",\n        \"last_name\": \"Dohn\",\n        \"phone_number\": \"+1232112312\",\n        \"nickname\": \"Test\",\n        \"profile_photo_url\": null,\n        \"role\": \"family_member\"\n    }\n]"}],"_postman_id":"f68dbdec-6335-478d-8e1f-2b58dea719d1"},{"name":"Fetch family member's details","id":"1fcea873-cc55-4085-8ae0-47fff8414687","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/owner/members/:id","description":"<p>Returns basic data of all family members assigned to currently logged in customer.</p>\n<h1 id=\"returns\">Returns:</h1>\n<ul>\n<li><code>200</code></li>\n<li><code>401</code></li>\n</ul>\n","urlObject":{"path":["owner","members",":id"],"host":["{{API_URL}}"],"query":[],"variable":[{"type":"any","value":"fc48f9fe-0ef4-442d-b7da-8c6c9f21bf4b","key":"id"}]}},"response":[{"id":"49509e32-47f8-47c3-8548-4aed477ce33d","name":"200 -OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_URL}}/owner/members/:id","host":["{{API_URL}}"],"path":["owner","members",":id"],"variable":[{"key":"id","value":"fc48f9fe-0ef4-442d-b7da-8c6c9f21bf4b"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"4441"},{"key":"ETag","value":"W/\"1159-prfXIMfGEGDhHtlphJo90Xpe70o\""},{"key":"Date","value":"Sun, 28 Nov 2021 12:50:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"fc48f9fe-0ef4-442d-b7da-8c6c9f21bf4b\",\n    \"email\": \"daria+member3@desmart.com\",\n    \"is_active\": true,\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"phone_number\": null,\n    \"nickname\": null,\n    \"profile_photo_url\": null,\n    \"role\": \"family_member\",\n    \"transactions\": [\n        {\n            \"id\": \"61a37b007eba646e3af7e5bb\",\n            \"accountNumber\": 1014,\n            \"operation\": \"deposit\",\n            \"amount\": 16429.39,\n            \"reference\": \"subwallet deposit:807db3dd-a22b-4bfa-9292-5729d8e5adcd\",\n            \"createdAt\": \"2021-11-28T12:50:08.978Z\"\n        },\n        {\n            \"id\": \"619e28b17eba646e3af7e545\",\n            \"accountNumber\": 1014,\n            \"operation\": \"fee\",\n            \"amount\": -182,\n            \"reference\": \"fee_from_transaction:619e28b07eba646e3af7e541\",\n            \"createdAt\": \"2021-11-24T11:57:37.156Z\"\n        },\n        {\n            \"id\": \"619e28b07eba646e3af7e541\",\n            \"accountNumber\": 1014,\n            \"destinationAccountNumber\": 1001,\n            \"operation\": \"transfer\",\n            \"amount\": -8900,\n            \"reference\": \"transfer_to_account:1001\",\n            \"createdAt\": \"2021-11-24T11:57:36.906Z\"\n        },\n        {\n            \"id\": \"619e28047eba646e3af7e538\",\n            \"accountNumber\": 1014,\n            \"operation\": \"deposit\",\n            \"amount\": 3300,\n            \"reference\": \"subwallet deposit:0bcff2b4-d3de-4e16-8d36-82c47e5653dc\",\n            \"createdAt\": \"2021-11-24T11:54:44.880Z\"\n        },\n        {\n            \"id\": \"619e27ae7eba646e3af7e52d\",\n            \"accountNumber\": 1014,\n            \"operation\": \"deposit\",\n            \"amount\": 3300,\n            \"reference\": \"subwallet deposit:df856b0d-bd56-4a20-8d0b-b082bf47ef33\",\n            \"createdAt\": \"2021-11-24T11:53:18.482Z\"\n        },\n        {\n            \"id\": \"619e27a07eba646e3af7e525\",\n            \"accountNumber\": 1014,\n            \"operation\": \"deposit\",\n            \"amount\": 5000,\n            \"reference\": \"subwallet deposit:079aa16b-98ac-4c98-84a2-c986a53a8b20\",\n            \"createdAt\": \"2021-11-24T11:53:04.044Z\"\n        },\n        {\n            \"id\": \"619cb7d67eba646e3af7e506\",\n            \"accountNumber\": 1014,\n            \"operation\": \"deposit\",\n            \"amount\": 3300,\n            \"reference\": \"subwallet deposit:19468030-0081-4dfb-ba38-6b8c3af93d60\",\n            \"createdAt\": \"2021-11-23T09:43:50.035Z\"\n        },\n        {\n            \"id\": \"619cb5887eba646e3af7e4fb\",\n            \"accountNumber\": 1014,\n            \"operation\": \"deposit\",\n            \"amount\": 3300,\n            \"reference\": \"subwallet deposit:15842884-c04a-40ec-bc10-c834a8067e3b\",\n            \"createdAt\": \"2021-11-23T09:34:00.436Z\"\n        },\n        {\n            \"id\": \"619cb57f7eba646e3af7e4f3\",\n            \"accountNumber\": 1014,\n            \"operation\": \"deposit\",\n            \"amount\": 3300,\n            \"reference\": \"subwallet deposit:2b736499-25c9-4a08-b85d-209de63924bd\",\n            \"createdAt\": \"2021-11-23T09:33:51.123Z\"\n        },\n        {\n            \"id\": \"619cb57c7eba646e3af7e4eb\",\n            \"accountNumber\": 1014,\n            \"operation\": \"deposit\",\n            \"amount\": 3300,\n            \"reference\": \"subwallet deposit:330da43f-2259-408b-a88b-3d3ff1ebbe1a\",\n            \"createdAt\": \"2021-11-23T09:33:48.677Z\"\n        },\n        {\n            \"id\": \"619cb57a7eba646e3af7e4e3\",\n            \"accountNumber\": 1014,\n            \"operation\": \"deposit\",\n            \"amount\": 3300,\n            \"reference\": \"subwallet deposit:4a2abd70-e435-448b-9c61-d6a6959b2a57\",\n            \"createdAt\": \"2021-11-23T09:33:46.846Z\"\n        },\n        {\n            \"id\": \"619cb5677eba646e3af7e4db\",\n            \"accountNumber\": 1014,\n            \"operation\": \"deposit\",\n            \"amount\": 3300,\n            \"reference\": \"subwallet deposit:7b3a2e76-c410-4b30-8bf2-a486cf87dda7\",\n            \"createdAt\": \"2021-11-23T09:33:27.788Z\"\n        },\n        {\n            \"id\": \"619cb5507eba646e3af7e4d3\",\n            \"accountNumber\": 1014,\n            \"operation\": \"deposit\",\n            \"amount\": 3000,\n            \"reference\": \"subwallet deposit:8c41b591-6745-4856-af8b-499e1a2020a1\",\n            \"createdAt\": \"2021-11-23T09:33:04.880Z\"\n        },\n        {\n            \"id\": \"619cb53d7eba646e3af7e4cb\",\n            \"accountNumber\": 1014,\n            \"operation\": \"deposit\",\n            \"amount\": 3000,\n            \"reference\": \"subwallet deposit:4e5730e5-c223-4271-99f6-76b07e62b7ed\",\n            \"createdAt\": \"2021-11-23T09:32:45.819Z\"\n        },\n        {\n            \"id\": \"619ca7757eba646e3af7e4b1\",\n            \"accountNumber\": 1014,\n            \"operation\": \"deposit\",\n            \"amount\": 3000,\n            \"reference\": \"subwallet deposit:5de42ced-d6c1-4149-9cd2-4acc2ea4d7c1\",\n            \"createdAt\": \"2021-11-23T08:33:57.315Z\"\n        },\n        {\n            \"id\": \"619bc8637958513b0e097b13\",\n            \"accountNumber\": 1014,\n            \"operation\": \"deposit\",\n            \"amount\": 3000,\n            \"reference\": \"subwallet deposit:c3c3388b-d021-499f-b95a-d79f562dc877\",\n            \"createdAt\": \"2021-11-22T16:42:11.271Z\"\n        },\n        {\n            \"id\": \"619503cddd07945f777b5ce2\",\n            \"accountNumber\": 1009,\n            \"operation\": \"fee\",\n            \"amount\": -14,\n            \"reference\": \"fee_from_transaction:619503ccdd07945f777b5cde\",\n            \"createdAt\": \"2021-11-17T13:29:49.195Z\",\n            \"category\": \"transfer\",\n            \"desc\": \"desc\"\n        },\n        {\n            \"id\": \"619503ccdd07945f777b5cde\",\n            \"accountNumber\": 1009,\n            \"destinationAccountNumber\": 1008,\n            \"operation\": \"transfer\",\n            \"amount\": -200,\n            \"reference\": \"transfer_to_account:1008\",\n            \"createdAt\": \"2021-11-17T13:29:48.424Z\"\n        },\n        {\n            \"id\": \"6195006aabdb555b604e8fe3\",\n            \"accountNumber\": 1009,\n            \"operation\": \"fee\",\n            \"amount\": -14,\n            \"reference\": \"fee_from_transaction:61950069abdb555b604e8fdf\",\n            \"createdAt\": \"2021-11-17T13:15:22.453Z\",\n            \"category\": \"transfer\"\n        },\n        {\n            \"id\": \"61950069abdb555b604e8fdf\",\n            \"accountNumber\": 1009,\n            \"destinationAccountNumber\": 1008,\n            \"operation\": \"transfer\",\n            \"amount\": -200,\n            \"reference\": \"transfer_to_account:1008\",\n            \"createdAt\": \"2021-11-17T13:15:21.612Z\"\n        }\n    ],\n    \"walletDetails\": {\n        \"id\": \"619604e1d265dcc769fa3ad1\",\n        \"accountNumber\": 1014,\n        \"name\": \"mytalu tech\",\n        \"email\": \"test@mytalu.io\",\n        \"role\": \"customer\",\n        \"balance\": 50747.39,\n        \"createdAt\": \"2021-11-18T07:46:41.295Z\"\n    }\n}"}],"_postman_id":"1fcea873-cc55-4085-8ae0-47fff8414687"},{"name":"Fetch transactions","id":"901155fe-706d-461d-9888-96ec19e77e55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/owner/transactions?limit[page]=1&limit[take]=10","description":"<p>Returns basic data of made transactions to family_members. The status of a transaction can be:<br />- \"booked\" - deal made but not yet transfered from main ledger to other side (family_member received money from pre-paid model)<br />- \"finished\" - the money were transfered fully<br />- \"declined\" - when a transaction did not succeed due to internal regulations (amount transfered is higher than 4k GBP)</p>\n<h1 id=\"returns\">Returns:</h1>\n<ul>\n<li><code>200</code></li>\n<li><code>401</code></li>\n</ul>\n","urlObject":{"path":["owner","transactions"],"host":["{{API_URL}}"],"query":[{"key":"limit[page]","value":"1"},{"key":"limit[take]","value":"10"}],"variable":[]}},"response":[{"id":"e54f64ca-729c-4ebf-9a21-36ae14f2af6b","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_URL}}/owner/transactions?limit[page]=1&limit[take]=1","host":["{{API_URL}}"],"path":["owner","transactions"],"query":[{"key":"limit[page]","value":"1"},{"key":"limit[take]","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1020"},{"key":"ETag","value":"W/\"3fc-ZprH4vmSdktWQiHXcE8Sn+U8qNA\""},{"key":"Date","value":"Wed, 24 Nov 2021 19:12:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"customer\": {\n        \"id\": \"cc6435e6-115b-4e1e-9a9a-f858dfd46ce2\",\n        \"email\": \"daria+150@desmart.com\",\n        \"first_name\": \"Dohn\",\n        \"last_name\": \"Joe\",\n        \"phone_number\": \"123\",\n        \"nickname\": \"foobar\",\n        \"profile_photo_url\": null,\n        \"role\": \"wallet_owner\"\n    },\n    \"transactions\": [\n        {\n            \"id\": \"67c30767-4c1f-4582-84be-7625a4f3d76d\",\n            \"created_at\": \"2021-11-24T19:26:07.833Z\",\n            \"definition\": {\n                \"rate\": {\n                    \"value\": 532.88295,\n                    \"lockSide\": \"Settlement\",\n                    \"rateType\": \"GBPNGN\",\n                    \"operation\": \"Divide\"\n                },\n                \"quoteId\": \"47b2ca4e9ba549638d10d2ee221e6863\",\n                \"payment\": {\n                    \"currency\": \"NGN\",\n                    \"amount\": 2132059.35\n                },\n                \"settlement\": {\n                    \"currency\": \"GBP\",\n                    \"amount\": 4000.99\n                }\n            },\n            \"categories\": [\n                {\n                    \"category\": \"foo\",\n                    \"percentage\": 30\n                },\n                {\n                    \"category\": \"bar\",\n                    \"percentage\": 60\n                },\n                {\n                    \"category\": \"baz\",\n                    \"percentage\": 10\n                }\n            ],\n            \"amount\": 400099,\n            \"fee\": 399,\n            \"status\": \"declined\",\n            \"finished_at\": null,\n            \"recipient\": {\n                \"id\": \"e32e0ca8-cc8c-4ea0-bb53-b085f3e9cca7\",\n                \"email\": \"daria+member1@desmart.com\",\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\",\n                \"phone_number\": \"+1232112312\",\n                \"nickname\": \"JoJo\",\n                \"profile_photo_url\": null,\n                \"role\": \"family_member\"\n            }\n        },\n        {\n            \"id\": \"3b039d79-4ff9-4bd3-b3f7-a230017fb773\",\n            \"created_at\": \"2021-11-24T18:48:03.083Z\",\n            \"definition\": {\n                \"rate\": {\n                    \"value\": 532.88295,\n                    \"lockSide\": \"Settlement\",\n                    \"rateType\": \"GBPNGN\",\n                    \"operation\": \"Divide\"\n                },\n                \"quoteId\": \"2b895fe0013b48a18e78275b27963b77\",\n                \"payment\": {\n                    \"currency\": \"NGN\",\n                    \"amount\": 16514.04\n                },\n                \"settlement\": {\n                    \"currency\": \"GBP\",\n                    \"amount\": 30.99\n                }\n            },\n            \"categories\": [\n                {\n                    \"category\": \"foo\",\n                    \"percentage\": 30\n                },\n                {\n                    \"category\": \"bar\",\n                    \"percentage\": 60\n                },\n                {\n                    \"category\": \"baz\",\n                    \"percentage\": 10\n                }\n            ],\n            \"amount\": 3099,\n            \"fee\": 399,\n            \"status\": \"finished\",\n            \"finished_at\": \"2021-11-25T00:00:00.841Z\",\n            \"recipient\": {\n                \"id\": \"e32e0ca8-cc8c-4ea0-bb53-b085f3e9cca7\",\n                \"email\": \"daria+member1@desmart.com\",\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\",\n                \"phone_number\": \"+1232112312\",\n                \"nickname\": \"JoJo\",\n                \"profile_photo_url\": null,\n                \"role\": \"family_member\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"page\": \"1\",\n        \"take\": \"10\",\n        \"recordsTotal\": \"2\",\n        \"pagesTotal\": 1\n    }\n}"}],"_postman_id":"901155fe-706d-461d-9888-96ec19e77e55"}],"id":"e435b1a3-1dfb-452e-af0a-68389a559061","description":"<p>Section dedicated for customer with a role - <code>wallet_owner</code></p>\n","_postman_id":"e435b1a3-1dfb-452e-af0a-68389a559061"},{"name":"Spot rate categories (Admin panel)","item":[{"name":"Category list","id":"eff5fd25-4a0b-4a45-970b-4bd0265dcc31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{SV_AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/admin/spot-rate-categories?order[by]=percentage&order[dir]=desc&search=fen","description":"<p>Fetches whole list of customers with enabled pagination and advanced filtration system.</p>\n<p>Advanced filtering is accepting <code>filter</code> params that are build as follows: <code>filter[name_of_key]</code>\nAllowed keys for filtering with the types they are representing:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  'first_name' - string\n  'last_name' - string\n  'email' - string;email\n  'is_kyc_verified' - boolean\n  'kyc_status' - Enum('accepted', 'pending', 'declined', 'not_verified')\n  'failed_kyc_attempts' - number &lt;0,3&gt;\n  'is_active' - boolean\n  'is_email_verified' - boolean\n  'is_wallet_active' - boolean\n  'role' - Enum('wallet_owner', 'family_member')\n</code></pre><p>As a value of filter param we can pass value with an operator, they look as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>no operator - simple value that has to be matched (e.g. `true`, `wallet_owner`)\n| - range operator, followerd by 2 numbers separated with a comma, deteremines from what range do we want to match the numbers (e.g. `|0,1` - means &lt;0,1&gt;)\n__ - invokes a custom filter, followed by the name of custom filter (e.g. `__all_active`)\n&lt;&gt; - comparision sign, folowed by a number value (e.g. `&gt;30`, `&lt;5`)\n</code></pre><p><strong>This endpoint has no custom filters</strong></p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n</ul>\n","urlObject":{"path":["admin","spot-rate-categories"],"host":["{{API_URL}}"],"query":[{"disabled":true,"description":{"content":"<p>which page should be fetched (default to 1)</p>\n","type":"text/plain"},"key":"limit[page]","value":"2"},{"disabled":true,"description":{"content":"<p>how many records should be displayed per page (default to 10)</p>\n","type":"text/plain"},"key":"limit[take]","value":"10"},{"description":{"content":"<p>(required*) by which property list should be orderd</p>\n","type":"text/plain"},"key":"order[by]","value":"percentage"},{"description":{"content":"<p>(required*) takes either of following values: [ ASC ] ,  [ DESC ]</p>\n","type":"text/plain"},"key":"order[dir]","value":"desc"},{"disabled":true,"description":{"content":"<p>filters the results by property <code>role</code> and searches for the value of <code>wallet_owner</code></p>\n","type":"text/plain"},"key":"filter[role]","value":"wallet_owner"},{"disabled":true,"description":{"content":"<p>filters the results by property <code>failed_kyc_attempts</code> and searches for the value in rage of 0 - 1</p>\n","type":"text/plain"},"key":"filter[member_first_name]","value":"Franek"},{"description":{"content":"<p>searches in the results for matching values</p>\n","type":"text/plain"},"key":"search","value":"fen"}],"variable":[]}},"response":[{"id":"964a4c2e-ed82-4665-af9e-0ec84fec83d8","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_URL}}/admin/customers?limit[page]=2&limit[take]=10&order[by]=email&order[dir]=desc","host":["{{API_URL}}"],"path":["admin","customers"],"query":[{"key":"limit[page]","value":"2"},{"key":"limit[take]","value":"10"},{"key":"order[by]","value":"email"},{"key":"order[dir]","value":"desc"},{"key":"filter[role]","value":"wallet_owner","disabled":true},{"key":"filter[failed_kyc_attempts]","value":"|0,1","disabled":true},{"key":"search","value":"fen","disabled":true}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"122"},{"key":"ETag","value":"W/\"7a-MLXj+E1nU+pcbJ0dDJkagyy0Th8\""},{"key":"Date","value":"Fri, 18 Dec 2020 16:36:39 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"user.unauthenticated\",\n        \"message\": \"Authentication required\",\n        \"statusCode\": 401\n    }\n}"}],"_postman_id":"eff5fd25-4a0b-4a45-970b-4bd0265dcc31"}],"id":"7d34caeb-e2f6-4586-a457-e7f1ea992dd2","_postman_id":"7d34caeb-e2f6-4586-a457-e7f1ea992dd2","description":""},{"name":"Stats (Admin panel)","item":[{"name":"Get stats","id":"6d52b355-df91-439a-b1aa-c6fa3ad3413e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{SV_AUTH_TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}/admin/stats","description":"<p>Fetches statistics that are meant to be displayed for every supervisor on admin panel.</p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n</ul>\n","urlObject":{"path":["admin","stats"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d52b355-df91-439a-b1aa-c6fa3ad3413e"}],"id":"094b6fa1-6f6a-4bc3-a872-e549c7c69f1c","_postman_id":"094b6fa1-6f6a-4bc3-a872-e549c7c69f1c","description":""},{"name":"Supervisors","item":[{"name":"Reset password","item":[{"name":"Reset password init","id":"47c6c94d-9ac2-4207-bb0c-43f7d51cef2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+test@desmart.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/reset-password-init","description":"<p>Attempt to initiate password reset for existing supervisor.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>email</strong>  (required*)</td>\n<td>valid email of existing supervisor</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>403</code> Forbidden</li>\n<li><code>404</code> Not Found</li>\n</ul>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"f174844a-8ce8-444b-9468-8afb7352483a","id":"f174844a-8ce8-444b-9468-8afb7352483a","name":"Reset password","type":"folder"}},"urlObject":{"path":["supervisors","reset-password-init"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"4da5294d-147c-47eb-974c-543f84ba701d","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+test@desmart.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/reset-password-init"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"296"},{"key":"ETag","value":"W/\"128-mW1w+0iPjK0G8YFZ7x8LyOVgGKU\""},{"key":"Date","value":"Mon, 19 Oct 2020 15:09:39 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"b4e9fcbc-1576-4f06-9e71-8972e1fa1cc7\",\n    \"email\": \"daria+test@desmart.com\",\n    \"password\": null,\n    \"created_at\": \"2020-10-19T11:25:13.760Z\",\n    \"updated_at\": null,\n    \"is_active\": true,\n    \"verification_pin\": null,\n    \"password_reset_token\": \"31W5g3HinGJfn8hc\",\n    \"password_reset_token_created_at\": \"2020-10-19T15:07:45.821Z\"\n}"},{"id":"7c3536bb-afa9-4c03-9961-68fcec8666ef","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+test+2@desmart.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/reset-password-init"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"ETag","value":"W/\"39-mlWAwKpST+h8jaXT9WLI7SRCy7E\""},{"key":"Date","value":"Mon, 19 Oct 2020 15:06:36 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"supervisor.inactive\",\n        \"statusCode\": 403\n    }\n}"},{"id":"d43bd881-1c19-4b09-9c5f-99bf51d65b5a","name":"404 - Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria@desmart.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/reset-password-init"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"111"},{"key":"ETag","value":"W/\"6f-a/xBLNh4tqnIJ66NaT8el6awJ+o\""},{"key":"Date","value":"Mon, 19 Oct 2020 15:05:11 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"entity.not-found\",\n        \"statusCode\": 404,\n        \"message\": \"Supervisor not found\",\n        \"errorCode\": \"not-found\"\n    }\n}"}],"_postman_id":"47c6c94d-9ac2-4207-bb0c-43f7d51cef2a"},{"name":"Reset password validate","id":"021845d6-a8c0-4ab7-9349-2fe2875ed971","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"de5c70df-7bf1-4552-a13f-1da73c250260\",\n    \"token\": \"QDMhAWlEv2qpLOwO\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/reset-password-validate","description":"<p>Attempt to validate reset password token.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong>  (required*)</td>\n<td>identificator of existing supervisor</td>\n</tr>\n<tr>\n<td><strong>token</strong>  (required*)</td>\n<td>generated string upon <code>Reset password init</code></td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>403</code> Forbidden</li>\n</ul>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"f174844a-8ce8-444b-9468-8afb7352483a","id":"f174844a-8ce8-444b-9468-8afb7352483a","name":"Reset password","type":"folder"}},"urlObject":{"path":["supervisors","reset-password-validate"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"67bed3af-58aa-4095-8002-3434f609553a","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"770dd0a9-3e17-4f1d-a718-bfc130e65f6a\",\n    \"token\": \"1152\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/reset-password-validate"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"78"},{"key":"ETag","value":"W/\"4e-HBZ2TWatR9nV8jy3ZKaYi6tf8Jo\""},{"key":"Date","value":"Mon, 19 Oct 2020 15:30:22 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"supervisor.password-reset-token.mismatch\",\n        \"statusCode\": 403\n    }\n}"},{"id":"c22babb4-98c3-48c7-9a6f-7eef0a5b4b0c","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"b4e9fcbc-1576-4f06-9e71-8972e1fa1cc7\",\n    \"token\": \"rv2mqGiDMjUEsVNY\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/reset-password-validate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"16"},{"key":"ETag","value":"W/\"10-MsjnYJT8tv1YDQIW8xqLq60iHcM\""},{"key":"Date","value":"Mon, 19 Oct 2020 15:31:41 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"isValid\": true\n}"}],"_postman_id":"021845d6-a8c0-4ab7-9349-2fe2875ed971"},{"name":"Reset password finish","id":"34ab4780-8463-4e38-b3c3-879146e737a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"de5c70df-7bf1-4552-a13f-1da73c250260\",\n    \"token\": \"QDMhAWlEv2qpLOwO\",\n    \"password\": \"1234qwer$\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/reset-password-finish","description":"<p>Attempt to finalize password change for given supervisor.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong>  (required*)</td>\n<td>identificator of existing supervisor</td>\n</tr>\n<tr>\n<td><strong>token</strong>  (required*)</td>\n<td>token received in an email (16 characters)</td>\n</tr>\n<tr>\n<td><strong>password</strong>  (required*)</td>\n<td>new password to be saved</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>403</code> Forbidden</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"f174844a-8ce8-444b-9468-8afb7352483a","id":"f174844a-8ce8-444b-9468-8afb7352483a","name":"Reset password","type":"folder"}},"urlObject":{"path":["supervisors","reset-password-finish"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"2060d792-db0e-41e4-b2c1-d2a495c82701","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"de5c70df-7bf1-4552-a13f-1da73c250260\",\n    \"token\": \"QDMhAWlEv2qpLOwO\",\n    \"password\": \"1234qwer$\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/reset-password-finish"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"320"},{"key":"ETag","value":"W/\"140-rrjvr+m1OWFBOwM4ia/R8h9cLJA\""},{"key":"Date","value":"Mon, 19 Oct 2020 17:55:42 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"password\": \"$2a$10$my98hMywvlrgGrgCaZQEjOMMbh.E/8G2ysY0hkACHCOE4uZG8gCfa\",\n    \"password_reset_token\": null,\n    \"password_reset_token_created_at\": null,\n    \"is_active\": true,\n    \"id\": \"de5c70df-7bf1-4552-a13f-1da73c250260\",\n    \"email\": \"daria+test+2@desmart.com\",\n    \"created_at\": \"2020-10-19T13:05:25.695Z\",\n    \"updated_at\": null,\n    \"verification_pin\": null\n}"},{"id":"8546410d-9cbc-4c53-a97d-1de755ac8cf6","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"770dd0a9-3e17-4f1d-a718-bfc130e65f6a\",\n    \"token\": \"QDMhAWlEv2qpLOwO\",\n    \"password\": \"1234qwer$\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/reset-password-finish"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"78"},{"key":"ETag","value":"W/\"4e-HBZ2TWatR9nV8jy3ZKaYi6tf8Jo\""},{"key":"Date","value":"Mon, 19 Oct 2020 17:50:08 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"supervisor.password-reset-token.mismatch\",\n        \"statusCode\": 403\n    }\n}"},{"id":"879f21db-fd08-47da-95dd-ccd945eeff43","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"770dd0a9-3e17-4f1d-a718-bfc130e65f6a\",\n    \"token\": \"1735\",\n    \"password\": \"1234qwer$\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/reset-password-finish"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"110"},{"key":"ETag","value":"W/\"6e-4LFkjE+Vk1XzD/NAhOKKKjLszPI\""},{"key":"Date","value":"Mon, 19 Oct 2020 17:27:13 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"entity.invalid\",\n        \"statusCode\": 422,\n        \"message\": [\n            \"\\\"token\\\" length must be 16 characters long\"\n        ]\n    }\n}"}],"_postman_id":"34ab4780-8463-4e38-b3c3-879146e737a5"}],"id":"f174844a-8ce8-444b-9468-8afb7352483a","description":"<p>Section is responsible for reseting a password if a supervisor forgot it and/or he has troubles logging in.</p>\n<p>To reset a password we start with <code>Reset passsword init</code> that sends an email to a supervisor, where he has to click on a link with a token (confirming that he is who he says he is). Token can be validated with <code>Reset password validate</code>, it is valid for 24h. To finalize the password change we use <code>Reset password finish</code> EP.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"cb6d4ea4-b706-49f4-ba3a-5b43584f0cc9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d22997a3-9667-41d2-9210-c1847d043338","type":"text/javascript","exec":[""]}}],"_postman_id":"f174844a-8ce8-444b-9468-8afb7352483a"},{"name":"[LOG IN]","event":[{"listen":"test","script":{"id":"76934382-7141-4ca8-a08f-0050b530d69d","exec":["const jsonData = JSON.parse(responseBody);","","if (jsonData) {","    postman.setEnvironmentVariable(\"SV_AUTH_TOKEN\", jsonData.token);","}"],"type":"text/javascript"}}],"id":"8b9edbd1-6de5-4be1-8bdb-3143192a0129","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+test@desmart.com\",\n    \"password\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/login","description":"<p>Attempt to log in a supervisor to application.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>email</strong>  (required*)</td>\n<td>valid email of existing supervisor</td>\n</tr>\n<tr>\n<td><strong>password</strong> (required*)</td>\n<td>valid password of existing supervisor</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n<li><code>404</code> Not Found</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["supervisors","login"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"3cbd58de-c1bc-406e-baf3-838f4a00d806","name":"404 - Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+test2@desmart.com\",\n    \"password\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/login"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"115"},{"key":"ETag","value":"W/\"73-Ir6rz/K+Hkap541OiJT5B+nGbaU\""},{"key":"Date","value":"Fri, 18 Dec 2020 16:00:17 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"entity.not-found\",\n        \"message\": \"Supervisor not found\",\n        \"statusCode\": 404\n    }\n}"},{"id":"65d6f024-9f46-4872-8c29-3a50fd4c9a1f","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+test@desmart.com\",\n    \"password\": \"wrong_password\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/login"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"124"},{"key":"ETag","value":"W/\"7c-1oHvWvLq98noyDFdnftQfb6i3b8\""},{"key":"Date","value":"Mon, 19 Oct 2020 10:52:05 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"user.unauthenticated\",\n        \"statusCode\": 401,\n        \"message\": \"Authentication required\",\n        \"errorCode\": \"unauthenticated\"\n    }\n}"},{"id":"9708e324-0190-4d12-a8c9-8d41c5e4d47e","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+test@desmart.com\",\n    \"password\": \"123qwe#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/login"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"ETag","value":"W/\"39-mlWAwKpST+h8jaXT9WLI7SRCy7E\""},{"key":"Date","value":"Mon, 19 Oct 2020 11:36:17 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"supervisor.inactive\",\n        \"statusCode\": 403\n    }\n}"},{"id":"d67552fc-cd7b-4c6f-9750-e5af4c385bee","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+test@desmart.com\",\n    \"password\": \"123qwe#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"295"},{"key":"ETag","value":"W/\"127-jVR5Bnh98Uaq8SD7KiNQRF24Nzo\""},{"key":"Date","value":"Mon, 19 Oct 2020 10:48:46 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjI0ZjI2ZWY5LWFjNGUtNDcwNi1hZGI1LTVmNGYzY2ViMDk1YyIsImVtYWlsIjoiZGFyaWErdGVzdEBkZXNtYXJ0LmNvbSIsImNyZWF0ZWRBdCI6IjIwMjAtMTAtMTlUMTA6NDg6NDYuNTQxWiIsImlhdCI6MTYwMzEwNDUyNiwiZXhwIjoxNjAzMTkwOTI2fQ.neP1OcmZYLgem4nmTFvIG1ljUPeNY_IMfTXyokLBvP0\"\n}"},{"id":"e6086c7d-e893-4413-9d8e-77b43557a17a","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+test@desmart.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/login"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"91"},{"key":"ETag","value":"W/\"5b-7hS81latdEncSz6wgOmEB4XlCto\""},{"key":"Date","value":"Mon, 19 Oct 2020 11:16:02 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"entity.invalid\",\n        \"statusCode\": 422,\n        \"message\": [\n            \"\\\"password\\\" is required\"\n        ]\n    }\n}"}],"_postman_id":"8b9edbd1-6de5-4be1-8bdb-3143192a0129"},{"name":"Create base supervisor","id":"42b1441c-4ef4-4826-8944-d8392d691464","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+test@desmart.com\",\n    \"password\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/create-base-supervisor","description":"<p>Attempt to create base supervisor to application. Operation is only allowed when there are no supervisors in db.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>email</strong>  (required*)</td>\n<td>valid email</td>\n</tr>\n<tr>\n<td><strong>password</strong> (required*)</td>\n<td>valid password</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>403</code> Forbidden</li>\n</ul>\n","urlObject":{"path":["supervisors","create-base-supervisor"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"553f178c-a335-4f93-88ca-78e4db979c86","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+test@desmart.com\",\n    \"password\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/create-base-supervisor"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"119"},{"key":"ETag","value":"W/\"77-cnZlTJL91pq3uzL/ptQx+pVFBzc\""},{"key":"Date","value":"Fri, 18 Dec 2020 15:53:00 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"supervisor.already-exists\",\n        \"message\": \"Unhandled Error\",\n        \"statusCode\": 403\n    }\n}"},{"id":"b3810fef-3bce-4dcf-ba4e-37d9ad3878a2","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+test@desmart.com\",\n    \"password\": \"123qwe!@#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/create-base-supervisor"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"236"},{"key":"ETag","value":"W/\"ec-6z+uELc48GURwY4UnRnGPqRxBos\""},{"key":"Date","value":"Fri, 18 Dec 2020 15:52:30 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"daria+test@desmart.com\",\n    \"password\": null,\n    \"is_active\": true,\n    \"id\": \"0413ab3e-3441-4f45-89bd-a85e4b8af55a\",\n    \"created_at\": \"2020-12-18T15:52:30.863Z\",\n    \"updated_at\": null,\n    \"password_reset_token\": null,\n    \"password_reset_token_created_at\": null\n}"}],"_postman_id":"42b1441c-4ef4-4826-8944-d8392d691464"},{"name":"Invite new supervisor","id":"83b805fe-db2a-452c-a396-ef7ced10579d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{SV_AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+test+2@desmart.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors","description":"<p>Attempt to create new account for a supervisor.\nNew supervisor should receive email with verification link.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>email</strong>  (required*)</td>\n<td>valid email of existing supervisor</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n</ul>\n","urlObject":{"path":["supervisors"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"17e23d77-0e9a-4efa-96d1-c387f56a1cfc","name":"401 - Unauthenticated","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{AUTH_TOKEN}}","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+test+2@desmart.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"124"},{"key":"ETag","value":"W/\"7c-1oHvWvLq98noyDFdnftQfb6i3b8\""},{"key":"Date","value":"Mon, 19 Oct 2020 13:10:21 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"user.unauthenticated\",\n        \"statusCode\": 401,\n        \"message\": \"Authentication required\",\n        \"errorCode\": \"unauthenticated\"\n    }\n}"},{"id":"591d1b8f-a58d-45f8-88ae-7e9fef0745f6","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{AUTH_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+test2@desmart.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"356"},{"key":"ETag","value":"W/\"164-Z0fuvggrIMEJHLcoTcaUn+bQd+g\""},{"key":"Date","value":"Mon, 19 Oct 2020 12:03:33 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"daria+test2@desmart.com\",\n    \"password\": \"$2a$10$O.ca7dYa9KUAS0hQuKdF4Od7RivOXieAB1KufaEEKDVUP1CXmufgC\",\n    \"password_reset_token\": \"9AFpmrvP3i1LFESu\",\n    \"password_reset_token_created_at\": \"2020-10-19T12:03:33.344Z\",\n    \"id\": \"47bf4c85-9669-4e73-9484-93c4b73fc4a8\",\n    \"created_at\": \"2020-10-19T12:03:33.544Z\",\n    \"updated_at\": null,\n    \"is_active\": false,\n    \"verification_pin\": null\n}"},{"id":"dabaffd1-d415-46fd-834c-1a09f8723829","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{AUTH_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"daria+test@desmart.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"55"},{"key":"ETag","value":"W/\"37-N//juTGXpmN2D7Dp4Z3bhVTddxY\""},{"key":"Date","value":"Mon, 19 Oct 2020 11:58:19 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"user.email-exists\",\n        \"statusCode\": 403\n    }\n}"}],"_postman_id":"83b805fe-db2a-452c-a396-ef7ced10579d"},{"name":"Resend 'invitation'","id":"7ed301a4-4bf8-43bd-835c-5ec3139ed538","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{SV_AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{API_URL}}/supervisors/:id/resend-verification-email","description":"<p>Resends email with link to setting up a password for new supervisor.</p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>404</code> Not Found</li>\n</ul>\n","urlObject":{"path":["supervisors",":id","resend-verification-email"],"host":["{{API_URL}}"],"query":[],"variable":[{"description":{"content":"<p>id of invited supervisor </p>\n","type":"text/plain"},"type":"string","value":"b4e9fcbc-1576-4f06-9e71-8972e1fa1cc7","key":"id"}]}},"response":[{"id":"1284f1e3-46d4-467a-a674-5ba70134abc6","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{AUTH_TOKEN}}"}],"url":{"raw":"{{API_URL}}/supervisors/:id/resend-verification-email","host":["{{API_URL}}"],"path":["supervisors",":id","resend-verification-email"],"variable":[{"description":"id of invited supervisor ","key":"id","type":"string","value":"b4e9fcbc-1576-4f06-9e71-8972e1fa1cc7"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Date","value":"Mon, 19 Oct 2020 18:43:20 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"7ed301a4-4bf8-43bd-835c-5ec3139ed538"},{"name":"Change password","id":"ff1be4ce-c0ee-4535-aa88-13ff4d47a1ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{SV_AUTH_TOKEN}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"currentPassword\": \"123qwe#\",\n    \"newPassword\": \"1234qwer#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/change-password","description":"<p>Attempts to change password of currently logged in supervisor.</p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>currentPassword</strong>  (required*)</td>\n<td>currently used valid password</td>\n</tr>\n<tr>\n<td><strong>newPassword</strong>  (required*)</td>\n<td>new password</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n</ul>\n","urlObject":{"path":["supervisors","change-password"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"21f0d5a1-971a-40d6-9332-3a841e899800","name":"200 - OK","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","type":"text","value":"{{AUTH_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"currentPassword\": \"123qwe#\",\n    \"newPassword\": \"1234qwer#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/change-password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"318"},{"key":"ETag","value":"W/\"13e-ux7NseU//nkeePbRLCZGGVuuPbY\""},{"key":"Date","value":"Mon, 19 Oct 2020 13:29:08 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"b4e9fcbc-1576-4f06-9e71-8972e1fa1cc7\",\n    \"email\": \"daria+test@desmart.com\",\n    \"password\": \"$2a$10$dqElkpVkl1hl3DNaIDWF0.yf1OmoHY9BlidkM5sZAz39ZyuXVl7gW\",\n    \"created_at\": \"2020-10-19T11:25:13.760Z\",\n    \"updated_at\": null,\n    \"is_active\": true,\n    \"password_reset_token\": null,\n    \"password_reset_token_created_at\": null\n}"},{"id":"66a10a91-4288-42c2-b528-a3fef470d1ee","name":"401 - Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","type":"text","value":"{{AUTH_TOKEN}}","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"currentPassword\": \"1234qwer$\",\n    \"newPassword\": \"1234qwer#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/change-password"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"124"},{"key":"ETag","value":"W/\"7c-1oHvWvLq98noyDFdnftQfb6i3b8\""},{"key":"Date","value":"Mon, 19 Oct 2020 13:27:48 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"user.unauthenticated\",\n        \"statusCode\": 401,\n        \"message\": \"Authentication required\",\n        \"errorCode\": \"unauthenticated\"\n    }\n}"},{"id":"88536d68-377b-43fd-a02c-a6069c2ff24d","name":"403 - Forbidden","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","type":"text","value":"{{AUTH_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"currentPassword\": \"1234qwer$\",\n    \"newPassword\": \"1234qwer#\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/supervisors/change-password"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"73"},{"key":"ETag","value":"W/\"49-60Wa2d9rxIklsSm93uvmH2WFiKM\""},{"key":"Date","value":"Mon, 19 Oct 2020 13:26:43 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"supervisor.current-password-invalid\",\n        \"statusCode\": 403\n    }\n}"}],"_postman_id":"ff1be4ce-c0ee-4535-aa88-13ff4d47a1ab"}],"id":"5638a7af-dd59-4b6a-a575-ad20a322460f","description":"<h1 id=\"administrator\">Administrator</h1>\n<p>A subject who can manage customers and customers’ family members, their\naccess to the application, track general analytics.</p>\n","event":[{"listen":"prerequest","script":{"id":"c1cf5711-5dcd-484a-acdd-e0ec924fa2ca","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6f6febb4-fd83-4c11-a988-b454732cbd15","type":"text/javascript","exec":[""]}}],"_postman_id":"5638a7af-dd59-4b6a-a575-ad20a322460f"},{"name":"Transfers","item":[{"name":"Instruct deals [DEBUG]","id":"7834d26c-d1b0-47e8-9191-3bba04eeafc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{SV_AUTH_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{API_URL}}/transfers/instruct-deals","description":"<p>Initiates the transfr to family member by checking and saving the spot rate.</p>\n<p>There are 10 seconds to confirm the spot rate and send the actual transfer with <code>Book transfer</code></p>\n<h2 id=\"params-in-raw-body-json\">params in raw body (JSON)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>memberId</strong>  (required*)</td>\n<td>id of an existing member</td>\n</tr>\n<tr>\n<td><strong>amount</strong>  (required*)</td>\n<td>is a decimal number (with precision - 2)</td>\n</tr>\n<tr>\n<td><strong>categories</strong>  (required*)</td>\n<td>array of objects</td>\n</tr>\n</tbody>\n</table>\n</div><p>a category can be defined as follows: </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"category\": \"foo\", // name of a category\n    \"percentage\": 30 // how much of the main amount belongs to this category\n}\n</code></pre><p><strong>the percentages from the array have to sum up to 100</strong></p>\n<h1 id=\"returns\">Returns</h1>\n<ul>\n<li><code>200</code> OK</li>\n<li><code>401</code> Unauthorized</li>\n<li><code>403</code> Forbidden</li>\n<li><code>404</code> Not Found</li>\n<li><code>422</code> Unprocessable Entity</li>\n</ul>\n","urlObject":{"path":["transfers","instruct-deals"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"6c803381-748c-4397-8d86-937757806b36","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"memberId\": \"fb8f1f03-1180-4b65-ac63-2be9715c0a56\",\n    \"amount\": 30.99,\n    \"categories\": [\n        {\n            \"category\": \"foo\",\n            \"percentage\": 30\n        },\n        {\n            \"category\": \"bar\",\n            \"percentage\": 60\n        },\n        {\n            \"category\": \"baz\",\n            \"percentage\": 10\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}/owner/init-transfer"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"124"},{"key":"ETag","value":"W/\"7c-7NbvXf4dtBfm1/6VUI6YKYtudCQ\""},{"key":"Date","value":"Sat, 19 Dec 2020 17:01:10 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"default-error\",\n        \"errorCode\": \"transfer.insufficient-funds\",\n        \"message\": \"Insufficient funds\",\n        \"statusCode\": 422\n    }\n}"}],"_postman_id":"7834d26c-d1b0-47e8-9191-3bba04eeafc4"}],"id":"3486f74e-ca15-467f-9e06-1a72a40f1d3d","_postman_id":"3486f74e-ca15-467f-9e06-1a72a40f1d3d","description":""}],"event":[{"listen":"prerequest","script":{"id":"089e7dfe-0e04-4e68-ba77-116b48b24b3a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c7959fd9-360c-46d8-a399-9035360dc8d9","type":"text/javascript","exec":[""]}}]}