{"info":{"_postman_id":"20f5cc65-f93e-48bd-87d9-7fdbbc5b9a15","name":"Banking System Simulator phase 2","description":"<html><head></head><body><h2 id=\"microservices-architecture-spring-boot--mongodb\">Microservices Architecture (Spring Boot + MongoDB)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Microservice</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Database</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Account Service</td>\n<td>Manages account creation, retrieval, and account updates</td>\n<td>accounts_db</td>\n</tr>\n<tr>\n<td>Transaction Service</td>\n<td>Handles deposits, withdrawals, and fund transfers between accounts</td>\n<td>transactions_db</td>\n</tr>\n<tr>\n<td>API Gateway</td>\n<td>Routes external client requests to appropriate microservices</td>\n<td>N/A</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"31106866","collectionId":"20f5cc65-f93e-48bd-87d9-7fdbbc5b9a15","publishedId":"2sBXVbJtrg","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-12-31T10:30:54.000Z"},"item":[{"name":"Transactions","item":[{"name":"transactions by acc","id":"658af8c2-5669-410b-b7ad-b7d929625c4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/transactions/account/HAR4821","urlObject":{"path":["transactions","account","HAR4821"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"658af8c2-5669-410b-b7ad-b7d929625c4d"},{"name":"credit","id":"323fe744-24d1-4339-ae08-28330c7524b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"accountNo\":\"HAR4821\",\r\n    \"amount\": 20\r\n}","options":{"raw":{"language":"json"}}},"url":"/transactions/deposit","urlObject":{"path":["transactions","deposit"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"323fe744-24d1-4339-ae08-28330c7524b7"},{"name":"debit","id":"71083dbb-12d6-4eba-b6ae-3738c56af321","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"accountNo\":\"HAR4821\",\r\n    \"amount\": 2000000\r\n}","options":{"raw":{"language":"json"}}},"url":"/transactions/withdraw","urlObject":{"path":["transactions","withdraw"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"71083dbb-12d6-4eba-b6ae-3738c56af321"},{"name":"transfer","id":"ab355b87-8684-4aa1-8f51-51a11a877065","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"srcAccount\":\"HAR4821\",\r\n    \"destAccount\": \"RAT8180\",\r\n    \"amount\": 10001\r\n}","options":{"raw":{"language":"json"}}},"url":"/transactions/transfer","urlObject":{"path":["transactions","transfer"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"ab355b87-8684-4aa1-8f51-51a11a877065"}],"id":"eb68f9d0-abef-4e86-8929-073333858f19","description":"<p>All transaction routes</p>\n<p>variable - <a href=\"http://localhost:8082\">http://localhost:8082</a></p>\n","_postman_id":"eb68f9d0-abef-4e86-8929-073333858f19"},{"name":"Account","item":[{"name":"account","id":"bbdd2793-3214-4ad4-8a2a-92f03ddb6c5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"/accounts/HAR4821","urlObject":{"path":["accounts","HAR4821"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"bbdd2793-3214-4ad4-8a2a-92f03ddb6c5f"},{"name":"create acc","id":"e1102f23-4288-4f39-85c1-6066d3bdc87b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"holderName\" : \"Ratan Tata\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/accounts/","urlObject":{"path":["accounts",""],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"e1102f23-4288-4f39-85c1-6066d3bdc87b"}],"id":"f7abda88-683d-492b-a881-bb051d4a3c0f","description":"<p>All account routes</p>\n<p>variable - <a href=\"http://localhost:8081/\">http://localhost:8081/</a></p>\n","_postman_id":"f7abda88-683d-492b-a881-bb051d4a3c0f"},{"name":"apigateway services","item":[{"name":"account","id":"21e9b1d9-3c91-4b7e-8f19-2533dc583d90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/v2/accounts/HAR4821","urlObject":{"path":["api","v2","accounts","HAR4821"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"21e9b1d9-3c91-4b7e-8f19-2533dc583d90"},{"name":"deposit","id":"ae0c049c-7b20-4f33-b3d0-1b436780a4eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"accountNo\":\"HAR4821\",\r\n    \"amount\": 2000\r\n}","options":{"raw":{"language":"json"}}},"url":"/transactions/deposit","urlObject":{"path":["transactions","deposit"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"ae0c049c-7b20-4f33-b3d0-1b436780a4eb"},{"name":"withdraw","id":"46594454-ddaa-4f92-b600-2f5673344868","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"accountNo\":\"HAR4821\",\r\n    \"amount\": 10000\r\n}","options":{"raw":{"language":"json"}}},"url":"/transactions/withdraw","urlObject":{"path":["transactions","withdraw"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"46594454-ddaa-4f92-b600-2f5673344868"}],"id":"2309d1c1-aafe-42eb-98b5-8e530e9b4e19","description":"<p>All accounts and transactions route through API gateway, centralizing all microservice routes of the Distributed Bank System using</p>\n<p>variable - <a href=\"http://localhost:8080/api/v2/\">http://localhost:8080/api/v2/</a></p>\n","_postman_id":"2309d1c1-aafe-42eb-98b5-8e530e9b4e19"}],"event":[{"listen":"prerequest","script":{"id":"6bb22a8e-a1e0-4604-a1a9-82d71f96c4e8","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"807c6b12-8973-4183-bb8d-71b72e194181","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"URLA","value":""},{"key":"URLT","value":""},{"key":"URLG","value":"","type":"default"}]}