{"info":{"_postman_id":"e0e8fb3c-39a4-452c-9e6d-cc31b937ba08","name":"EcommerceAPI","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"14459384","collectionId":"e0e8fb3c-39a4-452c-9e6d-cc31b937ba08","publishedId":"UUxwDpSJ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-09-23T22:26:28.000Z"},"item":[{"name":"Deposit to account","item":[{"name":"Initiate Deposit","id":"c7912e8a-b8c5-4a80-9ca4-f03839a91b6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 100\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/deposit/initialize","urlObject":{"protocol":"http","port":"5000","path":["api","v1","deposit","initialize"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3021e8da-0381-49b4-aea0-2e4009a12ff8","name":"Initiate Deposit","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 100\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/deposit/initialize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"258"},{"key":"ETag","value":"W/\"102-AEGCpe1KATu0OFiBrzdhhFWyVB8\""},{"key":"Date","value":"Fri, 24 Sep 2021 11:44:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"transacton initialized successfully\",\n    \"data\": {\n        \"status\": true,\n        \"message\": \"Authorization URL created\",\n        \"data\": {\n            \"authorization_url\": \"https://checkout.paystack.com/zn7g8pr93utztk7\",\n            \"access_code\": \"zn7g8pr93utztk7\",\n            \"reference\": \"8s1imdq6i3\"\n        }\n    }\n}"}],"_postman_id":"c7912e8a-b8c5-4a80-9ca4-f03839a91b6c"},{"name":"Finalise Deposit","id":"06f022a7-e6a0-467a-b4b4-8142a758437d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/deposit/verify/8s1imdq6i3","urlObject":{"protocol":"http","port":"5000","path":["api","v1","deposit","verify","8s1imdq6i3"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"da82385f-afa1-4427-b146-1ed7628a9da0","name":"Finalise Deposit","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/deposit/verify/8s1imdq6i3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"400"},{"key":"ETag","value":"W/\"190-WvqAdZmiNA2Q04gaWcQQgjEnWUY\""},{"key":"Date","value":"Fri, 24 Sep 2021 11:48:08 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"transacton initialized successfully\",\n    \"data\": {\n        \"success\": true,\n        \"message\": \"Successfully updated user account\",\n        \"data\": {\n            \"createdAt\": \"2021-09-24T11:48:08.278Z\",\n            \"updatedAt\": \"2021-09-24T11:48:08.281Z\",\n            \"id\": 4,\n            \"transactionType\": \"credit\",\n            \"amount\": 1,\n            \"userId\": 1,\n            \"reference\": \"4e02b926-f905-4584-9626-6ab3649e87df\",\n            \"purpose\": \"deposit\",\n            \"metadata\": {},\n            \"balanceBefore\": 900,\n            \"balanceAfter\": 901\n        }\n    }\n}"}],"_postman_id":"06f022a7-e6a0-467a-b4b4-8142a758437d"}],"id":"4df0925a-a39d-4c66-aec1-e863ebd2f897","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"0bc4cdfb-7211-450c-ae89-22069cd38c3c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"42a75fdd-68ba-487d-b249-e9a1ff4fb266","type":"text/javascript","exec":[""]}}],"_postman_id":"4df0925a-a39d-4c66-aec1-e863ebd2f897","description":""},{"name":"Create  a user with email, username and passsword","id":"8cbc3100-9988-40ff-af87-536d474a3c98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"Sodiq Agunbiade\",\n    \"email\": \"sodiq.agunbiade.4@gmail.com\",\n    \"password\": \"temitope123\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/auth/create","urlObject":{"protocol":"http","port":"5000","path":["api","v1","auth","create"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ac64bb05-734c-4b69-9e85-57f5ec17dbae","name":"Create  a user with email, username and passsword","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"Sodiq Agunbiade\",\n    \"email\": \"sodiq.agunbiade.4@gmail.com\",\n    \"password\": \"temitope123\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/auth/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"49"},{"key":"ETag","value":"W/\"31-7F7CDJ1wHKuWbyYEiSADEv0TwRE\""},{"key":"Date","value":"Thu, 23 Sep 2021 17:26:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"user already exists\"\n}"}],"_postman_id":"8cbc3100-9988-40ff-af87-536d474a3c98"},{"name":"Log in a user with email, username and password, get token to use other routes","id":"01b41dc5-e9f2-4d84-b4c2-255e064e189a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"Sodiq Agunbiade\",\n    \"email\": \"sodiq.agunbiade.4@gmail.com\",\n    \"password\": \"temitope123\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/auth/login","urlObject":{"protocol":"http","port":"5000","path":["api","v1","auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"12ab6b94-4540-4a83-9c72-1ed94ca6d28d","name":"Log in a user with email, username and password, get token to use other routes","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"Sodiq Agunbiade\",\n    \"email\": \"sodiq.agunbiade.4@gmail.com\",\n    \"password\": \"temitope123\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"354"},{"key":"ETag","value":"W/\"162-tVzA6J2ymf8wQ1rRhxzxHNerwg0\""},{"key":"Date","value":"Thu, 23 Sep 2021 17:26:24 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"logged In successfully\",\n    \"data\": {\n        \"id\": 1,\n        \"username\": \"Sodiq Agunbiade\",\n        \"email\": \"sodiq.agunbiade.4@gmail.com\",\n        \"paystack_customer_id\": \"CUS_no5pdjgaet9zj2k\",\n        \"balance\": \"0.0000\",\n        \"createdAt\": \"2021-09-23T12:22:19.000Z\",\n        \"updatedAt\": \"2021-09-23T12:22:19.000Z\",\n        \"token\": \"eyJhbGciOiJIUzI1NiJ9.MQ.R48FfMAxMRoNNsxdqavYUTXCKIeuHh6TPti9hdg6Uvw\"\n    }\n}"}],"_postman_id":"01b41dc5-e9f2-4d84-b4c2-255e064e189a"},{"name":"Check user profile with token","id":"f91c80ec-654d-46a6-b07d-44e7ae45378a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/api/v1/profile","urlObject":{"protocol":"http","port":"5000","path":["api","v1","profile"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"10ebee10-e402-4d8c-9b26-bad9afcd466d","name":"Check user profile with token","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"271"},{"key":"ETag","value":"W/\"10f-jONZBRuenoiuZgcZgJkREXWONUM\""},{"key":"Date","value":"Thu, 23 Sep 2021 17:27:13 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Fetched User Data\",\n    \"data\": {\n        \"id\": 1,\n        \"username\": \"Sodiq Agunbiade\",\n        \"email\": \"sodiq.agunbiade.4@gmail.com\",\n        \"paystack_customer_id\": \"CUS_no5pdjgaet9zj2k\",\n        \"balance\": \"0.0000\",\n        \"createdAt\": \"2021-09-23T12:22:19.000Z\",\n        \"updatedAt\": \"2021-09-23T12:22:19.000Z\"\n    }\n}"}],"_postman_id":"f91c80ec-654d-46a6-b07d-44e7ae45378a"},{"name":"Get all Users","id":"616cf018-34dc-4095-8b02-bb0fbf0a4ae7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/users","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"e0e8fb3c-39a4-452c-9e6d-cc31b937ba08","id":"e0e8fb3c-39a4-452c-9e6d-cc31b937ba08","name":"EcommerceAPI","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v1","users"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"60b86002-81b0-4a2c-aff2-17ec7ed6d98f","name":"Get all Users","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"347"},{"key":"ETag","value":"W/\"15b-A6QA7jpuG5awXdPQ0VTnyPzQp3Y\""},{"key":"Date","value":"Thu, 23 Sep 2021 17:26:39 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Fetched all users\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"username\": \"Sodiq Agunbiade\",\n            \"email\": \"sodiq.agunbiade.4@gmail.com\",\n            \"password\": \"$2b$10$o6NCcaFU8DQpPyVTi7sAv.rXN5Lf3Zl87.fGlC1sM68/sOcDW3t0G\",\n            \"paystack_customer_id\": \"CUS_no5pdjgaet9zj2k\",\n            \"balance\": \"0.0000\",\n            \"createdAt\": \"2021-09-23T12:22:19.000Z\",\n            \"updatedAt\": \"2021-09-23T12:22:19.000Z\"\n        }\n    ]\n}"}],"_postman_id":"616cf018-34dc-4095-8b02-bb0fbf0a4ae7"},{"name":"Get all banks(beneficiaries)","id":"08b38ae6-3e0a-402a-8cce-cfd94e3ee740","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/bank/all","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"e0e8fb3c-39a4-452c-9e6d-cc31b937ba08","id":"e0e8fb3c-39a4-452c-9e6d-cc31b937ba08","name":"EcommerceAPI","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v1","bank","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"09ea2040-4e2a-4f4a-9773-fb24f147fffb","name":"Get all banks(beneficiaries)","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/bank/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"321"},{"key":"ETag","value":"W/\"141-D03V+5Mxi2Q4xuo7NkrEhZde3Uw\""},{"key":"Date","value":"Thu, 23 Sep 2021 17:37:57 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"banks fetched successfully\",\n    \"data\": [\n        {\n            \"id\": 2,\n            \"userId\": 1,\n            \"recipient_code\": \"RCP_zozerq0fnfav0i3\",\n            \"bankName\": \"Guaranty Trust Bank\",\n            \"accountName\": \"AGUNBIADE  SODIQ TEMITOPE\",\n            \"accountNumber\": \"0463801856\",\n            \"bankCode\": \"058\",\n            \"createdAt\": \"2021-09-23T17:37:33.000Z\",\n            \"updatedAt\": \"2021-09-23T17:37:33.000Z\"\n        }\n    ]\n}"}],"_postman_id":"08b38ae6-3e0a-402a-8cce-cfd94e3ee740"},{"name":"Get Bank name and slug","id":"23978da5-d391-413f-96ac-1e150963bb8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/bank/get","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"e0e8fb3c-39a4-452c-9e6d-cc31b937ba08","id":"e0e8fb3c-39a4-452c-9e6d-cc31b937ba08","name":"EcommerceAPI","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v1","bank","get"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1583ee60-0c5f-41eb-846d-772e8aebfa4f","name":"Get Bank name and slug","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/bank/get"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3226"},{"key":"ETag","value":"W/\"c9a-n8aujIVfRxGZoqiCPQauqNCv5yg\""},{"key":"Date","value":"Thu, 23 Sep 2021 17:27:42 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Names and slugs fetched\",\n    \"data\": [\n        {\n            \"name\": \"Abbey Mortgage Bank\",\n            \"slug\": \"abbey-mortgage-bank\"\n        },\n        {\n            \"name\": \"Access Bank\",\n            \"slug\": \"access-bank\"\n        },\n        {\n            \"name\": \"Access Bank (Diamond)\",\n            \"slug\": \"access-bank-diamond\"\n        },\n        {\n            \"name\": \"ALAT by WEMA\",\n            \"slug\": \"alat-by-wema\"\n        },\n        {\n            \"name\": \"Amju Unique MFB\",\n            \"slug\": \"amju-unique-mfb\"\n        },\n        {\n            \"name\": \"ASO Savings and Loans\",\n            \"slug\": \"asosavings\"\n        },\n        {\n            \"name\": \"Bainescredit MFB\",\n            \"slug\": \"bainescredit-mfb\"\n        },\n        {\n            \"name\": \"Bowen Microfinance Bank\",\n            \"slug\": \"bowen-microfinance-bank\"\n        },\n        {\n            \"name\": \"Carbon\",\n            \"slug\": \"carbon\"\n        },\n        {\n            \"name\": \"CEMCS Microfinance Bank\",\n            \"slug\": \"cemcs-microfinance-bank\"\n        },\n        {\n            \"name\": \"Citibank Nigeria\",\n            \"slug\": \"citibank-nigeria\"\n        },\n        {\n            \"name\": \"Coronation Merchant Bank\",\n            \"slug\": \"coronation-merchant-bank\"\n        },\n        {\n            \"name\": \"Ecobank Nigeria\",\n            \"slug\": \"ecobank-nigeria\"\n        },\n        {\n            \"name\": \"Ekondo Microfinance Bank\",\n            \"slug\": \"ekondo-microfinance-bank\"\n        },\n        {\n            \"name\": \"Eyowo\",\n            \"slug\": \"eyowo\"\n        },\n        {\n            \"name\": \"Fidelity Bank\",\n            \"slug\": \"fidelity-bank\"\n        },\n        {\n            \"name\": \"Firmus MFB\",\n            \"slug\": \"firmus-mfb\"\n        },\n        {\n            \"name\": \"First Bank of Nigeria\",\n            \"slug\": \"first-bank-of-nigeria\"\n        },\n        {\n            \"name\": \"First City Monument Bank\",\n            \"slug\": \"first-city-monument-bank\"\n        },\n        {\n            \"name\": \"FSDH Merchant Bank Limited\",\n            \"slug\": \"fsdh-merchant-bank-limited\"\n        },\n        {\n            \"name\": \"Globus Bank\",\n            \"slug\": \"globus-bank\"\n        },\n        {\n            \"name\": \"GoMoney\",\n            \"slug\": \"gomoney\"\n        },\n        {\n            \"name\": \"Guaranty Trust Bank\",\n            \"slug\": \"guaranty-trust-bank\"\n        },\n        {\n            \"name\": \"Hackman Microfinance Bank\",\n            \"slug\": \"hackman-microfinance-bank\"\n        },\n        {\n            \"name\": \"Hasal Microfinance Bank\",\n            \"slug\": \"hasal-microfinance-bank\"\n        },\n        {\n            \"name\": \"Heritage Bank\",\n            \"slug\": \"heritage-bank\"\n        },\n        {\n            \"name\": \"Ibile Microfinance Bank\",\n            \"slug\": \"ibile-mfb\"\n        },\n        {\n            \"name\": \"Infinity MFB\",\n            \"slug\": \"infinity-mfb\"\n        },\n        {\n            \"name\": \"Jaiz Bank\",\n            \"slug\": \"jaiz-bank\"\n        },\n        {\n            \"name\": \"Keystone Bank\",\n            \"slug\": \"keystone-bank\"\n        },\n        {\n            \"name\": \"Kredi Money MFB LTD\",\n            \"slug\": \"kredi-money-mfb\"\n        },\n        {\n            \"name\": \"Kuda Bank\",\n            \"slug\": \"kuda-bank\"\n        },\n        {\n            \"name\": \"Lagos Building Investment Company Plc.\",\n            \"slug\": \"lbic-plc\"\n        },\n        {\n            \"name\": \"Links MFB\",\n            \"slug\": \"links-mfb\"\n        },\n        {\n            \"name\": \"Mayfair MFB\",\n            \"slug\": \"mayfair-mfb\"\n        },\n        {\n            \"name\": \"Mint MFB\",\n            \"slug\": \"mint-mfb\"\n        },\n        {\n            \"name\": \"Paga\",\n            \"slug\": \"paga\"\n        },\n        {\n            \"name\": \"PalmPay\",\n            \"slug\": \"palmpay\"\n        },\n        {\n            \"name\": \"Parallex Bank\",\n            \"slug\": \"parallex-bank\"\n        },\n        {\n            \"name\": \"Parkway - ReadyCash\",\n            \"slug\": \"parkway-ready-cash\"\n        },\n        {\n            \"name\": \"Paycom\",\n            \"slug\": \"paycom\"\n        },\n        {\n            \"name\": \"Petra Mircofinance Bank Plc\",\n            \"slug\": \"petra-microfinance-bank-plc\"\n        },\n        {\n            \"name\": \"Polaris Bank\",\n            \"slug\": \"polaris-bank\"\n        },\n        {\n            \"name\": \"Providus Bank\",\n            \"slug\": \"providus-bank\"\n        },\n        {\n            \"name\": \"Rand Merchant Bank\",\n            \"slug\": \"rand-merchant-bank\"\n        },\n        {\n            \"name\": \"Rubies MFB\",\n            \"slug\": \"rubies-mfb\"\n        },\n        {\n            \"name\": \"Sparkle Microfinance Bank\",\n            \"slug\": \"sparkle-microfinance-bank\"\n        },\n        {\n            \"name\": \"Stanbic IBTC Bank\",\n            \"slug\": \"stanbic-ibtc-bank\"\n        },\n        {\n            \"name\": \"Standard Chartered Bank\",\n            \"slug\": \"standard-chartered-bank\"\n        },\n        {\n            \"name\": \"Sterling Bank\",\n            \"slug\": \"sterling-bank\"\n        },\n        {\n            \"name\": \"Suntrust Bank\",\n            \"slug\": \"suntrust-bank\"\n        },\n        {\n            \"name\": \"TAJ Bank\",\n            \"slug\": \"taj-bank\"\n        },\n        {\n            \"name\": \"Tangerine Money\",\n            \"slug\": \"tangerine-money\"\n        },\n        {\n            \"name\": \"TCF MFB\",\n            \"slug\": \"tcf-mfb\"\n        },\n        {\n            \"name\": \"Titan Bank\",\n            \"slug\": \"titan-bank\"\n        },\n        {\n            \"name\": \"Union Bank of Nigeria\",\n            \"slug\": \"union-bank-of-nigeria\"\n        },\n        {\n            \"name\": \"United Bank For Africa\",\n            \"slug\": \"united-bank-for-africa\"\n        },\n        {\n            \"name\": \"Unity Bank\",\n            \"slug\": \"unity-bank\"\n        },\n        {\n            \"name\": \"VFD Microfinance Bank Limited\",\n            \"slug\": \"vfd\"\n        },\n        {\n            \"name\": \"Wema Bank\",\n            \"slug\": \"wema-bank\"\n        },\n        {\n            \"name\": \"Zenith Bank\",\n            \"slug\": \"zenith-bank\"\n        }\n    ]\n}"}],"_postman_id":"23978da5-d391-413f-96ac-1e150963bb8a"},{"name":"Add Bank (beneficiaries)","id":"3fef3c71-9552-4375-bdea-24557b33fe40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"accountNumber\": \"0463801856\",\n    \"bankSlug\": \"guaranty-trust-bank\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/bank/add","urlObject":{"protocol":"http","port":"5000","path":["api","v1","bank","add"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"83d949a5-5c59-4d6f-8b2f-9c8c50db230d","name":"Add Bank (beneficiaries)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"accountNumber\": \"0463801856\",\n    \"bankSlug\": \"guaranty-trust-bank\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/bank/add"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"317"},{"key":"ETag","value":"W/\"13d-oHd7wz0+lECIYLvDiC8l8yypFrg\""},{"key":"Date","value":"Thu, 23 Sep 2021 17:37:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"bank added successfully\",\n    \"data\": {\n        \"createdAt\": \"2021-09-23T17:37:33.679Z\",\n        \"updatedAt\": \"2021-09-23T17:37:33.682Z\",\n        \"id\": 2,\n        \"accountNumber\": \"0463801856\",\n        \"bankCode\": \"058\",\n        \"accountName\": \"AGUNBIADE  SODIQ TEMITOPE\",\n        \"userId\": 1,\n        \"recipient_code\": \"RCP_zozerq0fnfav0i3\",\n        \"bankName\": \"Guaranty Trust Bank\"\n    }\n}"}],"_postman_id":"3fef3c71-9552-4375-bdea-24557b33fe40"},{"name":"Delete Bank","id":"b3793c37-96b6-49b8-8627-28c888f67915","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/bank/delete/1","urlObject":{"protocol":"http","port":"5000","path":["api","v1","bank","delete","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"44b08644-d39a-43a2-a1fa-c2520bbffaa8","name":"Delete Bank","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/bank/delete/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"62"},{"key":"ETag","value":"W/\"3e-LfGU4lGzQNrXtfbF66KC4TvT10E\""},{"key":"Date","value":"Thu, 23 Sep 2021 17:36:37 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"bank deleted successfully\",\n    \"data\": 1\n}"}],"_postman_id":"b3793c37-96b6-49b8-8627-28c888f67915"},{"name":"Transfer Money to users using Email","id":"18a93fac-52ca-4197-9066-494580f371ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 100,\n    \"email\": \"koikibabatunde14@gmail.com\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/transfer","urlObject":{"protocol":"http","port":"5000","path":["api","v1","transfer"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"33fc2ac5-923b-4f9a-9c32-d6507e9f4121","name":"Transfer Money","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 100,\n    \"email\": \"koikibabatunde14@gmail.com\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/transfer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"689"},{"key":"ETag","value":"W/\"2b1-5CABD0npwsZUp6yX37osd5b/khs\""},{"key":"Date","value":"Thu, 23 Sep 2021 19:56:53 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"transfer successful\",\n    \"data\": {\n        \"credit\": {\n            \"createdAt\": \"2021-09-23T19:56:52.968Z\",\n            \"updatedAt\": \"2021-09-23T19:56:52.969Z\",\n            \"id\": 2,\n            \"transactionType\": \"credit\",\n            \"amount\": 100,\n            \"userId\": 2,\n            \"reference\": \"2985819d-9026-4e8b-ae11-e0a0a12dfd3f\",\n            \"purpose\": \"transfer\",\n            \"metadata\": {\n                \"recipient\": \"sodiq.agunbiade.4@gmail.com\"\n            },\n            \"balanceBefore\": 1000,\n            \"balanceAfter\": 1100\n        },\n        \"debit\": {\n            \"createdAt\": \"2021-09-23T19:56:52.570Z\",\n            \"updatedAt\": \"2021-09-23T19:56:52.571Z\",\n            \"id\": 1,\n            \"transactionType\": \"debit\",\n            \"amount\": 100,\n            \"userId\": 1,\n            \"reference\": \"3371150c-e115-4f13-9916-aaef0eb23c4a\",\n            \"purpose\": \"transfer\",\n            \"metadata\": \"{\\\"recipient\\\":\\\"koikibabatunde14@gmail.com\\\"}\",\n            \"balanceBefore\": 1000,\n            \"balanceAfter\": 900\n        }\n    }\n}"}],"_postman_id":"18a93fac-52ca-4197-9066-494580f371ba"},{"name":"Withdraw from account to beneficiaries","id":"55833739-ed37-47e1-8791-d358649fb79c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 10,\n    \"bankId\": 2\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/withdraw","urlObject":{"protocol":"http","port":"5000","path":["api","v1","withdraw"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"55833739-ed37-47e1-8791-d358649fb79c"},{"name":"Add Card","id":"c0cf91aa-d7be-4f69-b9cb-350b246e3947","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cardNumber\": \"0000000000\",\n    \"expiryMonth\": \"04\",\n    \"expiryYear\": \"22\",\n    \"cvv\": \"000\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/card/add","urlObject":{"protocol":"http","port":"5000","path":["api","v1","card","add"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"df6f709d-4b33-40c0-b8b4-b8ef5b77626b","name":"Add Card","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cardNumber\": \"0000000000\",\n    \"expiryMonth\": \"04\",\n    \"expiryYear\": \"22\",\n    \"cvv\": \"000\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/card/add"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"264"},{"key":"ETag","value":"W/\"108-YLJ2PQAk9Tzj0ItwLH9dfhXP5h8\""},{"key":"Date","value":"Wed, 29 Sep 2021 17:40:53 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"card added successfully\",\n    \"data\": {\n        \"createdAt\": \"2021-09-29T17:40:53.056Z\",\n        \"updatedAt\": \"2021-09-29T17:40:53.057Z\",\n        \"id\": 6,\n        \"cardNumber\": \"e9a1875db51185c5fdc328878a22dd7e\",\n        \"expDate\": \"04/22\",\n        \"CVV\": \"4e5029d87a815068f83678b0c3368530\",\n        \"userId\": 1\n    }\n}"}],"_postman_id":"c0cf91aa-d7be-4f69-b9cb-350b246e3947"},{"name":"Delete Card","id":"bd822370-f4be-4992-9428-78e445b3ec98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"http://localhost:5000/api/v1/card/delete/5","urlObject":{"protocol":"http","port":"5000","path":["api","v1","card","delete","5"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3a9eab77-459c-44cf-9f31-748c7c5125ec","name":"Delete Card","originalRequest":{"method":"POST","header":[],"url":"http://localhost:5000/api/v1/card/delete/5"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"63"},{"key":"ETag","value":"W/\"3f-pZ7m5FfG9nCr3FwIrJQHhl3fClg\""},{"key":"Date","value":"Wed, 29 Sep 2021 17:36:25 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"card deleted successfully\",\n    \"data\": 1\n}"}],"_postman_id":"bd822370-f4be-4992-9428-78e445b3ec98"},{"name":"Get Card","id":"38cb9d32-c94d-4de6-92f9-8e08ba361071","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/card/get/6","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"e0e8fb3c-39a4-452c-9e6d-cc31b937ba08","id":"e0e8fb3c-39a4-452c-9e6d-cc31b937ba08","name":"EcommerceAPI","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","v1","card","get","6"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d4647e55-6478-4a82-ba37-e4f702f83865","name":"Get Card","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/card/get/6"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"140"},{"key":"ETag","value":"W/\"8c-1a3slZutKPW5foi0zFlH7DV5sIo\""},{"key":"Date","value":"Thu, 30 Sep 2021 18:32:50 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"card retrieved successfully\",\n    \"data\": {\n        \"cardNumber\": \"0000000000\",\n        \"CVV\": \"000\",\n        \"expiryMonth\": \"04\",\n        \"expiryYear\": \"22\"\n    }\n}"}],"_postman_id":"38cb9d32-c94d-4de6-92f9-8e08ba361071"},{"name":"Create Card Charge","id":"5b1c7576-82ba-49cb-a1d1-065b7f0481b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": \"1000\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/card/charge/7","urlObject":{"protocol":"http","port":"5000","path":["api","v1","card","charge","7"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"a393580a-925d-4e34-801a-a7c9e76d0f0c","name":"Create Card Charge","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": \"1000\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/card/charge/7"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"167"},{"key":"ETag","value":"W/\"a7-2DW0jN6+f7hWVmGy5JXA39Uqwuk\""},{"key":"Date","value":"Thu, 30 Sep 2021 19:58:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"charge created successfully\",\n    \"data\": {\n        \"status\": true,\n        \"message\": \"Charge attempted\",\n        \"data\": {\n            \"reference\": \"1895m7jqwf4cfot\",\n            \"status\": \"send_pin\"\n        }\n    }\n}"}],"_postman_id":"5b1c7576-82ba-49cb-a1d1-065b7f0481b9"},{"name":"Submit Pin for card charge","id":"8ef3dbf2-860c-4bf3-8e2f-2531c6592691","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"reference\": \"1895m7jqwf4cfot\",\n    \"pin\": \"1111\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/card/pin","urlObject":{"protocol":"http","port":"5000","path":["api","v1","card","pin"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9cabd19c-2482-47d4-8ce3-7d1988986034","name":"Submit Pin for card charge","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"reference\": \"1895m7jqwf4cfot\",\n    \"pin\": \"1111\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/card/pin"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1226"},{"key":"ETag","value":"W/\"4ca-zX2nz/eDGm4SpLaIWDlB/l9ucsk\""},{"key":"Date","value":"Thu, 30 Sep 2021 19:58:43 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"card transaction successful\",\n    \"data\": {\n        \"status\": true,\n        \"message\": \"Charge attempted\",\n        \"data\": {\n            \"id\": 1358504702,\n            \"domain\": \"test\",\n            \"status\": \"success\",\n            \"reference\": \"1895m7jqwf4cfot\",\n            \"amount\": 1000,\n            \"message\": null,\n            \"gateway_response\": \"Successful\",\n            \"paid_at\": \"2021-09-30T19:58:41.000Z\",\n            \"created_at\": \"2021-09-30T19:58:12.000Z\",\n            \"channel\": \"card\",\n            \"currency\": \"NGN\",\n            \"ip_address\": \"52.49.173.169\",\n            \"metadata\": \"\",\n            \"log\": null,\n            \"fees\": 15,\n            \"fees_split\": null,\n            \"authorization\": {\n                \"authorization_code\": \"AUTH_ndwyka8e1f\",\n                \"bin\": \"507850\",\n                \"last4\": \"7812\",\n                \"exp_month\": \"09\",\n                \"exp_year\": \"2022\",\n                \"channel\": \"card\",\n                \"card_type\": \"verve \",\n                \"bank\": \"TEST BANK\",\n                \"country_code\": \"NG\",\n                \"brand\": \"verve\",\n                \"reusable\": true,\n                \"signature\": \"SIG_iVCCyOLY2CBTrx1TduT5\",\n                \"account_name\": null\n            },\n            \"customer\": {\n                \"id\": 56298460,\n                \"first_name\": null,\n                \"last_name\": null,\n                \"email\": \"sodiq.agunbiade.4@gmail.com\",\n                \"customer_code\": \"CUS_no5pdjgaet9zj2k\",\n                \"phone\": null,\n                \"metadata\": null,\n                \"risk_action\": \"default\",\n                \"international_format_phone\": null\n            },\n            \"plan\": null,\n            \"split\": {},\n            \"order_id\": null,\n            \"paidAt\": \"2021-09-30T19:58:41.000Z\",\n            \"createdAt\": \"2021-09-30T19:58:12.000Z\",\n            \"requested_amount\": 1000,\n            \"pos_transaction_data\": null,\n            \"source\": null,\n            \"transaction_date\": \"2021-09-30T19:58:12.000Z\",\n            \"plan_object\": {},\n            \"subaccount\": {}\n        }\n    }\n}"}],"_postman_id":"8ef3dbf2-860c-4bf3-8e2f-2531c6592691"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"dac4a35b-c7b2-49cc-aed1-9412a16ea763","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e94bbb71-3385-4de9-9fcc-7b3912291c5d","type":"text/javascript","exec":[""]}}]}