{"info":{"_postman_id":"e537e7bb-0120-4379-9cba-f9dc1d09a670","name":"Finance Backend API","description":"<html><head></head><body><p>API collection for Finance Dashboard Backend</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"45102921","collectionId":"e537e7bb-0120-4379-9cba-f9dc1d09a670","publishedId":"2sBXiqG9MH","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-04-06T17:49:27.000Z"},"item":[{"name":"Auth","item":[{"name":"Register User","id":"ed6fa27b-3df0-4ee3-88bb-0a7d0b0c594c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Admin\",\n  \"email\": \"admin@test.com\",\n  \"password\": \"123456\",\n  \"role\": \"admin\"\n}"},"url":"http://localhost:5000/auth/register","urlObject":{"path":["auth","register"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed6fa27b-3df0-4ee3-88bb-0a7d0b0c594c"},{"name":"Login","id":"c7e74bd8-2ecd-4f58-9ad9-753a982ad866","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"admin@test.com\",\n  \"password\": \"123456\"\n}"},"url":"http://localhost:5000/auth/login","urlObject":{"path":["auth","login"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"c7e74bd8-2ecd-4f58-9ad9-753a982ad866"}],"id":"0e9842c6-be59-432f-a833-09f0cf6ab7f9","_postman_id":"0e9842c6-be59-432f-a833-09f0cf6ab7f9","description":""},{"name":"Users (Admin Only)","item":[{"name":"Create User","id":"3b19e182-4ee9-4583-8f3c-a13c8397faeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Riya\",\n  \"email\": \"riya@test.com\",\n  \"password\": \"123456\",\n  \"role\": \"analyst\"\n}"},"url":"http://localhost:5000/users","urlObject":{"path":["users"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b19e182-4ee9-4583-8f3c-a13c8397faeb"},{"name":"Get All Users","id":"a464d07e-0387-426e-8276-6ab2de005d38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"http://localhost:5000/users","urlObject":{"path":["users"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"a464d07e-0387-426e-8276-6ab2de005d38"},{"name":"Update User Role/Status","id":"0dd8b37e-e573-412f-8474-287fcb0a39ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n  \"role\": \"viewer\",\n  \"status\": \"active\"\n}"},"url":"http://localhost:5000/users/:id","urlObject":{"path":["users",":id"],"host":["http://localhost:5000"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"0dd8b37e-e573-412f-8474-287fcb0a39ca"}],"id":"08982c5c-1004-4e98-b8d9-d8f5f4952409","_postman_id":"08982c5c-1004-4e98-b8d9-d8f5f4952409","description":""},{"name":"Records","item":[{"name":"Create Record (Admin)","id":"cf8309b1-6b03-4c70-bd97-9b8967258612","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n  \"amount\": 5000,\n  \"type\": \"income\",\n  \"category\": \"salary\",\n  \"notes\": \"Monthly salary\"\n}"},"url":"http://localhost:5000/records","urlObject":{"path":["records"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf8309b1-6b03-4c70-bd97-9b8967258612"},{"name":"Get Records","id":"8fa47192-4f14-40f3-ad8b-b5dc12fc044a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"http://localhost:5000/records","urlObject":{"path":["records"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"8fa47192-4f14-40f3-ad8b-b5dc12fc044a"},{"name":"Get Single Record","id":"883ff1f7-81bb-460a-8bd0-16260e70c67f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"http://localhost:5000/records/:id","urlObject":{"path":["records",":id"],"host":["http://localhost:5000"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"883ff1f7-81bb-460a-8bd0-16260e70c67f"},{"name":"Update Record (Admin)","id":"c3db486c-5cc9-4a28-bf03-741aafffead4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n  \"amount\": 6000\n}"},"url":"http://localhost:5000/records/:id","urlObject":{"path":["records",":id"],"host":["http://localhost:5000"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"c3db486c-5cc9-4a28-bf03-741aafffead4"},{"name":"Delete Record (Admin)","id":"3390aebb-953b-43a0-8436-48ba792c579e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer "}],"url":"http://localhost:5000/records/:id","urlObject":{"path":["records",":id"],"host":["http://localhost:5000"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"3390aebb-953b-43a0-8436-48ba792c579e"}],"id":"52bb857c-08d3-4390-9732-371699dc718d","_postman_id":"52bb857c-08d3-4390-9732-371699dc718d","description":""},{"name":"Dashboard","item":[{"name":"Get Summary","id":"05c1d3e0-cc3c-4909-9a0a-838ac3ec859b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"http://localhost:5000/dashboard/summary","urlObject":{"path":["dashboard","summary"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"05c1d3e0-cc3c-4909-9a0a-838ac3ec859b"}],"id":"305160eb-5255-480d-8e6e-2f2cc774b457","_postman_id":"305160eb-5255-480d-8e6e-2f2cc774b457","description":""}],"variable":[{"key":"baseUrl","value":"http://localhost:5000"},{"key":"token","value":""}]}