{"info":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"40594386","collectionId":"d088ce8d-0e61-43d6-b9e3-f81505252466","publishedId":"2sBXiqEojJ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-04-06T04:42:24.000Z"},"item":[{"name":"Auth","item":[{"name":"Login","event":[{"listen":"test","script":{"id":"2f3db392-a87c-460f-b824-5baff89ed90f","exec":["const res = pm.response.json();\r","pm.environment.set(\"token\", res.data.token);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"4fba0335-6063-4e1b-9f25-6ba5ddfcc0dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"admin@test.com\",\r\n  \"password\": \"secret123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/auth/login","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d29d6e55-dba8-456c-a147-28488685ac87","id":"d29d6e55-dba8-456c-a147-28488685ac87","name":"Auth","type":"folder"}},"urlObject":{"path":["api","auth","login"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4fba0335-6063-4e1b-9f25-6ba5ddfcc0dc"},{"name":"Register","id":"752d2e8c-8d76-451a-b534-30ec89eeea16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"John Doe\",\r\n  \"email\": \"john@example.com\",\r\n  \"password\": \"secret123\",\r\n  \"role\": \"viewer\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/auth/register","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d29d6e55-dba8-456c-a147-28488685ac87","id":"d29d6e55-dba8-456c-a147-28488685ac87","name":"Auth","type":"folder"}},"urlObject":{"path":["api","auth","register"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"752d2e8c-8d76-451a-b534-30ec89eeea16"}],"id":"d29d6e55-dba8-456c-a147-28488685ac87","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"90214826-98c6-49bb-9e4a-0e589ea66b11","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"db09cd4f-1958-45e7-9b13-83106badaed4","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"_postman_id":"d29d6e55-dba8-456c-a147-28488685ac87","description":""},{"name":"Users","item":[{"name":"List Users","id":"3b8a36ca-0d2e-4697-8166-8c6728fda4c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/users","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}},"urlObject":{"path":["api","users"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b8a36ca-0d2e-4697-8166-8c6728fda4c1"},{"name":"Get User","id":"d9fa83e8-1b9f-46d0-9cf1-9f3045a99a5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/users/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}},"urlObject":{"path":["api","users","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9fa83e8-1b9f-46d0-9cf1-9f3045a99a5c"},{"name":"Update User","id":"6533e933-bf5c-4771-af6d-964e7d7a22fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n  \"role\": \"analyst\",\r\n  \"is_active\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/users/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}},"urlObject":{"path":["api","users","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6533e933-bf5c-4771-af6d-964e7d7a22fd"},{"name":"Delete User","id":"2f7e6ac3-0cbe-49af-8e17-54b94460964d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{base_url}}/api/users/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}},"urlObject":{"path":["api","users","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f7e6ac3-0cbe-49af-8e17-54b94460964d"}],"id":"b87f782b-5f2a-4ab0-959b-4fbcae55b067","_postman_id":"b87f782b-5f2a-4ab0-959b-4fbcae55b067","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}}},{"name":"Records","item":[{"name":"List Records","id":"381f7dc8-ef3c-45a5-b09b-26215f954f4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/records","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}},"urlObject":{"path":["api","records"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"381f7dc8-ef3c-45a5-b09b-26215f954f4c"},{"name":"List by Type","id":"cdd9233c-bd28-48bd-9498-b9e499335fa7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/records?type=expense","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}},"urlObject":{"path":["api","records"],"host":["{{base_url}}"],"query":[{"key":"type","value":"expense"}],"variable":[]}},"response":[],"_postman_id":"cdd9233c-bd28-48bd-9498-b9e499335fa7"},{"name":"List by Date","id":"e9aa1fab-6a61-428f-ab57-35eaf7b904c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/records?from=2024-03-01&to=2024-03-31","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}},"urlObject":{"path":["api","records"],"host":["{{base_url}}"],"query":[{"key":"from","value":"2024-03-01"},{"key":"to","value":"2024-03-31"}],"variable":[]}},"response":[],"_postman_id":"e9aa1fab-6a61-428f-ab57-35eaf7b904c4"},{"name":"Get Record","id":"4076a761-7788-47fd-852c-165875bc70cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/records/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}},"urlObject":{"path":["api","records","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4076a761-7788-47fd-852c-165875bc70cf"},{"name":"Create Record","id":"58a5b4a3-f4d8-4b3c-9c1a-4b048c976e86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"amount\": 5000,\r\n  \"type\": \"income\",\r\n  \"category\": \"salary\",\r\n  \"date\": \"2024-03-01\",\r\n  \"notes\": \"March salary\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/records","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}},"urlObject":{"path":["api","records"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"58a5b4a3-f4d8-4b3c-9c1a-4b048c976e86"},{"name":"Update Record","id":"0528b636-2415-49a0-bae1-d5b3056c349d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{ \"amount\": 9000 }","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/records/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}},"urlObject":{"path":["api","records","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0528b636-2415-49a0-bae1-d5b3056c349d"},{"name":"Delete Record","id":"b3900eb8-4f3c-4621-be9d-d8e8592f6912","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{base_url}}/api/records/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}},"urlObject":{"path":["api","records","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3900eb8-4f3c-4621-be9d-d8e8592f6912"}],"id":"65dac007-11b1-4ab4-8cc4-29999250abaf","_postman_id":"65dac007-11b1-4ab4-8cc4-29999250abaf","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}}},{"name":"Dashboard","item":[{"name":"Summary","id":"bd1a9e8d-6cf5-4bc5-bcac-d085ea3f5446","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/dashboard/summary","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}},"urlObject":{"path":["api","dashboard","summary"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd1a9e8d-6cf5-4bc5-bcac-d085ea3f5446"},{"name":"Categories","id":"e999d30f-ea43-4ba1-bbb7-53a54e9a9f39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/dashboard/categories","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}},"urlObject":{"path":["api","dashboard","categories"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e999d30f-ea43-4ba1-bbb7-53a54e9a9f39"},{"name":"Trends","id":"28734651-d227-4e93-ba50-4723b6e34a24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/dashboard/trends","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}},"urlObject":{"path":["api","dashboard","trends"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"28734651-d227-4e93-ba50-4723b6e34a24"},{"name":"Recent","id":"d7e0b044-5f26-459a-a5f6-ad100a5c6cbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/dashboard/recent","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}},"urlObject":{"path":["api","dashboard","recent"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7e0b044-5f26-459a-a5f6-ad100a5c6cbf"}],"id":"1f24b525-296d-4a29-8b54-4d016a0cc720","_postman_id":"1f24b525-296d-4a29-8b54-4d016a0cc720","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d088ce8d-0e61-43d6-b9e3-f81505252466","id":"d088ce8d-0e61-43d6-b9e3-f81505252466","name":"Finance Backend API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]}},"event":[{"listen":"prerequest","script":{"id":"4d4572f2-c809-4fc8-846a-a161a7f9b716","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"77a01810-c499-4d67-a8f8-69d2d9d2cc81","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}]}