{"info":{"_postman_id":"2c647fa1-3d3b-40e0-a330-2034f6a1c6f7","name":"black widow","description":"<html><head></head><body><p>A tiny bank accounting API</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"8746814","collectionId":"2c647fa1-3d3b-40e0-a330-2034f6a1c6f7","publishedId":"SzKYPxAH","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-02-27T14:33:14.000Z"},"item":[{"name":"obtain user token","id":"d70b847b-a691-4f69-b272-e83af60ee8a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"auth\": {\n        \"email\": \"bar@mail.com\",\n        \"password\": \"bar\"\n    }\n}"},"url":"localhost:3000/v1/user_token","description":"<p>Obtain the JWT for authentication</p>\n","urlObject":{"port":"3000","path":["v1","user_token"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d70b847b-a691-4f69-b272-e83af60ee8a4"},{"name":"create  financial transaction","id":"9529154a-7bb3-44b5-99e3-b182994676e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1ODM0MTgyMTMsInN1YiI6ImI1ZDdmMDhkLWIyMzAtNDViZC1hMzVhLWI3YmYxZWJkODljMSJ9.-LyUSFhXfwpm38uGsRfUNDe4yMOSzAH4NrXCccw4mOg","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"financial_transaction\": {\n        \"destination_account_id\": \"c0ea00f2-5e3d-4f13-b237-e0d1363b5050\",\n        \"amount\": \"17,67\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"localhost:3000/v1/accounts/:id/transfer","description":"<p>Create a financial transaction (Transfer from source account to destination account)</p>\n","urlObject":{"port":"3000","path":["v1","accounts",":id","transfer"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"65b76170-ac18-4a51-bb2a-a9ba6de070a3","key":"id"}]}},"response":[],"_postman_id":"9529154a-7bb3-44b5-99e3-b182994676e6"},{"name":"show balance","id":"8cdb1af8-09a7-4d03-83a8-79534ed1e2d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1ODM0MTgyMTMsInN1YiI6ImI1ZDdmMDhkLWIyMzAtNDViZC1hMzVhLWI3YmYxZWJkODljMSJ9.-LyUSFhXfwpm38uGsRfUNDe4yMOSzAH4NrXCccw4mOg","type":"text"}],"body":{"mode":"raw","raw":""},"url":"localhost:3000/v1/accounts/:id/balance","description":"<p>Show balance and account informations</p>\n","urlObject":{"port":"3000","path":["v1","accounts",":id","balance"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"65b76170-ac18-4a51-bb2a-a9ba6de070a3","key":"id"}]}},"response":[],"_postman_id":"8cdb1af8-09a7-4d03-83a8-79534ed1e2d3"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"09176d18-5bc4-4321-a94b-1f717c6c2121","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b6870e45-dfea-40e9-b6ae-8e946f02965d","type":"text/javascript","exec":[""]}}]}