{"info":{"_postman_id":"23438ab5-9a56-414d-b0e9-c3216ce3b5c8","name":"Bank Loans Management","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"24525817","collectionId":"23438ab5-9a56-414d-b0e9-c3216ce3b5c8","publishedId":"2s9Ykt5z8g","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-12-26T20:51:16.000Z"},"item":[{"name":"Authentication","item":[{"name":"Token refresh","event":[{"listen":"prerequest","script":{"id":"c36aaac3-1543-4c81-b223-3579303cc55a","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"80de00fb-20b6-470f-bfdf-76a112ae6644","exec":["pm.environment.unset(\"ACCESS_TOKEN\");"],"type":"text/javascript"}}],"id":"6a5ba959-c23d-4ade-b7aa-f143e0844b34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/auth/api/v1/token/refresh","urlObject":{"path":["auth","api","v1","token","refresh"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a5ba959-c23d-4ade-b7aa-f143e0844b34"},{"name":"Login","event":[{"listen":"prerequest","script":{"id":"c36aaac3-1543-4c81-b223-3579303cc55a","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"80de00fb-20b6-470f-bfdf-76a112ae6644","exec":["let response = pm.response.json();","if (response.status_code === 200)","pm.environment.set(\"ACCESS_TOKEN\", response.data.access_token);"],"type":"text/javascript"}}],"id":"083e3bdf-09eb-46da-99bf-008328b29171","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"cust\",\n    \"password\": \"test12345\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/auth/api/v1/login","urlObject":{"path":["auth","api","v1","login"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"083e3bdf-09eb-46da-99bf-008328b29171"},{"name":"Logout","event":[{"listen":"prerequest","script":{"id":"c36aaac3-1543-4c81-b223-3579303cc55a","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"80de00fb-20b6-470f-bfdf-76a112ae6644","exec":["pm.environment.unset(\"ACCESS_TOKEN\");"],"type":"text/javascript"}}],"id":"6ddf6cb9-608d-480d-ac1a-ceccf9872723","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/auth/api/v1/logout","urlObject":{"path":["auth","api","v1","logout"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ddf6cb9-608d-480d-ac1a-ceccf9872723"}],"id":"ac01e627-e6d2-476d-9f8b-94e580543746","_postman_id":"ac01e627-e6d2-476d-9f8b-94e580543746","description":""},{"name":"Users","item":[{"name":"Bank personnel","item":[{"name":"List","id":"c26019d7-7f76-42b4-b2ed-e893cfd4338b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/auth/api/v1/bank-personnels","urlObject":{"path":["auth","api","v1","bank-personnels"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c26019d7-7f76-42b4-b2ed-e893cfd4338b"},{"name":"Retrieve","id":"b057ab06-5f11-476f-862d-3d3710ca0505","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/auth/api/v1/bank-personnels/735bca14-7d5c-49ca-ae80-6829cbc24316","urlObject":{"path":["auth","api","v1","bank-personnels","735bca14-7d5c-49ca-ae80-6829cbc24316"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b057ab06-5f11-476f-862d-3d3710ca0505"},{"name":"Create","id":"3053c6d0-bb4f-4f45-a1f2-57e6cf13e0fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"branch\": \"0451312b-ba9a-4f8a-99cb-6f1e8881e6cd\",\n    \"user\": {\n        \"first_name\": \"Ahmed\",\n        \"last_name\": \"Ezzat\",\n        \"username\": \"bank_person1\",\n        \"email\": \"person@bank.com\",\n        \"password\": \"test12345\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/auth/api/v1/bank-personnels/register","urlObject":{"path":["auth","api","v1","bank-personnels","register"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3053c6d0-bb4f-4f45-a1f2-57e6cf13e0fb"}],"id":"051d42ab-fcfa-4479-ae98-a1405cff445e","_postman_id":"051d42ab-fcfa-4479-ae98-a1405cff445e","description":""},{"name":"Loan providers","item":[{"name":"List","id":"7c65bbb0-ffa7-4ce8-940f-b38d510778c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/auth/api/v1/loan-providers","urlObject":{"path":["auth","api","v1","loan-providers"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7c65bbb0-ffa7-4ce8-940f-b38d510778c9"},{"name":"Retrieve","id":"b0324b5b-13d2-4066-8c18-7efe7511993f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/auth/api/v1/loan-providers/bf4b3755-da8e-4ada-9fc2-aa539b0a71e6","urlObject":{"path":["auth","api","v1","loan-providers","bf4b3755-da8e-4ada-9fc2-aa539b0a71e6"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b0324b5b-13d2-4066-8c18-7efe7511993f"},{"name":"Create","id":"53d5ee6a-b73b-4e66-bc40-7ff8cf668d4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name_en\": \"2B\",\n    \"name_ar\": \"تو بي\",\n    \"total_funds\": 50000,\n    \"registration_number\": \"785612\",\n    \"vat_number\": \"87878834\",\n    \"bank\": \"9758558c-9e05-43a0-b8c5-4bf4fce8fbbd\",\n    \"user\": {\n        \"first_name\": \"Ahmed\",\n        \"last_name\": \"Ezzat\",\n        \"username\": \"prov\",\n        \"email\": \"prov@test.com\",\n        \"password\": \"test12345\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/auth/api/v1/loan-providers/register","urlObject":{"path":["auth","api","v1","loan-providers","register"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"53d5ee6a-b73b-4e66-bc40-7ff8cf668d4c"}],"id":"5dcde945-fff0-4dbe-b936-e33dd5729137","_postman_id":"5dcde945-fff0-4dbe-b936-e33dd5729137","description":""},{"name":"Loan customers","item":[{"name":"List","id":"2593a2a4-9110-4726-9352-a1d740e15e34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/auth/api/v1/loan-customers","urlObject":{"path":["auth","api","v1","loan-customers"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2593a2a4-9110-4726-9352-a1d740e15e34"},{"name":"Retrieve","id":"12717aa6-2c9c-4456-ac61-231700294a5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/auth/api/v1/loan-customers/7f6a97c2-5172-48fb-af93-c5d37373385b","urlObject":{"path":["auth","api","v1","loan-customers","7f6a97c2-5172-48fb-af93-c5d37373385b"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"12717aa6-2c9c-4456-ac61-231700294a5c"},{"name":"Create","id":"7c11f0ce-0ac0-4afb-ae9c-3a2d5fefd6cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"ssn\": \"30101242100153\",\n    \"credit_score\": 600,\n    \"monthly_income\": 5000,\n    \"bank\": \"9758558c-9e05-43a0-b8c5-4bf4fce8fbbd\",\n    \"user\": {\n        \"first_name\": \"Ahmed\",\n        \"last_name\": \"Ezzat\",\n        \"username\": \"cust\",\n        \"email\": \"cust@test.com\",\n        \"password\": \"test12345\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/auth/api/v1/loan-customers/register","urlObject":{"path":["auth","api","v1","loan-customers","register"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7c11f0ce-0ac0-4afb-ae9c-3a2d5fefd6cc"}],"id":"2aa9b34f-e310-4d6e-82e2-54cba22d144a","_postman_id":"2aa9b34f-e310-4d6e-82e2-54cba22d144a","description":""}],"id":"68930423-50fd-4082-a1a8-4a25dbb064ae","_postman_id":"68930423-50fd-4082-a1a8-4a25dbb064ae","description":""},{"name":"Applications","item":[{"name":"Providers","item":[{"name":"List Provider Applications","id":"948162ee-50de-4639-8b99-fbc9ad3b9647","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/providers/applications","urlObject":{"path":["api","v1","providers","applications"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"948162ee-50de-4639-8b99-fbc9ad3b9647"},{"name":"Retrieve Provider Application","id":"f37a0ea7-e9e7-4603-b102-b3c4876aee6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/providers/applications/ecf4665d-7300-4d15-aa2c-1c064b185bd8","urlObject":{"path":["api","v1","providers","applications","ecf4665d-7300-4d15-aa2c-1c064b185bd8"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f37a0ea7-e9e7-4603-b102-b3c4876aee6f"},{"name":"Approve Provider Application","id":"a79e148e-b7e1-46e0-b18e-03c7e702bb68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/providers/applications/ecf4665d-7300-4d15-aa2c-1c064b185bd8/approve","urlObject":{"path":["api","v1","providers","applications","ecf4665d-7300-4d15-aa2c-1c064b185bd8","approve"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a79e148e-b7e1-46e0-b18e-03c7e702bb68"},{"name":"Reject Provider Application","id":"c57f22f5-a00f-47a2-8124-1295538b5b8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/providers/applications/ecf4665d-7300-4d15-aa2c-1c064b185bd8/reject","urlObject":{"path":["api","v1","providers","applications","ecf4665d-7300-4d15-aa2c-1c064b185bd8","reject"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c57f22f5-a00f-47a2-8124-1295538b5b8f"}],"id":"7fcdeaff-9f8b-4195-8947-20219e85790f","_postman_id":"7fcdeaff-9f8b-4195-8947-20219e85790f","description":""},{"name":"Customers","item":[{"name":"List Customer Applications","id":"5f062e61-11c1-4a89-8365-492b74d1ad7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/customers/applications","urlObject":{"path":["api","v1","customers","applications"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f062e61-11c1-4a89-8365-492b74d1ad7d"},{"name":"Retrieve Customer Application","id":"5cc894d9-dff6-4475-b531-6a1ce14dd091","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/customers/applications/ecf4665d-7300-4d15-aa2c-1c064b185bd8","urlObject":{"path":["api","v1","customers","applications","ecf4665d-7300-4d15-aa2c-1c064b185bd8"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5cc894d9-dff6-4475-b531-6a1ce14dd091"},{"name":"Approve Customer Application","id":"3857ecca-0a0e-4368-90fc-edb834e17a99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/customers/applications/1eaf922c-6c18-41d1-86d1-a0f611ff638e/approve","urlObject":{"path":["api","v1","customers","applications","1eaf922c-6c18-41d1-86d1-a0f611ff638e","approve"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3857ecca-0a0e-4368-90fc-edb834e17a99"},{"name":"Reject Customer Application","id":"f5ec7aa6-6696-4a1e-bc5e-a4692c84ed43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/customers/applications/ecf4665d-7300-4d15-aa2c-1c064b185bd8/reject","urlObject":{"path":["api","v1","customers","applications","ecf4665d-7300-4d15-aa2c-1c064b185bd8","reject"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5ec7aa6-6696-4a1e-bc5e-a4692c84ed43"}],"id":"55b4c5ff-1fd4-4b6c-982b-b0639c30668c","_postman_id":"55b4c5ff-1fd4-4b6c-982b-b0639c30668c","description":""},{"name":"Loans","item":[{"name":"List Loan Applications","id":"b0e6605e-0e68-445f-af23-66832ef11488","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/loans/applications?status=","urlObject":{"path":["api","v1","loans","applications"],"host":["{{BASE_URL}}"],"query":[{"description":{"content":"<p>pending, released, approved</p>\n","type":"text/plain"},"key":"status","value":""}],"variable":[]}},"response":[],"_postman_id":"b0e6605e-0e68-445f-af23-66832ef11488"},{"name":"Retrieve Loan Application","id":"2ba34adf-68fe-4ce9-b31b-8dd002f8a7a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/loans/applications/c5fcbbd1-765a-4956-8c33-02f68d109b2d","urlObject":{"path":["api","v1","loans","applications","c5fcbbd1-765a-4956-8c33-02f68d109b2d"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ba34adf-68fe-4ce9-b31b-8dd002f8a7a3"},{"name":"Approve Loan Application","id":"0f9a5967-f845-4b65-9d93-1c63fa7ba6b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/loans/applications/c6f9751f-e016-4a3e-a4fd-26986fdf1643/approve","urlObject":{"path":["api","v1","loans","applications","c6f9751f-e016-4a3e-a4fd-26986fdf1643","approve"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f9a5967-f845-4b65-9d93-1c63fa7ba6b2"},{"name":"Reject Loan Application","id":"9cf92b4b-596d-4fd4-8e83-a6fd93c96d10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/loans/applications/c5fcbbd1-765a-4956-8c33-02f68d109b2d/reject","urlObject":{"path":["api","v1","loans","applications","c5fcbbd1-765a-4956-8c33-02f68d109b2d","reject"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9cf92b4b-596d-4fd4-8e83-a6fd93c96d10"},{"name":"Release Loan Application","id":"80397c1d-bca6-40f2-9c4e-8e5b0250e075","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/loans/applications/e0221b04-2e93-49db-8f62-8ac8a775a54a/release","urlObject":{"path":["api","v1","loans","applications","e0221b04-2e93-49db-8f62-8ac8a775a54a","release"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"80397c1d-bca6-40f2-9c4e-8e5b0250e075"},{"name":"Disburse Loan Application","id":"2a47b242-4183-4830-b4a9-ddf5c7b802fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/loans/applications/afa440a6-7e9c-49c4-9c45-7e107a346ac4/disburse","urlObject":{"path":["api","v1","loans","applications","afa440a6-7e9c-49c4-9c45-7e107a346ac4","disburse"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a47b242-4183-4830-b4a9-ddf5c7b802fa"}],"id":"e479caef-4c1b-4b88-a315-34c79141f9fe","_postman_id":"e479caef-4c1b-4b88-a315-34c79141f9fe","description":""}],"id":"ca5faf5d-e021-48c9-9ca3-3d6f9600c3f4","_postman_id":"ca5faf5d-e021-48c9-9ca3-3d6f9600c3f4","description":""},{"name":"Loan plans","item":[{"name":"List","id":"f3d151f8-2afd-4ff5-a632-fd8c7a94738e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/loan-plans","urlObject":{"path":["api","v1","loan-plans"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f3d151f8-2afd-4ff5-a632-fd8c7a94738e"},{"name":"Retrieve","id":"07bbdfbd-bba6-4c21-a4b9-ebbf535aa793","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/loan-plans/47e30741-1297-459a-b563-633dbba062de","urlObject":{"path":["api","v1","loan-plans","47e30741-1297-459a-b563-633dbba062de"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"07bbdfbd-bba6-4c21-a4b9-ebbf535aa793"},{"name":"Create","id":"6c6687f3-30e5-43ce-9634-f079a4995e06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"minimum_amount\": 1000,\n    \"maximum_amount\": 5000,\n    \"duration_in_months\": 12,\n    \"annual_interest_rate\": 3.5\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v1/loan-plans","urlObject":{"path":["api","v1","loan-plans"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6c6687f3-30e5-43ce-9634-f079a4995e06"}],"id":"4d996629-f998-46ed-b2f5-a4866f0634b9","_postman_id":"4d996629-f998-46ed-b2f5-a4866f0634b9","description":""},{"name":"Loans","item":[{"name":"List","id":"fd58c858-f5ac-420c-9e97-d0c689b6bc99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/loans","urlObject":{"path":["api","v1","loans"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd58c858-f5ac-420c-9e97-d0c689b6bc99"},{"name":"Retrieve","id":"6aeb9594-1ea1-42a6-956a-3581073ef76a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/loans/afa440a6-7e9c-49c4-9c45-7e107a346ac4","urlObject":{"path":["api","v1","loans","afa440a6-7e9c-49c4-9c45-7e107a346ac4"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6aeb9594-1ea1-42a6-956a-3581073ef76a"},{"name":"Create","id":"2b396c12-c58b-4d40-a01b-a2e0f4c19791","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"purpose\": \"For test\",\n    \"amount\": 240000,\n    \"plan\": \"e4e2d12b-a75c-4853-81ef-4290f31c8db8\",\n    \"provider\": \"ecf4665d-7300-4d15-aa2c-1c064b185bd8\",\n    \"customer\": \"1eaf922c-6c18-41d1-86d1-a0f611ff638e\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v1/loans","urlObject":{"path":["api","v1","loans"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b396c12-c58b-4d40-a01b-a2e0f4c19791"}],"id":"efcfba8c-4f9a-4779-b8c0-c2d69eec67b5","_postman_id":"efcfba8c-4f9a-4779-b8c0-c2d69eec67b5","description":""},{"name":"Loan payment","item":[{"name":"List","id":"04550f8e-7b4c-4e12-a452-f7672e6550b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/loans/e0221b04-2e93-49db-8f62-8ac8a775a54a/payments","urlObject":{"path":["api","v1","loans","e0221b04-2e93-49db-8f62-8ac8a775a54a","payments"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"04550f8e-7b4c-4e12-a452-f7672e6550b0"},{"name":"Retrieve","id":"fd2fab24-893a-42e0-98e3-cb6347898bca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/loans/afa440a6-7e9c-49c4-9c45-7e107a346ac4/payments/","urlObject":{"path":["api","v1","loans","afa440a6-7e9c-49c4-9c45-7e107a346ac4","payments",""],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd2fab24-893a-42e0-98e3-cb6347898bca"},{"name":"Next payment","id":"e283a2ec-5690-4b20-980c-64ddae2a5a12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/loans/e0221b04-2e93-49db-8f62-8ac8a775a54a/payments/next-payment","urlObject":{"path":["api","v1","loans","e0221b04-2e93-49db-8f62-8ac8a775a54a","payments","next-payment"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e283a2ec-5690-4b20-980c-64ddae2a5a12"},{"name":"Pay","id":"acd239f6-9568-456b-a056-2938fc61cac4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept-Language","value":"ar","type":"text"}],"url":"{{BASE_URL}}/api/v1/loans/e0221b04-2e93-49db-8f62-8ac8a775a54a/payments/071e2874-2bc7-4d03-9d7c-585b6513ea43/pay","urlObject":{"path":["api","v1","loans","e0221b04-2e93-49db-8f62-8ac8a775a54a","payments","071e2874-2bc7-4d03-9d7c-585b6513ea43","pay"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"acd239f6-9568-456b-a056-2938fc61cac4"}],"id":"c6465691-87c8-4cfb-ae1f-1cdd04a6e6d4","_postman_id":"c6465691-87c8-4cfb-ae1f-1cdd04a6e6d4","description":""},{"name":"Amortization schedule","item":[{"name":"List amortization schedule","id":"f6907d7d-52cc-45d7-85e7-2b6ecd4ad21a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/api/v1/loans/afa440a6-7e9c-49c4-9c45-7e107a346ac4/amortization-schedule?is_paid=&paid_at&paid_at__gte&paid_at__lte&installment_number=&installment_number__gte&installment_number__lte","urlObject":{"path":["api","v1","loans","afa440a6-7e9c-49c4-9c45-7e107a346ac4","amortization-schedule"],"host":["{{BASE_URL}}"],"query":[{"disabled":true,"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":""},{"description":{"content":"<p>true or false</p>\n","type":"text/plain"},"key":"is_paid","value":""},{"description":{"content":"<p>Exact datetime</p>\n","type":"text/plain"},"key":"paid_at","value":null},{"description":{"content":"<p>Greater than or equal datetime</p>\n","type":"text/plain"},"key":"paid_at__gte","value":null},{"description":{"content":"<p>Less than or equal datetime</p>\n","type":"text/plain"},"key":"paid_at__lte","value":null},{"description":{"content":"<p>Exact integer</p>\n","type":"text/plain"},"key":"installment_number","value":""},{"description":{"content":"<p>Greater than or equal integer</p>\n","type":"text/plain"},"key":"installment_number__gte","value":null},{"description":{"content":"<p>Less than or equal integer</p>\n","type":"text/plain"},"key":"installment_number__lte","value":null}],"variable":[]}},"response":[],"_postman_id":"f6907d7d-52cc-45d7-85e7-2b6ecd4ad21a"}],"id":"b7547164-546d-47e6-88aa-1c9a13d89270","_postman_id":"b7547164-546d-47e6-88aa-1c9a13d89270","description":""}]}