{"info":{"_postman_id":"9ae34033-c36d-4398-94b3-64ae02c3e7ae","name":"NG Cash API","description":"<html><head></head><body><h2 id=\"📌-sobre-o-projeto\">📌 Sobre o Projeto</h2>\n<p>API backend desenvolvida para simular um sistema bancário simplificado, com autenticação de usuários, consulta de saldo e registro de transações financeiras.</p>\n<p>O sistema garante:</p>\n<ul>\n<li><p>Criação automática de conta ao cadastrar usuário</p>\n</li>\n<li><p>Validação de saldo antes de transferências</p>\n</li>\n<li><p>Registro histórico de transações</p>\n</li>\n<li><p>Proteção de rotas via autenticação JWT</p>\n</li>\n</ul>\n<p>O projeto foi estruturado utilizando arquitetura em camadas:</p>\n<p>Controller → Business → Data → Services</p>\n<p>Com separação clara de responsabilidades e tratamento de erros customizados.</p>\n<hr>\n<h2 id=\"🛠-tecnologias-utilizadas\">🛠 Tecnologias Utilizadas</h2>\n<ul>\n<li><p>Node.js</p>\n</li>\n<li><p>TypeScript</p>\n</li>\n<li><p>Express</p>\n</li>\n<li><p>PostgreSQL</p>\n</li>\n<li><p>Knex</p>\n</li>\n<li><p>JWT (autenticação)</p>\n</li>\n<li><p>Bcrypt (hash de senha)</p>\n</li>\n<li><p>Postman (testes de API)</p>\n</li>\n</ul>\n<hr>\n<h2 id=\"🏗-arquitetura\">🏗 Arquitetura</h2>\n<p>O projeto segue o padrão de separação em camadas:</p>\n<ul>\n<li><p><strong>Controller</strong>: Responsável por receber requisições HTTP e retornar respostas.</p>\n</li>\n<li><p><strong>Business</strong>: Contém as regras de negócio e validações.</p>\n</li>\n<li><p><strong>Data</strong>: Comunicação com o banco de dados.</p>\n</li>\n<li><p><strong>Services</strong>: Autenticação e criptografia.</p>\n</li>\n<li><p><strong>Error</strong>: Tratamento de erros personalizados.</p>\n</li>\n</ul>\n<hr>\n<h2 id=\"🔐-autenticação\">🔐 Autenticação</h2>\n<p>A API utiliza autenticação via JWT.</p>\n<p>Após o login, o token retornado deve ser enviado no header:</p>\n<p>Authorization: Bearer {token}</p>\n<h2 id=\"💰-regra-de-negócio-principal\">💰 Regra de Negócio Principal</h2>\n<ul>\n<li><p>Cada usuário possui uma conta associada.</p>\n</li>\n<li><p>Transferências só são realizadas se houver saldo suficiente.</p>\n</li>\n<li><p>O sistema impede saldo negativo.</p>\n</li>\n<li><p>Todas as transações são registradas com data e hora.</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"21025086","collectionId":"9ae34033-c36d-4398-94b3-64ae02c3e7ae","publishedId":"2s8Yt1qozv","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-11-30T18:24:09.000Z"},"item":[{"name":"/user/signup","id":"0154a534-83de-467d-8a5b-2acffc6120c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"Diogo\",\r\n    \"password\": \"Di12345656\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3003/user/signup","description":"<p>Need to pass username and password by body</p>\n","urlObject":{"protocol":"http","port":"3003","path":["user","signup"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ce0321c5-36c8-449f-aff3-3955a905b948","name":"200 - Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"Vanessa\",\r\n    \"password\": \"Va12345656\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3003/user/signup"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"207"},{"key":"ETag","value":"W/\"cf-K8Qoc+aad+trYDETFrWmNcZ1uTk\""},{"key":"Date","value":"Wed, 18 Feb 2026 18:51:46 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successfully registered user!\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTc3MTQ0MDcwNjMwMiwiaWF0IjoxNzcxNDQwNzA2LCJleHAiOjE3NzE1MjcxMDZ9.zvpxnMCD3FeB1U0PgyjTs20OvkwrFvyXvzDP5s3GhG0\"\n}"},{"id":"231e1be9-dce2-4fb1-8caa-1a4cae96ab64","name":"400 - User already registered","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"Andréia\",\r\n    \"password\": \"An12345656\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3003/user/signup"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"47"},{"key":"ETag","value":"W/\"2f-X9WKTe1WU0bdWDg47BO6vZN27H8\""},{"key":"Date","value":"Wed, 18 Feb 2026 22:11:20 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"This username is already registered\"\n}"}],"_postman_id":"0154a534-83de-467d-8a5b-2acffc6120c2"},{"name":"login","id":"704c9179-71ca-4993-8ffa-b8bcb937b24c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"Diogo\",\r\n    \"password\": \"Di12345656\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3003/account/login","description":"<p>Need to pass username and password by body</p>\n","urlObject":{"protocol":"http","port":"3003","path":["account","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"686653de-54c9-4943-a299-e816b981482f","name":"200 - Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"Diogo\",\r\n    \"password\": \"Di12345656\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3003/account/login"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"168"},{"key":"ETag","value":"W/\"a8-Es4gikyXHIROmrIK49j5b0Poq24\""},{"key":"Date","value":"Wed, 18 Feb 2026 19:00:16 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE3NzE0NDAyODE5NjMiLCJpYXQiOjE3NzE0NDEyMTYsImV4cCI6MTc3MTUyNzYxNn0.d3TlzZoza8yqjLLL6H5BPGhB1DXYjBMl__9BJE8YdlQ\"\n}"},{"id":"392ae7dd-caae-4845-8667-32f64336b8af","name":"400 - Invalid Password","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"Diogo\",\r\n    \"password\": \"Di1234565\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3003/account/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"78"},{"key":"ETag","value":"W/\"4e-BWNMtncQbYDHFgT+dAbfodoaSOE\""},{"key":"Date","value":"Wed, 18 Feb 2026 19:01:06 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"Invalid password! Must be at least 8 characters. A number and a capital letter"},{"id":"76e13e36-b130-4e7d-b666-9ef3c0f0cd3c","name":"400 - Invalid Username","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"Dioo\",\r\n    \"password\": \"Di12345656\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3003/account/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"22"},{"key":"ETag","value":"W/\"16-TGnZKh/0G4BZvgJBOFjx6F+8BJU\""},{"key":"Date","value":"Wed, 18 Feb 2026 19:02:42 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"User is not registered"}],"_postman_id":"704c9179-71ca-4993-8ffa-b8bcb937b24c"},{"name":"getAccount","id":"5ff9f7b4-3eda-4012-a86c-b507ee2f2f1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE2Njk3NTE0OTM0NDgiLCJpYXQiOjE2Njk3NTE1MTAsImV4cCI6MTY2OTgzNzkxMH0.H9-f2FS2_P7wOMZ9xSbbuVRNrJIedChIPuYO3ubSdkg","type":"text"}],"url":"http://localhost:3003/account/?id=1669751493448","description":"<p>Need to pass account id</p>\n","urlObject":{"protocol":"http","port":"3003","path":["account",""],"host":["localhost"],"query":[{"key":"id","value":"1669751493448"}],"variable":[]}},"response":[],"_postman_id":"5ff9f7b4-3eda-4012-a86c-b507ee2f2f1f"},{"name":"createTransactionUser","id":"9e0c05f1-0e11-4527-a58d-31d9c2f47662","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE2NjkwNjUyMzcwMzAiLCJpYXQiOjE2Njk3NDgyNzAsImV4cCI6MTY2OTgzNDY3MH0.Tgm_YP2bZo80z4hKQOS_JlgWj5UoGK2v5nPATcvBWpM","type":"text"}],"body":{"mode":"raw","raw":"{\r\n     \"debitedaccountid\":\"1669665291606\", \r\n     \"creditedaccountid\": \"1669666321354\", \r\n     \"value\":2,\r\n     \"createdat\": \"2022/11/29\"\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3003/transaction/add","description":"<p>Need to pass token authorization</p>\n","urlObject":{"protocol":"http","port":"3003","path":["transaction","add"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"59903a66-d685-47aa-ad34-b64ef6af6423","name":"200 - Success","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE3NzE0NDAyODE5NjMiLCJpYXQiOjE3NzE0NDE0MTMsImV4cCI6MTc3MTUyNzgxM30.ZMhF0HwFaALer38aYsu7y2Zp-Pa_gLIrKHSdfcXZxLM","type":"text"}],"body":{"mode":"raw","raw":"{\r\n     \"debitedaccountid\":\"1771440706302\", \r\n     \"creditedaccountid\": \"1771440281963\", \r\n     \"value\":20,\r\n     \"createdat\": \"2022/11/29\"\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3003/transaction/add"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"50"},{"key":"ETag","value":"W/\"32-zfkJcfLbHancLIGyfWbmpWe4sMs\""},{"key":"Date","value":"Wed, 18 Feb 2026 19:21:13 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Transaction registered successfully!\"\n}"},{"id":"984c6230-2f04-46d2-a78d-a308c22538af","name":"400 - Insufficient Funds","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE3NzE0NDAyODE5NjMiLCJpYXQiOjE3NzE0NDE0MTMsImV4cCI6MTc3MTUyNzgxM30.ZMhF0HwFaALer38aYsu7y2Zp-Pa_gLIrKHSdfcXZxLM","type":"text"}],"body":{"mode":"raw","raw":"{\r\n     \"debitedaccountid\":\"1771440281963\", \r\n     \"creditedaccountid\": \"1771440706302\", \r\n     \"value\":120,\r\n     \"createdat\": \"2022/11/29\"\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3003/transaction/add"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"18"},{"key":"ETag","value":"W/\"12-DxtPuRwxrhqWsnsGVfW9/N6qBIs\""},{"key":"Date","value":"Wed, 18 Feb 2026 20:40:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"Insufficient funds"},{"id":"356deba6-63df-4275-a2c6-cb7b04e5f4ef","name":"400 - Account Not Found","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE3NzE0NDAyODE5NjMiLCJpYXQiOjE3NzE0NDE0MTMsImV4cCI6MTc3MTUyNzgxM30.ZMhF0HwFaALer38aYsu7y2Zp-Pa_gLIrKHSdfcXZxLM","type":"text"}],"body":{"mode":"raw","raw":"{\r\n     \"debitedaccountid\":\"1771440281963\", \r\n     \"creditedaccountid\": \"15345353533455\", \r\n     \"value\":120,\r\n     \"createdat\": \"2022/11/29\"\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3003/transaction/add"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"26"},{"key":"ETag","value":"W/\"1a-FS4tgkDWYCmT64+KoM4ZosFBZy0\""},{"key":"Date","value":"Wed, 18 Feb 2026 20:41:35 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"Credited account not found"}],"_postman_id":"9e0c05f1-0e11-4527-a58d-31d9c2f47662"},{"name":"getTransactionsUser","id":"105471fc-a218-4aff-becf-441ea100b0d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE2Njk3NTE0OTM0NDgiLCJpYXQiOjE2Njk3NTE1MTAsImV4cCI6MTY2OTgzNzkxMH0.H9-f2FS2_P7wOMZ9xSbbuVRNrJIedChIPuYO3ubSdkg","type":"text"}],"url":"http://localhost:3003/transaction/?id=1669751493448","urlObject":{"protocol":"http","port":"3003","path":["transaction",""],"host":["localhost"],"query":[{"key":"id","value":"1669751493448"}],"variable":[]}},"response":[{"id":"cb0597b4-e17d-40b4-8ec6-8513e541ddca","name":"200 - Success","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE3NzE0NDAyODE5NjMiLCJpYXQiOjE3NzE0NDgxMjEsImV4cCI6MTc3MTUzNDUyMX0.l3qKb-qXtbdQJun7fxBQesSMLJ0Q4NqCNjSJjkAgPHk","type":"text"}],"url":{"raw":"http://localhost:3003/transaction/?id=1771440706302","protocol":"http","host":["localhost"],"port":"3003","path":["transaction",""],"query":[{"key":"id","value":"1771440706302"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"279"},{"key":"ETag","value":"W/\"117-vpL9+v+CZgSOi1wVntAXDyOo0zE\""},{"key":"Date","value":"Wed, 18 Feb 2026 20:55:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"debitedaccountid\": \"1771440281963\",\n        \"receiver\": \"1771440706302\",\n        \"value\": \"120.00\",\n        \"createdat\": \"2022-11-29T03:00:00.000Z\",\n        \"username\": \"Diogo\"\n    },\n    {\n        \"debitedaccountid\": \"1771440281963\",\n        \"receiver\": \"1771440706302\",\n        \"value\": \"120.00\",\n        \"createdat\": \"2022-11-29T03:00:00.000Z\",\n        \"username\": \"Diogo\"\n    }\n]"},{"id":"26717d66-0de2-40a0-847d-b51bc2db0ab9","name":"500 - Unauthorized access","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE3NzE0NDAyODE5NjMiLCJpYXQiOjE3NzE0NDkxNDgsImV4cCI6MTc3MTUzNTU0OH0.C9QUfeZtepFcDUOrp0edxLrxVYA4_je5mVgnjrVRgcc","type":"text"}],"url":{"raw":"http://localhost:3003/transaction/?id=1771440706302","protocol":"http","host":["localhost"],"port":"3003","path":["transaction",""],"query":[{"key":"id","value":"1771440706302"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"19"},{"key":"ETag","value":"W/\"13-nY+R2gchPj5OOC7e/cKtbPu5dHY\""},{"key":"Date","value":"Wed, 18 Feb 2026 21:17:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"Unauthorized access"},{"id":"6fbe345b-95ce-4a13-8c9d-39a07367e40c","name":"500 - Invalid Token","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"eJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE3NzE0NDAyODE5NjMiLCJpYXQiOjE3NzE0NDkxNDgsImV4cCI6MTc3MTUzNTU0OH0.C9QUfeZtepFcDUOrp0edxLrxVYA4_je5mVgnjrVRgcc","type":"text"}],"url":{"raw":"http://localhost:3003/transaction/?id=1771440281963","protocol":"http","host":["localhost"],"port":"3003","path":["transaction",""],"query":[{"key":"id","value":"1771440281963"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"13"},{"key":"ETag","value":"W/\"d-Mr7wzk9Do9Jf7dTLxrB3S64eldY\""},{"key":"Date","value":"Wed, 18 Feb 2026 21:18:08 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"invalid token"}],"_postman_id":"105471fc-a218-4aff-becf-441ea100b0d3"},{"name":"getAllUsers","id":"039e32c8-d612-4e88-bc0c-8fd0ba01a8b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3003/user/","urlObject":{"protocol":"http","port":"3003","path":["user",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"25f9b518-f854-499c-a875-dca3dae098ba","name":"200 - Success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3003/user/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"143"},{"key":"ETag","value":"W/\"8f-7SPsJ8fr4Tta3oe+WDrh2aHaW7A\""},{"key":"Date","value":"Wed, 18 Feb 2026 20:48:02 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"1771440281963\",\n        \"username\": \"Diogo\",\n        \"accountid\": \"1771440281963\"\n    },\n    {\n        \"id\": \"1771440706302\",\n        \"username\": \"Vanessa\",\n        \"accountid\": \"1771440706302\"\n    }\n]"}],"_postman_id":"039e32c8-d612-4e88-bc0c-8fd0ba01a8b8"},{"name":"findTransactionByDate","id":"7fde54a5-a679-4739-8feb-15ad29f18029","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE2NjkwNjUyMzcwMzAiLCJpYXQiOjE2Njk3NDgyNzAsImV4cCI6MTY2OTgzNDY3MH0.Tgm_YP2bZo80z4hKQOS_JlgWj5UoGK2v5nPATcvBWpM","type":"text"}],"url":"http://localhost:3003/transaction/date?id=1669065237030&createdat=2022-11-29","urlObject":{"protocol":"http","port":"3003","path":["transaction","date"],"host":["localhost"],"query":[{"key":"id","value":"1669065237030"},{"key":"createdat","value":"2022-11-29"}],"variable":[]}},"response":[{"id":"54936123-90f0-4310-92df-cf858e441501","name":"400 - Invalid Token","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"eyJhbGciiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE3NzE0NDAyODE5NjMiLCJpYXQiOjE3NzE0NDkxNDgsImV4cCI6MTc3MTUzNTU0OH0.C9QUfeZtepFcDUOrp0edxLrxVYA4_je5mVgnjrVRgcc","type":"text"}],"url":{"raw":"http://localhost:3003/transaction/date?id=1771440281963&createdat=2022-11-29","protocol":"http","host":["localhost"],"port":"3003","path":["transaction","date"],"query":[{"key":"id","value":"1771440281963"},{"key":"createdat","value":"2022-11-29"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"13"},{"key":"ETag","value":"W/\"d-Mr7wzk9Do9Jf7dTLxrB3S64eldY\""},{"key":"Date","value":"Wed, 18 Feb 2026 21:29:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"invalid token"},{"id":"e5855003-d0db-4196-92f2-5e8840317ea2","name":"200 - Success","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE3NzE0NDAyODE5NjMiLCJpYXQiOjE3NzE0NDkxNDgsImV4cCI6MTc3MTUzNTU0OH0.C9QUfeZtepFcDUOrp0edxLrxVYA4_je5mVgnjrVRgcc","type":"text"}],"url":{"raw":"http://localhost:3003/transaction/date?id=1771440281963&createdat=2022-11-29","protocol":"http","host":["localhost"],"port":"3003","path":["transaction","date"],"query":[{"key":"id","value":"1771440281963"},{"key":"createdat","value":"2022-11-29"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"213"},{"key":"ETag","value":"W/\"d5-WF6qzds4b94Va/veM7gAj99GyHk\""},{"key":"Date","value":"Wed, 18 Feb 2026 21:30:18 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"debitedaccountid\": \"1771440281963\",\n        \"receiver\": \"1771440706302\",\n        \"value\": \"120.00\",\n        \"createdat\": \"2022-11-29\"\n    },\n    {\n        \"debitedaccountid\": \"1771440281963\",\n        \"receiver\": \"1771440706302\",\n        \"value\": \"120.00\",\n        \"createdat\": \"2022-11-29\"\n    }\n]"},{"id":"a7176068-00ec-4e21-adbd-978e8014ea83","name":"400 - Invalid or Incomplete Id","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE3NzE0NDAyODE5NjMiLCJpYXQiOjE3NzE0NDkxNDgsImV4cCI6MTc3MTUzNTU0OH0.C9QUfeZtepFcDUOrp0edxLrxVYA4_je5mVgnjrVRgcc","type":"text"}],"url":{"raw":"http://localhost:3003/transaction/date?id=&createdat=2022-11-29","protocol":"http","host":["localhost"],"port":"3003","path":["transaction","date"],"query":[{"key":"id","value":""},{"key":"createdat","value":"2022-11-29","type":"text"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"24"},{"key":"ETag","value":"W/\"18-Wlaz8romnqU3X176kL5JMdZpu/0\""},{"key":"Date","value":"Wed, 18 Feb 2026 21:35:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"Invalid or incomplete id"}],"_postman_id":"7fde54a5-a679-4739-8feb-15ad29f18029"}]}