{"info":{"_postman_id":"efcc18d7-6fe4-432e-93e1-3cc16aa27f57","name":"LabeBank 🏦","description":"<html><head></head><body><h2 id=\"api-rest-developed-with-the-intention-of-simulating-a-bank-system-with-several-functionalities\">API REST developed with the intention of simulating a bank system with several functionalities.</h2>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"22370553","collectionId":"efcc18d7-6fe4-432e-93e1-3cc16aa27f57","publishedId":"2s8YmNQiDM","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-11-17T16:10:58.000Z"},"item":[{"name":"Get All Users","id":"b132f2fe-218c-47e8-986d-584ed78db51b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3003/users","description":"<h4 id=\"this-request-returns-all-users-with-bank-accounts\">This request returns all users with bank accounts.</h4>\n","urlObject":{"port":"3003","path":["users"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b132f2fe-218c-47e8-986d-584ed78db51b"},{"name":"Create Bank Account","id":"56c0a1da-a001-4554-ae26-a52707a32c73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Full Name\",\r\n    \"dateOfBirth\": \"DD/MM/YYYY\",\r\n    \"cpf\": \"11111111111\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:3003/users","description":"<h4 id=\"this-request-creates-a-new-bank-account\">This request creates a new bank account.</h4>\n","urlObject":{"port":"3003","path":["users"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"56c0a1da-a001-4554-ae26-a52707a32c73"},{"name":"Delete Bank Account","id":"dc445dcc-c886-4c0f-bda6-daa2d9028414","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:3003/users/:id","description":"<h4 id=\"this-request-deletes-a-bank-account\">This request deletes a bank account.</h4>\n","urlObject":{"port":"3003","path":["users",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"001","key":"id"}]}},"response":[],"_postman_id":"dc445dcc-c886-4c0f-bda6-daa2d9028414"},{"name":"Add Balance","id":"862d41e7-f622-40ee-9d68-cf2eb3d129fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"name","value":"Full Name","type":"text"},{"key":"cpf","value":"11111111111","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"valueToAdd\": 100\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:3003/users/add/balance","description":"<h4 id=\"this-request-allows-a-user-add-balance-to-their-bank-account\">This request allows a user add balance to their bank account.</h4>\n","urlObject":{"port":"3003","path":["users","add","balance"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"862d41e7-f622-40ee-9d68-cf2eb3d129fd"},{"name":"Make a Payment","id":"166ca195-e220-4b7d-a091-945fddc4c307","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"cpf","value":"11111111111","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"value\": 100,\r\n    \"date\": \"DD/MM/YYYY\",\r\n    \"description\": \"Description\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:3003/users/payment","description":"<h4 id=\"this-request-allows-a-user-make-a-payment-from-their-bank-account-balance\">This request allows a user make a payment from their bank account balance.</h4>\n","urlObject":{"port":"3003","path":["users","payment"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"166ca195-e220-4b7d-a091-945fddc4c307"},{"name":"Bank Transfer","id":"fae40065-d989-4efe-b38f-d4daddbfdfe2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"senderName\": \"Full Name\", \r\n    \"senderCpf\": \"11111111111\", \r\n    \"receiverName\": \"Full Name\", \r\n    \"receiverCpf\": \"22222222222\", \r\n    \"amountOfMoney\": 100\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:3003/users/transfer","description":"<h4 id=\"this-request-allows-a-user-to-make-a-transfer-to-another-active-bank-account\">This request allows a user to make a transfer to another active bank account.</h4>\n","urlObject":{"port":"3003","path":["users","transfer"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"fae40065-d989-4efe-b38f-d4daddbfdfe2"},{"name":"Update Balance","id":"b4502c9e-3ff9-47b2-9ec3-3833de5c7046","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"cpf","value":"11111111111","type":"text"}],"url":"localhost:3003/users/balance","description":"<h4 id=\"this-request-updates-the-balance-of-a-specific-bank-account\">This request updates the balance of a specific bank account.</h4>\n","urlObject":{"port":"3003","path":["users","balance"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4502c9e-3ff9-47b2-9ec3-3833de5c7046"},{"name":"Get Account Balance","id":"b973ecce-6380-455c-84fc-e34d5ff79998","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"name","value":"Full Name","type":"text"},{"key":"cpf","value":"11111111111","type":"text"}],"url":"localhost:3003/users/balance","description":"<h4 id=\"this-request-shows-the-balance-of-a-specific-bank-account\">This request shows the balance of a specific bank account.</h4>\n","urlObject":{"port":"3003","path":["users","balance"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b973ecce-6380-455c-84fc-e34d5ff79998"}]}