{"info":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>Abhi offers a set of APIs to 3rd parties for the purpose of integration to render EWA services to the external platform.</p>\n<p>3rd parties system shall integrate Abhi API(s) in its platform to offer the frontend application to its end users. The users will essentially log in to the 3rd party system &amp; the 3rd party system in turn will call Abhi API(s) to render its services.</p>\n<p>As part of the one-time onboarding, Abhi team set up the root organization for 3rd parties. This will allow the 3rd party system to create employees under the root organization. Moreover, additional organizations can be created under the root organizations, allowing 3rd party system to create employees under each orgnaization seperately. Users or employees of one organization can not access detail of other organization, however admin shall be able to access all child organizaiton details.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>Upon successful login, Abhi authenciation system shall generate a JWT token with 24 hours validity. All subsequent API calls must include the provided JWT token in the header to prove the identity and Abhi shall provide the relevant data in response to the APIs.</p>\n<p>NOTES:</p>\n<ol>\n<li><p>By default, multi login is not allowed, therefore in case if a user is already logged in with a valid JWT token, the next successful attempt will invalid earlier token.</p>\n</li>\n<li><p>Five consective wrong attempts will lock the user login.</p>\n</li>\n</ol>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Authentication","slug":"authentication"}],"owner":"21514727","collectionId":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","publishedId":"2s93JqU664","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-10-02T07:57:56.000Z"},"item":[{"name":"Employee","item":[{"name":"Get All Employees","id":"5096dab5-e5e0-448a-b480-d8cfb0a9a54c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}open-api/employees?page=1&limit=10","description":"<p>This is a sample HTTP request along with the response from the API. This request is for the <code>GET</code> method on the endpoint <code>/connect/employees</code>, with query parameters <code>page=1</code> and <code>limit=10</code>. The response returned by the API contains information about a single employee, including</p>\n<ol>\n<li>ID: This is a UUID.</li>\n<li>Creation date</li>\n<li>Joining date</li>\n<li>Salary, and personal information like name, CNIC, date of birth, etc.</li>\n</ol>\n<p>The response also includes some metadata like the total number of results and the status of the request (<code>status</code>, <code>code</code>, and <code>message</code>).</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}},"urlObject":{"path":["employees"],"host":["{{url}}open-api"],"query":[{"disabled":true,"key":"dateOfJoiningFrom","value":"2010-01-10T10:10:59.409Z"},{"disabled":true,"key":"dateOfJoiningTo","value":"2015-12-31T10:10:59.409Z"},{"disabled":true,"key":"email","value":"johndoe@hotmail.com"},{"disabled":true,"key":"phone","value":"846-779-0237"},{"key":"page","value":"1"},{"disabled":true,"key":"firstName","value":"John"},{"disabled":true,"key":"lastName","value":"Doe"},{"key":"limit","value":"10"},{"disabled":true,"key":"cnic","value":"4220187683175"}],"variable":[]}},"response":[{"id":"7119afd5-e044-4c75-ac9d-773aad389645","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}open-api/employees?page=1&limit=10","host":["{{url}}open-api"],"path":["employees"],"query":[{"key":"dateOfJoiningFrom","value":"2010-01-10T10:10:59.409Z","type":"text","disabled":true},{"key":"dateOfJoiningTo","value":"2015-12-31T10:10:59.409Z","type":"text","disabled":true},{"key":"email","value":"Alexandrea_Green3@hotmail.com","type":"text","disabled":true},{"key":"phone","value":"846-779-0237","type":"text","disabled":true},{"key":"page","value":"1"},{"key":"firstName","value":"test","type":"text","disabled":true},{"key":"lastName","value":"Testing by","type":"text","disabled":true},{"key":"limit","value":"10"},{"key":"cnic","value":"4210187123175","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 12:48:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"718"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a7e5656b-f720-49e6-841a-38cdbad36487"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Content-Encoding","value":"gzip"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"x-frame-options","value":"DENY"},{"key":"content-security-policy","value":"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'"},{"key":"x-amz-apigw-id","value":"BdmYDHNLjoEFesg="},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-64088433-0b87fe4d2e949e29298ff1a8"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"total\": 1,\n        \"results\": [\n            {\n                \"id\": \"39e542ee-ae52-4a57-af31-d97b4b02178c\",\n                \"createdAt\": \"2023-03-08T11:46:03.196Z\",\n                \"deletedDate\": null,\n                \"employeeCode\": null,\n                \"dateOfJoining\": \"2023-03-06T00:00:00.000Z\",\n                \"organizationId\": \"df35ced3-42a8-4e29-9f03-998772892dff\",\n                \"netSalary\": \"500000\",\n                \"updatedAt\": \"2023-03-08T11:51:37.339Z\",\n                \"person\": {\n                    \"firstName\": \"John\",\n                    \"lastName\": \"Doe\",\n                    \"cnic\": \"4210187123176\",\n                    \"dob\": \"1970-01-01\",\n                    \"user\": {\n                        \"enabled\": true,\n                        \"username\": \"john.doe@gmail.com\"\n                    }\n                },\n                \"selectedBankAccount\": {\n                    \"accountTitle\": \"John Doe\",\n                    \"accountNumber\": \"1231221312312\",\n                    \"bank\": {\n                        \"bankName\": \"Silk Bank\"\n                    }\n                },\n                \"officialEmail\": {\n                    \"email\": \"john.doe@gmail.com\"\n                },\n                \"organization\": {\n                    \"name\": \"Acme\"\n                },\n                \"limit\": 50\n            }\n        ]\n    },\n    \"message\": \"Success\",\n    \"status\": \"success\",\n    \"code\": 200\n}"}],"_postman_id":"5096dab5-e5e0-448a-b480-d8cfb0a9a54c"},{"name":"Add Employee","id":"93c3794e-9fca-4260-9c67-e706a90e38cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"employees\": [\n        {\n             \"employeeCode\": 906188,\n   \"firstName\": \"Muhammad\",\n   \"lastName\": \"Faizan\",\n   \"department\": \"Human Resources\",\n   \"designation\": \"Management Trainee Officer\",\n   \"phone\": 923154773008,\n   \"email\": \"muhammad.faizan@servis.com\",\n   \"dob\": \"2002-01-10\",\n   \"dateOfJoining\": \"2024-09-02\",\n   \"accountTitle\": \"Muhammad Faizan\",\n   \"accountNumber\": 22977108000403,\n   \"netSalary\": 70000,\n   \"cnic\": 3520234633263,\n   \"gender\": \"Male\",\n   \"bankId\": \"b24750fd-3863-4b71-8c16-d0fc92743d8b\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}open-api/employees","description":"<p>This is a sample HTTP request to add an employee. The request contains a JSON payload with information about a single employee.</p>\n<p>The payload includes the following information for the employee:</p>\n<ul>\n<li>employeeCode: Optional - It can be alpha numeric</li>\n<li>firstName: Mandatory: Maximum 32 characters limit allowed</li>\n<li>lastName: Mandatory: xxxxxxxxxxxxxxxxxxxx</li>\n<li>cnic: Mandatory: 13 digits CNIC without dashes, e.g. 3268617554925</li>\n<li>gender: Mandatory: Supported values include 'Male' , 'Female'</li>\n<li>department: Optional</li>\n<li>designation: Optional</li>\n<li>phone: Mandatory: +92XXXXXXXXXX format supported</li>\n<li>email: Mandatory</li>\n<li>dob: Optional</li>\n<li>dateOfJoining: Optional: The earned wage balance amount computation starts from the date of joining., therefore in case this field is not provided, the current system date is taken as date of joinging.</li>\n<li>netSalary: Mandatory: Number should be postive above 0.</li>\n<li>accountNumber: Mandatory: This is the bank account number</li>\n<li>accountTitle: Mandatory: This is the bank account title</li>\n<li>bankId: Mandatory. The list of bank can be obained via <code>/connect/mics/banks</code> API shown below</li>\n</ul>\n<p>In this example the API has successfully processed the request, as the response includes a \"status\" field with the value \"success\" and a \"code\" field with the value 200. The response also includes a \"message\" field with the value \"Success\".</p>\n","urlObject":{"path":["employees"],"host":["{{url}}open-api"],"query":[],"variable":[]}},"response":[{"id":"927753ae-8313-43be-b550-034793da94a5","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"employees\": [\n        {\n            \"employeeCode\": \"\",\n            \"firstName\": \"John\",\n            \"lastName\": \"Doe\",\n            \"department\": \"tech\",\n            \"designation\": \"software engineer\",\n            \"phone\": \"\",\n            \"email\": \"john.doe@gmail.com\",\n            \"dob\": \"1970-01-01\",\n            \"dateOfJoining\": \"2023-03-06\",\n            \"accountTitle\": \"John Doe\",\n            \"accountNumber\": \"1231871512312\",\n            \"netSalary\": \"500000\",\n            \"cnic\": \"4210187121564\",\n            \"gender\": \"Male\",\n            \"bankId\": \"1694afcf-832a-4837-993f-42b426c8b1ee\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}open-api/employees"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 14:08:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"61"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"41d59239-60b2-4292-898b-7db626ed3e16"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"x-frame-options","value":"DENY"},{"key":"content-security-policy","value":"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'"},{"key":"x-amz-apigw-id","value":"Bdx_2HKYjoEFrmA="},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640896cb-2d5d3f6a04b79fba2b74aa7f"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [],\n    \"message\": \"Success\",\n    \"status\": \"success\",\n    \"code\": 200\n}"}],"_postman_id":"93c3794e-9fca-4260-9c67-e706a90e38cd"},{"name":"Update Employees","id":"3782b132-b6c2-4ef6-a070-bda7b5697cda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"employees\":\n    [\n        {\"id\":\"b52cbed9-b2da-43bd-8f73-2965c463033d\",\n        \"employeeCode\":\"123123\",\n        \"firstName\":\"Sulah\",\n        \"lastName\":\"Azeem\",\n        \"department\":\"Product\",\n        \"designation\":\"SEO Team lead\",\n        \"accountnumber\":\"12345678901234567891\",\n        \"accounttitle\":\"processed_ok\",\n        \"cnic\":\"8778767654545\",\n        \"bankid\":\"2cdc40fd-1379-4a8e-bdf9-f99a85b7f151\",\n        \"netsalary\":20000.0,\n        \"email\":\"sulah1@gmail.com\",\n        \"phone\":\"+923219898765\",\n        \"dob\":\"1998-05-01\",\n        \"dateOfJoining\":\"2024-05-06\",\n        \"gender\":\"Male\"\n        }\n        ]\n        }","options":{"raw":{"language":"json"}}},"url":"{{url}}open-api/employees","description":"<p>This is a sample HTTP request to update an employee. The request contains a JSON payload with an array of employees.</p>\n<p>The payload includes the following information for the employee:</p>\n<ul>\n<li>id: Mandatory: The UUID of employee.</li>\n<li>employeeCode: Optional - It can be alpha numeric</li>\n<li>firstName: Mandatory: Maximum 32 characters limit allowed</li>\n<li>lastName: Mandatory: Maximum 32 characters limit allowed</li>\n<li>cnic: Mandatory: 13 digits CNIC without dashes, e.g. 3268617554925</li>\n<li>gender: Mandatory: Supported values include 'Male' , 'Female'</li>\n<li>department: Optional</li>\n<li>designation: Optional</li>\n<li>phone: Mandatory: +92XXXXXXXXXX format supported</li>\n<li>email: Mandatory</li>\n<li>dob: Optional</li>\n<li>dateOfJoining: Optional: The earned wage balance amount computation starts from the date of joining., therefore in case this field is not provided, the current system date is taken as date of joinging.</li>\n<li>netSalary: Mandatory: Number should be postive above 0.</li>\n<li>accountNumber: Mandatory: This is the bank account number</li>\n<li>accountTitle: Mandatory: This is the bank account title</li>\n<li>bankId: Mandatory: This can be obained via list of bank API shown below under Miscellaneous API refernces <code>/connect/mics/banks</code></li>\n</ul>\n","urlObject":{"path":["employees"],"host":["{{url}}open-api"],"query":[],"variable":[]}},"response":[{"id":"399f2009-01f7-48bc-aa21-eca76d45a650","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"employees\": [\n        {\n            \"employeeCode\": \"\",\n            \"firstName\": \"John\",\n            \"lastName\": \"Doe\",\n            \"department\": \"tech\",\n            \"designation\": \"software engineer\",\n            \"phone\": \"\",\n            \"email\": \"john.doe@gmail.com\",\n            \"dob\": \"1970-01-01\",\n            \"dateOfJoining\": \"2023-03-06\",\n            \"accountTitle\": \"John Doe\",\n            \"accountNumber\": \"1231871512312\",\n            \"netSalary\": \"500000\",\n            \"cnic\": \"4210187121564\",\n            \"gender\": \"Male\",\n            \"bankId\": \"1694afcf-832a-4837-993f-42b426c8b1ee\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}open-api/employees"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 12:56:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"562"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"94e85cc6-4741-4a2b-9c9a-51036d62acab"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"x-frame-options","value":"DENY"},{"key":"content-security-policy","value":"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'"},{"key":"x-amz-apigw-id","value":"BdnfXF_ujoEF0Cw="},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640885fb-06a2313c091a349b2e49416e"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"editStatus\": \"All employees are updated Successfully!\"\n    },\n    \"message\": \"Success\",\n    \"status\": \"success\",\n    \"code\": 200\n}"}],"_postman_id":"3782b132-b6c2-4ef6-a070-bda7b5697cda"},{"name":"Delete Employee","id":"116cc2b8-4b4d-4d2b-a44b-5af3ae7b9395","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"cnicArray\": [\"4210187123175\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}open-api/employees","description":"<p>This is a HTTP request to delete employee records from the API. The payload includes a single field \"cnicArray\", which is an array of CNIC numbers for the employees to be deleted. In this case, the array contains a single CNIC number.</p>\n<p>The response from the API indicates that the employees were deleted successfully. The response is also in JSON format and includes the following information:</p>\n<ul>\n<li>data: an object containing information about the status of the deletion</li>\n<li>message: a string indicating that the employees were deleted successfully</li>\n<li>status: a string indicating the status of the API call (in this case, \"success\")</li>\n<li>code: a numerical HTTP status code indicating the success of the API call (in this case, 200)</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}},"urlObject":{"path":["employees"],"host":["{{url}}open-api"],"query":[],"variable":[]}},"response":[{"id":"a18cacdd-98f2-432c-b3a5-14b7a4cdfcb6","name":"Success","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"cnicArray\": [\"4210187121564\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}open-api/employees"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 14:09:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"560"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"fbf30158-56c7-4fee-becd-45364c346341"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"x-frame-options","value":"DENY"},{"key":"content-security-policy","value":"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'"},{"key":"x-amz-apigw-id","value":"BdyH7HfzjoEFpoA="},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640896ff-7ce24fb15d66313f24909f90"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"updated\": true,\n        \"cnicFailed\": []\n    },\n    \"message\": \"Employes Deleted Successfully\",\n    \"status\": \"success\",\n    \"code\": 200\n}"}],"_postman_id":"116cc2b8-4b4d-4d2b-a44b-5af3ae7b9395"}],"id":"0b40c274-d3fb-43ad-a002-3274a034042c","description":"<h4 id=\"api-reference-for-employee-endpoints\">API reference for Employee endpoints</h4>\n","_postman_id":"0b40c274-d3fb-43ad-a002-3274a034042c","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}}},{"name":"Transactions","item":[{"name":"Employee","item":[{"name":"Post Transaction","id":"7b751186-a8a7-4caf-8589-673828350250","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"13c1e104-e9c0-4421-805c-f98dfd1bf41f\",\n    \"amount\": 500\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}open-api/transaction/employee/post-transaction","description":"<p>This is a HTTP request to create a new transaction for an employee. The request is being sent to a URL path <code>/connect/transactions/employee</code>.</p>\n<p>The payload of the request is in JSON format and contains information about the transaction ie. a field \"amount\", which has a value of 500 and \"id\" which contains uuid for transaction</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}},"urlObject":{"path":["transaction","employee","post-transaction"],"host":["{{url}}open-api"],"query":[],"variable":[]}},"response":[{"id":"46fdaa12-b734-4d5c-b1fd-7b28931f1681","name":"Failure","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"13c1e104-e9c0-4421-805c-f98dfd1bf41f\",\n    \"amount\": 550\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/qa-open-api/transaction/employee/post-transaction"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 09 Mar 2023 04:48:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"576"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"49763909-8a29-4186-a927-94fd3cc35de7"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"x-frame-options","value":"DENY"},{"key":"content-security-policy","value":"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'"},{"key":"x-amz-apigw-id","value":"Bfy7yG2QDoEFQ6Q="},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-64096517-38d1b76c038e86fc5af3cf04"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {},\n    \"message\": \"Your account details are not approved. Please contact your HR.\",\n    \"status\": \"bad request\",\n    \"code\": 400\n}"}],"_postman_id":"7b751186-a8a7-4caf-8589-673828350250"},{"name":"Get Employee Transaction History","id":"4b508280-6d2e-4cb4-a079-4832d6af3031","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"{{url}}open-api/transaction/employee/history/?limit=10&page=1","description":"<p>This is a sample HTTP request to retrieve transaction history for an employee using the API endpoint <code>/connect/transactions/employee/history</code>. The request is a POST method and includes query parameters for pagination (<code>limit</code> and <code>page</code>). The request body includes a JSON payload with the amount to be transferred (<code>amount</code>).</p>\n<p>The API response is also in JSON format and includes information about the transaction history, such as the total amount, transaction date, account details, and any error messages associated with the transaction. The response also includes a message and status indicating whether the request was successful or not.</p>\n","urlObject":{"path":["transaction","employee","history",""],"host":["{{url}}open-api"],"query":[{"key":"limit","value":"10"},{"key":"page","value":"1"},{"disabled":true,"key":"status","value":"complete"},{"disabled":true,"key":"amount","value":"500"},{"disabled":true,"key":"from","value":"2020-01-01T00%3A00%3A00,B05%3A00"},{"disabled":true,"key":"to","value":"2023-03-07T23%3A59%3A59,B05%3A00"}],"variable":[]}},"response":[{"id":"6b519274-46ba-4f08-a462-ddf9c6da795b","name":"Get Employee Transaction History","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{url}}open-api/transaction/employee/history/?limit=10&page=1","host":["{{url}}open-api"],"path":["transaction","employee","history",""],"query":[{"key":"limit","value":"10"},{"key":"page","value":"1"},{"key":"status","value":"complete","type":"text","disabled":true},{"key":"amount","value":"500","type":"text","disabled":true},{"key":"from","value":"2020-01-01T00%3A00%3A00,B05%3A00","type":"text","disabled":true},{"key":"to","value":"2023-03-07T23%3A59%3A59,B05%3A00","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 14:12:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1010"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"9ea53d57-05bb-4fe2-b8c7-d04472fd8888"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"x-frame-options","value":"DENY"},{"key":"content-security-policy","value":"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'"},{"key":"x-amz-apigw-id","value":"Bdyk_HyXDoEFUVA="},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640897b9-1a9687365a2f14356986ce5e"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"totalAmount\": 0,\n        \"transactions\": {\n            \"08-03-2023\": [\n                {\n                    \"id\": \"760ab263-2297-461c-8e22-940b5c7bdf5a\",\n                    \"amount\": \"500\",\n                    \"fee\": \"90\",\n                    \"transactionStatus\": \"error\",\n                    \"transactionDate\": \"2023-03-08T12:02:42.508Z\",\n                    \"errorMessage\": \"GatewayCriticalError: from: titleFetch | STAN: 070684| ResponseDetail: PROCESSED OK\",\n                    \"accountToNumber\": \"1231221312312\",\n                    \"accountToTitle\": \"John Doe\",\n                    \"accountToBank\": \"Silk Bank\",\n                    \"stan\": null,\n                    \"accountNumber\": \"1231221312312\",\n                    \"accountName\": \"PROCESSED_OK\"\n                }\n            ]\n        }\n    },\n    \"message\": \"Success\",\n    \"status\": \"success\",\n    \"code\": 200\n}"}],"_postman_id":"4b508280-6d2e-4cb4-a079-4832d6af3031"},{"name":"Get Traansaction Status","id":"15fb4515-3eb0-43fd-bdcd-ec8896efb7f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}open-api/status/:transactionId","description":"<p>This is a HTTP request to the API endpoint <code>/connect/transactions/employee/status/760ab263-2297-461c-8e22-940b5c7bdf5a</code>. The request includes a JSON payload with a `data` object containing an <code>id</code> field with the value \"eefda895-30cb-479e-85bb-f64c1592b09c\" and a <code>status</code> field with the value \"error\".<br />The response to the request has a <code>status</code> field with the value \"success\", a <code>message</code> field with the value \"Success\", and a `code` field with the value 200.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}},"urlObject":{"path":["status",":transactionId"],"host":["{{url}}open-api"],"query":[],"variable":[{"type":"any","value":"760ab263-2297-461c-8e22-940b5c7bdf5a","key":"transactionId"}]}},"response":[{"id":"1b647fd0-49a7-42c2-ac56-cd52a5f62a6f","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}open-api/status/:transactionId","host":["{{url}}open-api"],"path":["status",":transactionId"],"variable":[{"key":"transactionId","value":"760ab263-2297-461c-8e22-940b5c7bdf5a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 09 Mar 2023 04:47:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"610"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ce881f1b-b4b1-4a23-a06f-5bbe5fa6c0a1"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"x-frame-options","value":"DENY"},{"key":"content-security-policy","value":"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'"},{"key":"x-amz-apigw-id","value":"Bfy13Fu8DoEFS_g="},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640964f2-6942ab09354b6f356d96932b"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"eefda895-30cb-479e-85bb-f64c1592b09c\",\n        \"status\": \"error\"\n    },\n    \"message\": \"Success\",\n    \"status\": \"success\",\n    \"code\": 200\n}"}],"_postman_id":"15fb4515-3eb0-43fd-bdcd-ec8896efb7f9"},{"name":"Get Monthly Balance","id":"8f1bc8e5-0449-4a9a-b65a-c360bb32b826","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}open-api/transaction/employee/balance","description":"<p>This is a HTTP request to get monthly balance of employee. The request is asking for employee transaction and balance information, and the response contains data related to salary, available salary, available balance, total withdrawals, daily available salary, total days in the month, and a breakdown of the balance on each day of the month.</p>\n<p>The breakdown of the balance includes information about the date, day of the month, the amount of money withdrawn on that day, the total amount of money withdrawn up to that day, and the remaining balance after each day.</p>\n<p>The response will include</p>\n<ul>\n<li>salary: This is the net salary amount provided at the time of creating the employee (or edit at later stage)</li>\n<li>avilableSalary: This is the risk adjusted salary that act as the benchmark to compute the accessible balance. There, if a person has 100,000/- net salary, with 50% risk limit, the available salary will be 50.000/-</li>\n<li>availableBalance: This is the amount accessible by the specific user at the time of accessing the API. This is adjusted balance having all withdrawals deducted in current payroll cycle, allowing the user to draw down any amount up to avaialble Balance.</li>\n<li>totalWithdraw: This is the sum of all withdrawals by the specific user in current payroll cycle.</li>\n<li>perDayAvilableSalary: This is the prorated salary on day basis.</li>\n<li>totalDaysOfMonth: This specifies the total no. of days in current payroll cycle.</li>\n<li>monthlyBreakup: This provides an array of day by day withdrawals with running withrawal amount of the user in current payroll cycle, including<ul>\n<li>date: This is the date starting from the first day of the payroll cycle</li>\n<li>day: This is the number of day in current payroll cycle</li>\n<li>withdrawMondy: This is the amount withdrawn on specific date</li>\n<li>totalWithdraw: This is the running withdraw balance.</li>\n<li>balane: This is the accessible balance at the specific date after adjusting the withdrawMony on the particular day.</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}},"urlObject":{"path":["transaction","employee","balance"],"host":["{{url}}open-api"],"query":[],"variable":[]}},"response":[{"id":"a410be09-4eb8-4019-93ee-1c0112660e28","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{url}}open-api/transaction/employee/balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 14:11:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"541"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"5df93e4b-370b-4b4b-9d00-a0de6726819a"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Content-Encoding","value":"gzip"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"x-frame-options","value":"DENY"},{"key":"content-security-policy","value":"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'"},{"key":"x-amz-apigw-id","value":"BdyeDETsjoEFWiA="},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-6408978c-6066c59618993db20ac79847"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"salary\": 500000,\n        \"availableSalary\": 250000,\n        \"availableBalance\": 21895,\n        \"totalWithdraw\": 500,\n        \"perDayAvailableSalary\": 8064.5161290322585,\n        \"totalDaysOfMonth\": 31,\n        \"monthlyBreakup\": [\n            {\n                \"date\": \"03-01-2023\",\n                \"day\": 1,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 0,\n                \"balance\": 8065\n            },\n            {\n                \"date\": \"03-02-2023\",\n                \"day\": 2,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 0,\n                \"balance\": 16129\n            },\n            {\n                \"date\": \"03-03-2023\",\n                \"day\": 3,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 0,\n                \"balance\": 24194\n            },\n            {\n                \"date\": \"03-04-2023\",\n                \"day\": 4,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 0,\n                \"balance\": 32258\n            },\n            {\n                \"date\": \"03-05-2023\",\n                \"day\": 5,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 0,\n                \"balance\": 40323\n            },\n            {\n                \"date\": \"03-06-2023\",\n                \"day\": 6,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 0,\n                \"balance\": 48387\n            },\n            {\n                \"date\": \"03-07-2023\",\n                \"day\": 7,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 0,\n                \"balance\": 56452\n            },\n            {\n                \"date\": \"03-08-2023\",\n                \"day\": 8,\n                \"withdrawMoney\": 500,\n                \"totalWithdraw\": 500,\n                \"balance\": 64516\n            },\n            {\n                \"date\": \"03-09-2023\",\n                \"day\": 9,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 72581\n            },\n            {\n                \"date\": \"03-10-2023\",\n                \"day\": 10,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 80645\n            },\n            {\n                \"date\": \"03-11-2023\",\n                \"day\": 11,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 88710\n            },\n            {\n                \"date\": \"03-12-2023\",\n                \"day\": 12,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 96774\n            },\n            {\n                \"date\": \"03-13-2023\",\n                \"day\": 13,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 104839\n            },\n            {\n                \"date\": \"03-14-2023\",\n                \"day\": 14,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 112903\n            },\n            {\n                \"date\": \"03-15-2023\",\n                \"day\": 15,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 120968\n            },\n            {\n                \"date\": \"03-16-2023\",\n                \"day\": 16,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 129032\n            },\n            {\n                \"date\": \"03-17-2023\",\n                \"day\": 17,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 137097\n            },\n            {\n                \"date\": \"03-18-2023\",\n                \"day\": 18,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 145161\n            },\n            {\n                \"date\": \"03-19-2023\",\n                \"day\": 19,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 153226\n            },\n            {\n                \"date\": \"03-20-2023\",\n                \"day\": 20,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 161290\n            },\n            {\n                \"date\": \"03-21-2023\",\n                \"day\": 21,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 169355\n            },\n            {\n                \"date\": \"03-22-2023\",\n                \"day\": 22,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 177419\n            },\n            {\n                \"date\": \"03-23-2023\",\n                \"day\": 23,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 185484\n            },\n            {\n                \"date\": \"03-24-2023\",\n                \"day\": 24,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 193548\n            },\n            {\n                \"date\": \"03-25-2023\",\n                \"day\": 25,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 201613\n            },\n            {\n                \"date\": \"03-26-2023\",\n                \"day\": 26,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 209677\n            },\n            {\n                \"date\": \"03-27-2023\",\n                \"day\": 27,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 217742\n            },\n            {\n                \"date\": \"03-28-2023\",\n                \"day\": 28,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 225806\n            },\n            {\n                \"date\": \"03-29-2023\",\n                \"day\": 29,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 233871\n            },\n            {\n                \"date\": \"03-30-2023\",\n                \"day\": 30,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 241935\n            },\n            {\n                \"date\": \"03-31-2023\",\n                \"day\": 31,\n                \"withdrawMoney\": 0,\n                \"totalWithdraw\": 500,\n                \"balance\": 250000\n            }\n        ]\n    },\n    \"message\": \"success\",\n    \"status\": \"success\",\n    \"code\": 200\n}"}],"_postman_id":"8f1bc8e5-0449-4a9a-b65a-c360bb32b826"},{"name":"Validate Transaction","id":"fa1bb769-d320-4793-9e7f-19091770b7db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 500\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}open-api/transaction/employee/validate-transaction","description":"<p>This is a HTTP request to validate a transaction. This is to make sure if the transaction is processable, before creating a transaction request.</p>\n<p>Upon processing the request, the server responds with a JSON object that includes a <code>status</code>, a <code>code</code> property and a <code>message</code> property.</p>\n<p>The request is being used to validate a transaction involving an employee, with the amount of the transaction being specified in the request body. The response indicates either the transaction is processable or not based upon the status, code and message.</p>\n<p>status: \"success\" , code: 200 and message : \"\"Transaction Is Processable\"\" indicates a processable transaction.<br />Any response other than success means the transaction is not processable with the reason stated in <code>message</code> field.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}},"urlObject":{"path":["transaction","employee","validate-transaction"],"host":["{{url}}open-api"],"query":[],"variable":[]}},"response":[{"id":"4ce67152-fd19-4d53-a4e6-90fe98035afb","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 500\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}open-api/transaction/employee/validate-transaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Mar 2023 07:22:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"80"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"239ef97a-aafa-4ee7-9629-9d6095cc42e6"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"x-frame-options","value":"DENY"},{"key":"content-security-policy","value":"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'"},{"key":"x-amz-apigw-id","value":"BwoJjGdnDoEFZzw="},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-641020a3-6886639e22b10d0b2faab89f"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {},\n    \"message\": \"Transaction Is Processable\",\n    \"status\": \"success\",\n    \"code\": 200\n}"},{"id":"5f070b04-1901-4ad8-aeb3-7a8782a74b7c","name":"Failure","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 500\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}open-api/transaction/employee/validate-transaction"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Mar 2023 07:22:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"103"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"95dbe4ca-a521-4c4b-aa5f-98b86c4e2fe5"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"x-frame-options","value":"DENY"},{"key":"content-security-policy","value":"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'"},{"key":"x-amz-apigw-id","value":"BwoPaEVVjoEFU9w="},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-641020c8-43dbf736209c5aa02b90fc53"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {},\n    \"message\": \"Amount is exceeding from available balance, Available Balance is -90\",\n    \"code\": 403\n}"}],"_postman_id":"fa1bb769-d320-4793-9e7f-19091770b7db"}],"id":"450ce70e-1f1b-4ac8-87c8-7fa381b85806","description":"<p>Transactions API endpoints for Employees</p>\n","_postman_id":"450ce70e-1f1b-4ac8-87c8-7fa381b85806","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}}},{"name":"Employer","item":[{"name":"Get Transactions","id":"f44adad9-c064-49f3-8d4f-547b0574028b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}open-api/transaction/employer/all/?limit=10&page=1","description":"<p>This is a HTTP request/response for an API call to retrieve a list of transactions.</p>\n<p>The request is a GET request to the endpoint <code>/connect/transactions/</code> with a query parameter of <code>limit=10</code> and <code>page=1</code>. This indicates that the client is requesting a list of the first 10 transactions.</p>\n<p>The response includes a JSON payload with a <code>data</code> field that contains information about the transactions. The total number of transactions is 1 and the <code>results</code> field contains an array with a single transaction object.</p>\n<p>The supported query parameter filters are:</p>\n<ul>\n<li>limit: Positive number</li>\n<li>page: Positive number</li>\n<li>status: Valid status (complete, failed, queued, In progress, awaited, rejected, error)</li>\n<li>amount: Positive number.</li>\n<li>from: Valid Date (yyyy/mm/dd)</li>\n<li>to: Valid Date (yyyy/mm/dd)</li>\n<li>cnic: 13 digits CNIC without dashes.</li>\n<li>transactionId: UUID of transaction</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}},"urlObject":{"path":["transaction","employer","all",""],"host":["{{url}}open-api"],"query":[{"key":"limit","value":"10"},{"key":"page","value":"1"},{"disabled":true,"key":"status","value":"complete"},{"disabled":true,"key":"amount","value":"500"},{"disabled":true,"key":"from","value":"2020-01-01T00%3A00%3A00,B05%3A00"},{"disabled":true,"key":"to","value":"2023-03-07T23%3A59%3A59,B05%3A00"},{"disabled":true,"key":"cnic","value":"4210187123175"},{"disabled":true,"key":"transactionId","value":"7a4280ff-ad08-4acd-b259-c9fcb2ccc293"}],"variable":[]}},"response":[{"id":"0807c987-5ef8-4c28-8773-cb23f2750c7e","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}open-api/transaction/employer/all?limit=10&page=1","host":["{{url}}open-api"],"path":["transaction","employer","all"],"query":[{"key":"limit","value":"10"},{"key":"page","value":"1"},{"key":"status","value":"complete","type":"text","disabled":true},{"key":"amount","value":"500","type":"text","disabled":true},{"key":"from","value":"2020-01-01T00%3A00%3A00,B05%3A00","type":"text","disabled":true},{"key":"to","value":"2023-03-07T23%3A59%3A59,B05%3A00","type":"text","disabled":true},{"key":"cnic","value":"4210187123175","type":"text","disabled":true},{"key":"transactionId","value":"7a4280ff-ad08-4acd-b259-c9fcb2ccc293","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 12:47:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"731"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"668f833a-fe0b-4d5a-916b-75290e51b267"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Content-Encoding","value":"gzip"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"x-frame-options","value":"DENY"},{"key":"content-security-policy","value":"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'"},{"key":"x-amz-apigw-id","value":"BdmKyG9qjoEFfCg="},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640883de-13d5f6e410300b0907e2df64"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"total\": 1,\n        \"results\": [\n            {\n                \"id\": \"760ab263-2297-461c-8e22-940b5c7bdf5a\",\n                \"amount\": \"500\",\n                \"fee\": \"90\",\n                \"transactionStatus\": \"error\",\n                \"transactionDate\": \"2023-03-08T12:02:42.508Z\",\n                \"errorMessage\": \"GatewayCriticalError: from: titleFetch | STAN: 070684| ResponseDetail: PROCESSED OK\",\n                \"accountToNumber\": \"1231221312312\",\n                \"accountToTitle\": \"John Doe\",\n                \"accountToBank\": \"Silk Bank\",\n                \"stan\": null,\n                \"createdBy\": {\n                    \"id\": \"a03e56cb-a47e-416b-b549-024bcbfecdb9\",\n                    \"persons\": [\n                        {\n                            \"id\": \"bc834616-27be-4b13-8470-19b25d64dd24\",\n                            \"firstName\": \"John\",\n                            \"lastName\": \"Doe\",\n                            \"cnic\": \"4210187123176\",\n                            \"employees\": [\n                                {\n                                    \"id\": \"39e542ee-ae52-4a57-af31-d97b4b02178c\",\n                                    \"employeeCode\": null,\n                                    \"netSalary\": \"500000\",\n                                    \"officialPhone\": null\n                                }\n                            ]\n                        }\n                    ]\n                }\n            }\n        ]\n    },\n    \"message\": \"Success\",\n    \"status\": \"success\",\n    \"code\": 200\n}"}],"_postman_id":"f44adad9-c064-49f3-8d4f-547b0574028b"},{"name":"Get Transaction Status","id":"5bacd7f1-c96a-4e46-98d7-cda0ab39fb20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}open-api/status/:transactionId","description":"<p>This is a HTTP GET request to the API endpoint <code>/connect/transactions/status/:id</code>.</p>\n<p>The response body is a JSON object containing information about the status of the transaction with the given ID. The status is \"error\", indicating that there was an error with the transaction. The response code is 200, indicating success. The response also includes a message stating that the request was successful, as well as contextual information about the function that was executed on the server.</p>\n<p>Supported status includes</p>\n<ul>\n<li>Queued: This is an internal status of Abhi sytem, indicating that the transaction requeste is successfully received by the system and placed in the queue for processing.</li>\n<li>In Progress: The request is passed for payment processing and response is awatied from the payment gateway</li>\n<li>Awaited: This status is for manually transaction apprval, implying that the request is kept in the system, however the admin approval is awaited for procssing.</li>\n<li>Completed: The transaction life cycle is completed successfully and amount is transfered to the end user.</li>\n<li>Failed: This The transaction request was rejected at payment processor part.</li>\n<li>Rejected: The transaction request is rejected by Abhi system due to interal compliance.</li>\n<li>Error: The transaction is proned to sme internal error and the support team shall resolve to make it either complete or fail.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}},"urlObject":{"path":["status",":transactionId"],"host":["{{url}}open-api"],"query":[],"variable":[{"type":"any","value":"760ab263-2297-461c-8e22-940b5c7bdf5a","key":"transactionId"}]}},"response":[{"id":"0ea3c876-8073-4d50-8a4f-930f65678ef7","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}open-api/status/:transactionId","host":["{{url}}open-api"],"path":["status",":transactionId"],"variable":[{"key":"transactionId","value":"760ab263-2297-461c-8e22-940b5c7bdf5a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 12:48:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"586"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"3533bd88-5c77-49aa-bad8-36eba57040c0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"x-frame-options","value":"DENY"},{"key":"content-security-policy","value":"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'"},{"key":"x-amz-apigw-id","value":"BdmSNHJfDoEFxCg="},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-6408840d-162aeb4e45008b0f37d34ec5"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"760ab263-2297-461c-8e22-940b5c7bdf5a\",\n        \"status\": \"error\"\n    },\n    \"message\": \"Success\",\n    \"status\": \"success\",\n    \"code\": 200\n}"}],"_postman_id":"5bacd7f1-c96a-4e46-98d7-cda0ab39fb20"}],"id":"2fad521a-3f1a-4be2-b54c-855ac86b54cb","description":"<p>Transaction API endpoints for employer</p>\n","_postman_id":"2fad521a-3f1a-4be2-b54c-855ac86b54cb","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}}}],"id":"f625822c-fb29-4fff-bc7b-e4918d3e4168","description":"<h4 id=\"api-reference-for-transactions-endpoints\">API reference for Transactions endpoints</h4>\n","_postman_id":"f625822c-fb29-4fff-bc7b-e4918d3e4168","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}}},{"name":"Organizations","item":[{"name":"Get All Sub Organizations","id":"a53e57dc-5433-4467-a054-cfbd663b3bff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}open-api/organizations?page=1&limit=10","description":"<p>This is a HTTP GET request to the API endpoint <code>/connect/organization</code> with query parameters <code>page=1</code> and <code>limit=10</code>. The request is sent to the host <code>api-dev11.abhi.com.pk</code>.</p>\n<p>The response is in JSON format and includes the following information:</p>\n<ul>\n<li><p><code>data</code>: an object containing information about the organizations returned in the response. This includes the total number of organizations (<code>total</code>) and an array of organization objects <code>results</code> that includes:</p>\n<ul>\n<li>id: String (UUID of organization)</li>\n<li>deletedDate: Date (yyyy/mm/dd: hh:mm:ss)</li>\n<li>name: String (name of organziation)</li>\n<li>organizationNumber: String (organization number)</li>\n<li>industry: String (industry of organization)</li>\n<li>managementAlias: String (management alias of organization, used as the unique identifier for the organization)</li>\n<li>organizationType: String (organization type, child or parent)</li>\n<li>active: Boolean (true or false)</li>\n<li>creditLimit: Number (credit limit of organization)</li>\n<li>businessType: <ul>\n<li> name: String (name of business type)</li>\n<li>country: String (country of business type)</li>\n</ul>\n</li>\n<li>parentOrganizations:  <ul>\n<li>parentOrganizationId: String (UUID of parent organization)</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><code>message</code>: a string indicating the status of the request (in this case, \"Success\").</p>\n</li>\n<li><p><code>status</code>: a string indicating the status of the request (in this case, \"success\").</p>\n</li>\n<li><p><code>code</code>: an integer indicating the HTTP status code of the response (in this case, 200).</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}},"urlObject":{"path":["organizations"],"host":["{{url}}open-api"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[{"id":"9034870f-4173-41b3-b0b1-2f17049d6112","name":"Sucess","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}open-api/organizations?page=1&limit=10","host":["{{url}}open-api"],"path":["organizations"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 12:45:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"617"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"535d6881-5661-4153-b63d-4849f1981dd3"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Content-Encoding","value":"gzip"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"x-frame-options","value":"DENY"},{"key":"content-security-policy","value":"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'"},{"key":"x-amz-apigw-id","value":"Bdl2WG_GjoEF8Hg="},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-6408835b-5cab9ae366d983f8243e1dfc"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"total\": 2,\n        \"results\": [\n            {\n                \"id\": \"a7dcb49d-1f0f-43dc-81dd-68e02335edc9\",\n                \"deletedDate\": null,\n                \"name\": \"Acme Child Org\",\n                \"organizationNumber\": 1752,\n                \"industry\": \"tech\",\n                \"managementAlias\": \"acme.acmechild\",\n                \"organizationType\": \"child\",\n                \"active\": true,\n                \"creditLimit\": 100000000,\n                \"businessType\": {\n                    \"name\": \"Limited Company\",\n                    \"country\": \"Pakistan\"\n                },\n                \"parentOrganizations\": {\n                    \"parentOrganizationId\": \"df35ced3-42a8-4e29-9f03-998772892dff\"\n                }\n            },\n            {\n                \"id\": \"5fbded24-8d4e-4af3-8684-2acd75e322e4\",\n                \"deletedDate\": null,\n                \"name\": \"Acme Child Org 2\",\n                \"organizationNumber\": 1751,\n                \"industry\": \"tech\",\n                \"managementAlias\": \"acme.acmechildtwo\",\n                \"organizationType\": \"child\",\n                \"active\": true,\n                \"creditLimit\": 100000000,\n                \"businessType\": {\n                    \"name\": \"Limited Company\",\n                    \"country\": \"Pakistan\"\n                },\n                \"parentOrganizations\": {\n                    \"parentOrganizationId\": \"df35ced3-42a8-4e29-9f03-998772892dff\"\n                }\n            }\n        ]\n    },\n    \"message\": \"Success\",\n    \"status\": \"success\",\n    \"code\": 200\n}"}],"_postman_id":"a53e57dc-5433-4467-a054-cfbd663b3bff"},{"name":"Create Sub Organization","id":"5cb23e8f-c904-444e-b754-feace4228b04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"usman mota\",\n    \"industry\": \"tech\",\n    \"businessTypeId\": \"ab4d503f-bf9f-4a95-aeb3-20817776bc7c\",\n    \"address\": \"Lahore\",\n    \"city\": \"Lahore\",\n    \"email\": \"asad.ali@abhi.com\",\n    \"phone\": \"\",\n    \"managementAlias\": \"usmanmota\",\n    \"creditLimit\": 100000000\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}open-api/organizations","description":"<p>This is a HTTP request to the API endpoint <code>/connect/organization</code>.</p>\n<p>The request body contains a JSON object with information about a new organization being created, including the organization's <strong>name, industry, business type ID, address, city, email, phone, management alias,</strong> and <strong>credit limit.</strong></p>\n<p>The response body is also a JSON object, containing information about the success of the request. The response code is 200, indicating success. The response includes a message stating that the organization was created successfully, as well as information about the admin and operator users that were created for the new organization. These users have email addresses and passwords associated with them.</p>\n","urlObject":{"path":["organizations"],"host":["{{url}}open-api"],"query":[],"variable":[]}},"response":[{"id":"46e35d17-badc-40e0-90a9-3752ead45208","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Acme Child 3\",\n    \"industry\": \"tech\",\n    \"businessTypeId\": \"ab4d503f-bf9f-4a95-aeb3-20817776bc7c\",\n    \"address\": \"Lahore\",\n    \"city\": \"Lahore\",\n    \"email\": \"\",\n    \"phone\": \"\",\n    \"managementAlias\": \"acmechildfour\",\n    \"creditLimit\": 100000000\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}open-api/organizations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 12:46:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"755"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"1ebbd2d2-f232-4b6d-a464-fe27ea1d6f47"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"x-frame-options","value":"DENY"},{"key":"content-security-policy","value":"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'"},{"key":"x-amz-apigw-id","value":"BdmBbHPfjoEF31Q="},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640883a2-38bed84f47bb54955ab01b63"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"message\": \"organization created successfully\",\n        \"users\": {\n            \"admin\": {\n                \"email\": \"acme.acmechildfour-admin@abhi.com.pk\",\n                \"password\": \"!1u4#e8r\"\n            },\n            \"operator\": {\n                \"email\": \"acme.acmechildfour-ops@abhi.com.pk\",\n                \"password\": \"c353ep#@\"\n            }\n        }\n    },\n    \"message\": \"Success\",\n    \"status\": \"success\",\n    \"code\": 200\n}"}],"_postman_id":"5cb23e8f-c904-444e-b754-feace4228b04"}],"id":"55b7c136-ce50-44e8-96dc-f1c5b4f9c854","description":"<p>API reference for Organizations endpoints</p>\n","_postman_id":"55b7c136-ce50-44e8-96dc-f1c5b4f9c854","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}}},{"name":"Miscellaneous","item":[{"name":"Get All Banks","id":"fe9acc9a-6860-452e-8fdd-271abd1f02ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}open-api/banks?limit=100&page=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}},"urlObject":{"path":["banks"],"host":["{{url}}open-api"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"4702c85f-c021-480d-be72-e930b9d2039a","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}open-api/banks?limit=100&page=1","host":["{{url}}open-api"],"path":["banks"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 12:43:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1459"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"5623dd8e-d6c3-49ab-97b2-7d3cc7ebcd44"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Content-Encoding","value":"gzip"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"x-frame-options","value":"DENY"},{"key":"content-security-policy","value":"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'"},{"key":"x-amz-apigw-id","value":"BdlphFLSDoEFk2g="},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-64088309-13475acc3449cad0181fd89c"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"total\": 44,\n        \"results\": [\n            {\n                \"id\": \"2017c350-e1e4-423f-9d1c-a7826a1dab66\",\n                \"bankName\": \"Al Baraka Bank Limited\"\n            },\n            {\n                \"id\": \"29071df0-5f3f-4141-bf17-f8e9df862f3d\",\n                \"bankName\": \"Allied Bank Limited\"\n            },\n            {\n                \"id\": \"c9a42ee4-f4c6-4d8c-ac64-1d638d37c730\",\n                \"bankName\": \"Apna Microfinance Bank\"\n            },\n            {\n                \"id\": \"0f479fb3-4bde-47a4-b719-accaec88ca19\",\n                \"bankName\": \"Askari Commercial Bank Limited\"\n            },\n            {\n                \"id\": \"8b6ede88-44d3-4d02-b20f-4dd4314c6d63\",\n                \"bankName\": \"Bank Alfalah Limited\"\n            },\n            {\n                \"id\": \"8c6326a6-420a-44ce-b93b-b0b6251ba9e9\",\n                \"bankName\": \"Bank AL Habib Limited\"\n            },\n            {\n                \"id\": \"9efa288e-d085-4320-8fe4-e71934604f05\",\n                \"bankName\": \"Bank Islami Pakistan Limited\"\n            },\n            {\n                \"id\": \"e9614021-d2f5-4fa1-b084-148dc125b9d8\",\n                \"bankName\": \"Bank of Khyber\"\n            },\n            {\n                \"id\": \"5c2bd95d-b440-48fc-9274-053e660e38df\",\n                \"bankName\": \"Bank of Punjab\"\n            },\n            {\n                \"id\": \"3eca6b8b-9819-4b2e-a5d2-5fe6f47b632e\",\n                \"bankName\": \"Citi Bank\"\n            },\n            {\n                \"id\": \"58ca37d7-9414-43f9-9170-2722f4b2039f\",\n                \"bankName\": \"Dubai Islamic Bank Pakistan Limited\"\n            },\n            {\n                \"id\": \"eccaf78a-a0b2-4a7c-880f-1f0aaf87b869\",\n                \"bankName\": \"EasyPaisa\"\n            },\n            {\n                \"id\": \"554fce39-33a6-4a0c-a3e3-bdd7c1bc98fc\",\n                \"bankName\": \"Faysal Bank\"\n            },\n            {\n                \"id\": \"e9c4543d-e259-4ddf-8665-98533a1bfa3a\",\n                \"bankName\": \"FINCA\"\n            },\n            {\n                \"id\": \"ca1f5c02-7747-49ff-a9d1-4a0887bed598\",\n                \"bankName\": \"Finja\"\n            },\n            {\n                \"id\": \"598ec287-339f-4554-8c9f-a385b06f1f56\",\n                \"bankName\": \"First Microfinance Bank\"\n            },\n            {\n                \"id\": \"b4176d60-b08d-4a06-86eb-825ea703e703\",\n                \"bankName\": \"First Women Bank Limited\"\n            },\n            {\n                \"id\": \"b24750fd-3863-4b71-8c16-d0fc92743d8b\",\n                \"bankName\": \"Habib Bank Limited\"\n            },\n            {\n                \"id\": \"93a13f48-c62e-43a1-91ec-a1294842c044\",\n                \"bankName\": \"Habib Metropolitan Bank Limited\"\n            },\n            {\n                \"id\": \"c0c82d0d-d733-409b-8ce1-2c2d193af03f\",\n                \"bankName\": \"ICBC\"\n            },\n            {\n                \"id\": \"a6f4a22f-8ce0-4fef-9dde-a84713c8194f\",\n                \"bankName\": \"JazzCash\"\n            },\n            {\n                \"id\": \"c5cf99f9-d853-4d1b-8a1f-1afff7c3dd6d\",\n                \"bankName\": \"JS Bank\"\n            },\n            {\n                \"id\": \"7dc03eb8-2c11-47d1-a4a8-932800371ea2\",\n                \"bankName\": \"MCB Bank Limited\"\n            },\n            {\n                \"id\": \"0a0dd418-9ff5-4644-850e-655dcd789596\",\n                \"bankName\": \"MCB Islamic Bank\"\n            },\n            {\n                \"id\": \"2a68fc64-fb0d-4362-b193-e95de222c321\",\n                \"bankName\": \"Meezan Bank Limited\"\n            },\n            {\n                \"id\": \"b9beda1d-604b-4bc1-9449-0c1d24e611c3\",\n                \"bankName\": \"National Bank of Pakistan\"\n            },\n            {\n                \"id\": \"247cbe4a-cab1-49e6-a3ff-1075e916da52\",\n                \"bankName\": \"NRSP Bank\"\n            },\n            {\n                \"id\": \"35df8f19-577d-4017-8a52-30f9ad9ef223\",\n                \"bankName\": \"SAMBA\"\n            },\n            {\n                \"id\": \"1694afcf-832a-4837-993f-42b426c8b1ee\",\n                \"bankName\": \"Silk Bank\"\n            },\n            {\n                \"id\": \"f12ca087-6380-45ed-a2e1-1640c77f2970\",\n                \"bankName\": \"Sindh Bank\"\n            },\n            {\n                \"id\": \"e3f8fe57-f430-4243-9891-56c7dbe0a62e\",\n                \"bankName\": \"Soneri Bank Limited\"\n            },\n            {\n                \"id\": \"c0285d50-26aa-4d4c-95e5-7ab218edc71e\",\n                \"bankName\": \"Standard Chartered\"\n            },\n            {\n                \"id\": \"92b25570-3318-4e9f-bf33-c2dc691f5630\",\n                \"bankName\": \"Summit Bank\"\n            },\n            {\n                \"id\": \"a1cb0fa6-2977-4884-82ec-42e24be5a440\",\n                \"bankName\": \"Ubank\"\n            },\n            {\n                \"id\": \"121ac05e-9f6f-4216-b0cf-70b8e740e5c2\",\n                \"bankName\": \"United Bank Limited\"\n            }\n        ]\n    },\n    \"message\": \"Success\",\n    \"status\": \"success\",\n    \"code\": 200\n}"}],"_postman_id":"fe9acc9a-6860-452e-8fdd-271abd1f02ef"},{"name":"Get All Bussines Types","id":"4c8a7c80-2cbe-4bcd-aaec-54c09bec35c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}open-api/business","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}},"urlObject":{"path":["business"],"host":["{{url}}open-api"],"query":[{"disabled":true,"key":"limit","value":"100"},{"disabled":true,"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"501eb6d5-3ac0-4a0b-ad69-065eaa7ddfe0","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}open-api/business?limit=100&page=1","host":["{{url}}open-api"],"path":["business"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 12:44:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"815"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"bc12fef5-60c0-453d-b74f-d06b474ef7cb"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"x-frame-options","value":"DENY"},{"key":"content-security-policy","value":"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'"},{"key":"x-amz-apigw-id","value":"BdlwvG0LDoEFgeg="},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-64088337-60aff97a2f7131337bc08594"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"total\": 6,\n        \"results\": [\n            {\n                \"id\": \"efa52d51-081b-44d9-9ce8-253329a17e61\",\n                \"businessName\": \"Partnership Deed\",\n                \"description\": null,\n            },\n            {\n                \"id\": \"b720e7b2-0dfc-4215-bfcf-6540f239cf25\",\n                \"businessName\": \"NGO’s/Club/Trust\",\n                \"description\": null\n            },\n            {\n                \"id\": \"ab4d503f-bf9f-4a95-aeb3-20817776bc7c\",\n                \"businessName\": \"Limited Company\",\n                \"description\": null\n            },\n            {\n                \"id\": \"b407d2a3-f3ca-49da-a8b0-cdeab338dd28\",\n                \"businessName\": \"Partnership Concern\",\n                \"description\": null\n            },\n            {\n                \"id\": \"418ce2e0-59e6-42be-b27d-9ed5eaa3a762\",\n                \"businessName\": \"Proprietorship Concern/Individual (Self-employed)\",\n                \"description\": null\n            },\n            {\n                \"id\": \"6bc427c2-9095-47b3-bcab-e8e9209868ba\",\n                \"businessName\": \"Government / Semi Government (Must go through EnterpriseChannel)\",\n                \"description\": null\n            }\n        ]\n    },\n    \"message\": \"Success\",\n    \"status\": \"success\",\n    \"code\": 200\n}"}],"_postman_id":"4c8a7c80-2cbe-4bcd-aaec-54c09bec35c7"}],"id":"68292242-7c29-4194-8bce-2f5c4d53822f","description":"<p>Miscellaneous API reference for endpoints</p>\n","_postman_id":"68292242-7c29-4194-8bce-2f5c4d53822f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}}},{"name":"Users","item":[{"name":"Open Api VerifyCNICIssueDate","id":"f5c8fe09-8f47-45b9-b79e-37fb53f18324","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"cnicIssuanceDate\": \"yyyy-MM-dd\",\r\n    \"phone\": \"+923xxxxxxx\", // incase phone was not available already\r\n    \"otp\": \"123456\", // incase of otp verification\r\n    \"id\": \"userId here\" //incase of admin user\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}open-api/verify/cnic","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}},"urlObject":{"path":["verify","cnic"],"host":["{{url}}open-api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5c8fe09-8f47-45b9-b79e-37fb53f18324"},{"name":"Open Api Verify Questions","id":"1aeeeb69-9436-4dea-a64c-9ace59d17439","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"motherName\": \"ABC\",\r\n    \"birthPlace\": \"Lahore\",\r\n    \"id\": \"userId\" // incase of admin user\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}open-api/verify/questions","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}},"urlObject":{"path":["verify","questions"],"host":["{{url}}open-api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1aeeeb69-9436-4dea-a64c-9ace59d17439"}],"id":"723a4b9c-a00b-4a78-b2f7-3266cf304ccb","_postman_id":"723a4b9c-a00b-4a78-b2f7-3266cf304ccb","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}}},{"name":"Login Thirdparty","event":[{"listen":"test","script":{"id":"f3a31898-88fa-4842-8fca-28b90213de47","exec":["var res = pm.response.json();","pm.globals.set(\"token\", res.data.token);","pm.globals.set(\"bankAccountID\", res?.data?.data?.employee?.selectedBankAccount?.id);","","pm.test(\"Verify Respone time and status\", () => {","    pm.response.to.have.status(200);","    pm.expect(pm.response.responseTime).to.be.below(1400);","})","","pm.test(\"Verify Response Body\", () => {","    pm.response.body.to.be.json","})"],"type":"text/javascript","packages":{}}}],"id":"d69b5018-e35d-4777-b356-cf407a25e9b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"newapiuattesting-ops@abhi.ae\",\n    \"password\": \"5o9c#!2j\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}open-api/login","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","id":"255d7a4b-840d-41e4-82d1-8ff5d5e96dc2","name":"Abhi Open API","type":"collection"}},"urlObject":{"path":["login"],"host":["{{url}}open-api"],"query":[],"variable":[]}},"response":[{"id":"74d2207e-0c05-49ee-a823-0ea6fd06ce22","name":"Employee Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"acme-admin@abhi.com.pk\",\n    \"password\": \"#7r8!w8n\",\n    \"cnic\": \"4210187123176\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}open-api/login"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"token\": \"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImU3YmUzMWI3LTM0ZmEtNDExMC1hZGMwLWU0OGM4NjFhYzNjYyIsImluaXRpYXRvciI6ImV4dGVybmFsX3NvdXJjZSIsImFsbG93TXVsdGlsb2dpbiI6ZmFsc2UsImlhdCI6MTY3ODM0MTcwNCwiZXhwIjoxNjc4NDI4MTA0LCJhdWQiOiJhYmhpLmNvbS5wayIsImlzcyI6IkFiaGkgUHZ0LiBMdGQuIiwic3ViIjoiZTdiZTMxYjctMzRmYS00MTEwLWFkYzAtZTQ4Yzg2MWFjM2NjIn0.xKzd4StJCoIVFtJqeXRraxO9lHa15lDavdTv1S8GIGSZ3hEijWbcEJQeOa-ZGuzR_DYgXasDhwrxInBLza3GJg\"\n    },\n    \"message\": \"Successfully logged in!\",\n    \"status\": \"success\",\n    \"code\": 200\n}"},{"id":"88b72909-edfa-493d-a368-2e91c517c04a","name":"Employer Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"acme-admin@abhi.com.pk\",\n    \"password\": \"#7r8!w8n\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}open-api/login"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": {\r\n        \"token\": \"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImU3YmUzMWI3LTM0ZmEtNDExMC1hZGMwLWU0OGM4NjFhYzNjYyIsImluaXRpYXRvciI6ImV4dGVybmFsX3NvdXJjZSIsImFsbG93TXVsdGlsb2dpbiI6ZmFsc2UsImlhdCI6MTY3ODM0MTcwNCwiZXhwIjoxNjc4NDI4MTA0LCJhdWQiOiJhYmhpLmNvbS5wayIsImlzcyI6IkFiaGkgUHZ0LiBMdGQuIiwic3ViIjoiZTdiZTMxYjctMzRmYS00MTEwLWFkYzAtZTQ4Yzg2MWFjM2NjIn0.xKzd4StJCoIVFtJqeXRraxO9lHa15lDavdTv1S8GIGSZ3hEijWbcEJQeOa-ZGuzR_DYgXasDhwrxInBLza3GJg\"\r\n    },\r\n    \"message\": \"Successfully logged in!\",\r\n    \"status\": \"success\",\r\n    \"code\": 200\r\n}"}],"_postman_id":"d69b5018-e35d-4777-b356-cf407a25e9b2"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]}},"event":[{"listen":"prerequest","script":{"id":"0693f1a1-b0b3-4081-aa04-0fb1891b6a11","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4f135cc5-1ff2-43be-b142-9b2716262eeb","type":"text/javascript","exec":[""]}}]}