{"info":{"_postman_id":"249678aa-ec06-43e7-b020-1889d2221720","name":"Payaco","description":"<html><head></head><body><h2 id=\"payaco\">PayAco</h2>\n<p>A money transfer REST API</p>\n<h2 id=\"getting-started\">Getting Started</h2>\n<p>You will need to have Go installed on your machine as well as PostgreSQL.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"21072555","collectionId":"249678aa-ec06-43e7-b020-1889d2221720","publishedId":"2s8YsxtqoY","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-11-28T09:29:13.000Z"},"item":[{"name":"entry","id":"8d446cf1-4cf9-407c-b541-ed442eb643bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8001/","urlObject":{"protocol":"http","port":"8001","path":[""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d446cf1-4cf9-407c-b541-ed442eb643bc"},{"name":"view-account","id":"e8784e82-3aa5-4cbc-bc89-b10a8f1e6afd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8001/public/accounts/user/1","urlObject":{"protocol":"http","port":"8001","path":["public","accounts","user","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8784e82-3aa5-4cbc-bc89-b10a8f1e6afd"},{"name":"login","id":"00c983c9-2cca-43f9-b7a1-7bd9ecf779ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"user_identifier","value":"hoxnam1","type":"text"},{"key":"password","value":"lzrAXBG","type":"text"}]},"url":"http://localhost:8001/auth/login","urlObject":{"protocol":"http","port":"8001","path":["auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"00c983c9-2cca-43f9-b7a1-7bd9ecf779ed"},{"name":"self-account-data","id":"6ec7d47f-8935-4b25-b776-4c2ec0c0e6b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"token","type":"text"}],"url":"http://localhost:8001/account/","urlObject":{"protocol":"http","port":"8001","path":["account",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ec7d47f-8935-4b25-b776-4c2ec0c0e6b7"},{"name":"register","id":"a2193647-3017-4d9b-8cab-6c3533d9d0c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"cool-username","type":"text"},{"key":"email","value":"myemail@mail.edu","type":"text"},{"key":"password","value":"helloworld123","type":"text"},{"key":"first_name","value":"First","type":"text"},{"key":"last_name","value":"Last","type":"text"},{"key":"phone_number","value":"+01-123-000-1234","type":"text"}]},"url":"http://localhost:8001/auth/register","urlObject":{"protocol":"http","port":"8001","path":["auth","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a2193647-3017-4d9b-8cab-6c3533d9d0c6"},{"name":"search-user","id":"0f132c43-c700-4743-9b28-b76d6d8250f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8001/public/accounts/search?q=neal","urlObject":{"protocol":"http","port":"8001","path":["public","accounts","search"],"host":["localhost"],"query":[{"key":"q","value":"neal"}],"variable":[]}},"response":[],"_postman_id":"0f132c43-c700-4743-9b28-b76d6d8250f0"},{"name":"deposit","id":"66a3e5cc-3a12-4db7-9cdd-1e3377c6cd8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"token","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"amount","value":"200","type":"text"}]},"url":"http://localhost:8001/transaction/deposit","urlObject":{"protocol":"http","port":"8001","path":["transaction","deposit"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"66a3e5cc-3a12-4db7-9cdd-1e3377c6cd8a"},{"name":"withdraw","id":"58e5bd42-1f24-49c6-8a58-244102cedce5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"token","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"amount","value":"100","type":"text"}]},"url":"http://localhost:8001/transaction/withdraw","urlObject":{"protocol":"http","port":"8001","path":["transaction","withdraw"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"58e5bd42-1f24-49c6-8a58-244102cedce5"},{"name":"pay","id":"25d100b4-48d2-4785-96b3-10721ffb478e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"token","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"receiver","value":"nealarch03","type":"text"},{"key":"amount","value":"20","type":"text"}]},"url":"http://localhost:8001/transaction/create","urlObject":{"protocol":"http","port":"8001","path":["transaction","create"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"25d100b4-48d2-4785-96b3-10721ffb478e"},{"name":"transaction-history","id":"4a8e2c23-4965-4f62-9bc0-f5a44c9b7794","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"token","type":"text"}],"url":"http://localhost:8001/transaction/history","urlObject":{"protocol":"http","port":"8001","path":["transaction","history"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4a8e2c23-4965-4f62-9bc0-f5a44c9b7794"},{"name":"update-password","id":"60658192-cb18-41d5-92a1-6886552de933","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"token","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"new_password","value":"abcd1234","type":"text"},{"key":"old_password","value":"abcd123","type":"text"}]},"url":"http://localhost:8001/account/password","urlObject":{"protocol":"http","port":"8001","path":["account","password"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"60658192-cb18-41d5-92a1-6886552de933"},{"name":"update-name","id":"11d8c2fb-eb73-4db2-8d75-fe2165e44c42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzM3NjQ2MTcsImlhdCI6MTY3MTE3MjYxNywiaWQiOjF9.j0cli7mphRtPgtrBCfiE7MvzV6-28m8__6sdu1ezZW0","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"first_name","value":"Helen Elizabeth","type":"text"},{"key":"last_name","value":"Oxnam","type":"text"}]},"url":"http://localhost:8001/account/name","urlObject":{"protocol":"http","port":"8001","path":["account","name"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"11d8c2fb-eb73-4db2-8d75-fe2165e44c42"},{"name":"update-email","id":"a0a365a5-ff20-41c8-bfe6-137b47cc2825","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzM3NjQ2MTcsImlhdCI6MTY3MTE3MjYxNywiaWQiOjF9.j0cli7mphRtPgtrBCfiE7MvzV6-28m8__6sdu1ezZW0","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"hoxnam@mail.com","type":"text"}]},"url":"http://localhost:8001/account/email","urlObject":{"protocol":"http","port":"8001","path":["account","email"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a0a365a5-ff20-41c8-bfe6-137b47cc2825"},{"name":"update-phone","id":"6e150601-3f88-4895-a134-48f0447e4771","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"token","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"phone","value":"phone","type":"text"}]},"url":"http://localhost:8001/account/phone","urlObject":{"protocol":"http","port":"8001","path":["account","phone"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e150601-3f88-4895-a134-48f0447e4771"}]}