{"info":{"_postman_id":"6bebf071-0762-4483-8629-453653ec1c31","name":"Democredit","description":"<html><head></head><body><p>Demo Credit API.</p>\n<p>Demo Credit is a mobile lending app that requires wallet functionality. This is needed as borrowers need a wallet to receive the loans they have been granted and also send the money for repayments.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"11724511","collectionId":"6bebf071-0762-4483-8629-453653ec1c31","publishedId":"2s8ZDU64s2","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-01-16T18:18:24.000Z"},"item":[{"name":"auth","item":[{"name":"register a new user","id":"1f0160a4-9ce7-4004-bd23-38cfae92c2e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"firstName\":\"test\",\r\n    \"lastName\":\"dummy\",\r\n    \"email\":\"test@email.com\",\r\n    \"password\":\"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/auth/register","description":"<p>Register a new user</p>\n","urlObject":{"protocol":"https","path":["api","v1","auth","register"],"host":["chimobi-mbah-lendsqr-be-test","up","railway","app"],"query":[],"variable":[]}},"response":[{"id":"9d82b4d7-bf58-416f-9603-7de2f6fa0d44","name":"register a new user","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"firstName\":\"paul\",\r\n    \"lastName\":\"Harry\",\r\n    \"email\":\"paulharry@email.com\",\r\n    \"password\":\"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/auth/register"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"ETag","value":"W/\"39-T+T240ltjYMhXe7FBG08sbIdpSk\""},{"key":"Date","value":"Sun, 15 Jan 2023 15:31:30 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Account successfully created\"\n}"}],"_postman_id":"1f0160a4-9ce7-4004-bd23-38cfae92c2e5"},{"name":"login user","id":"e53f537d-681f-4ce3-a982-8cb7537b4a0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n \"email\":\"testuser@email.com\",\r\n    \"password\":\"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/auth/login","description":"<p>signin in user with correct details to get auth token</p>\n","urlObject":{"protocol":"https","path":["api","v1","auth","login"],"host":["chimobi-mbah-lendsqr-be-test","up","railway","app"],"query":[],"variable":[]}},"response":[{"id":"516a8d28-1d51-432f-8c75-d3a66b124fff","name":"login user","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"desmond@email.com\",\r\n    \"password\":\"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"280"},{"key":"ETag","value":"W/\"118-JS8dg46C9y0sWqWbhbl7rA7J5rk\""},{"key":"Date","value":"Sun, 15 Jan 2023 15:30:07 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Login successful\",\n    \"data\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2NzM3OTY2MDcxMDEsImlzcyI6IkRlbW9jcmVkaXQiLCJ1c2VySWQiOiI2OTQ2YzU0ZC05NDRiLTExZWQtYWEwOC04OGFlMWRhZWIwNWIiLCJleHAiOjE2NzM3OTY3Nzk5MDF9.t-164i1rd0D6tyVr6TeKKUv8tUTtiX6-LA_FbeJcwiU\"\n}"}],"_postman_id":"e53f537d-681f-4ce3-a982-8cb7537b4a0d"}],"id":"1ded0039-9d43-4f10-bd50-fc1a3286f0b3","description":"<p>A﻿uthenticaion endpoints for application</p>\n","_postman_id":"1ded0039-9d43-4f10-bd50-fc1a3286f0b3"},{"name":"users","item":[{"name":"get user details","id":"901069c5-0e66-4689-a1d9-edf778750afe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/users","urlObject":{"protocol":"https","path":["api","v1","users"],"host":["chimobi-mbah-lendsqr-be-test","up","railway","app"],"query":[],"variable":[]}},"response":[{"id":"6b61cf64-517f-4014-91a8-ece7fb84fe6b","name":"get user details","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","type":"text","disabled":true}],"url":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"146"},{"key":"ETag","value":"W/\"92-5OiJrqx74E7SfZs6tqCOIn4v33Y\""},{"key":"Date","value":"Mon, 16 Jan 2023 16:05:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"email\": \"rob@email.com\",\n        \"firstName\": \"Hanna\",\n        \"lastName\": \"MAson\",\n        \"role\": \"USER\",\n        \"id\": \"2d989f5a-9578-11ed-aa08-88ae1daeb05b\"\n    }\n}"}],"_postman_id":"901069c5-0e66-4689-a1d9-edf778750afe"}],"id":"de8595a9-4790-46c3-a3d4-0176d29ad835","description":"<p>User info endpoints</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"3ec65dc2-b4df-40dc-9226-dc431fbaa0a9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1c4485e5-667c-462d-93cc-017824d833aa","type":"text/javascript","exec":[""]}}],"_postman_id":"de8595a9-4790-46c3-a3d4-0176d29ad835"},{"name":"wallet","item":[{"name":"update wallet details","id":"f1904cea-a616-4787-942e-6230adb95f12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"accountName\":\"Dare Paul\",\r\n    \"bankName\":\"Frsit Bank\",\r\n    \"accountNo\": \"3080110022\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/wallet","description":"<p>updating userbank account details to enable cash withdrawals off democredit app</p>\n","urlObject":{"protocol":"https","path":["api","v1","wallet"],"host":["chimobi-mbah-lendsqr-be-test","up","railway","app"],"query":[],"variable":[]}},"response":[{"id":"ebc18de6-8014-4172-8789-f407c8f8b394","name":"update wallet details","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer <token>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"accountName\":\"HArry Paul\",\r\n    \"bankName\":\"Frsit Bank\",\r\n    \"accountNo\": \"3080110022\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/wallet"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"ETag","value":"W/\"39-Bu/UMjmjh8ivucJqXjssCDpTk18\""},{"key":"Date","value":"Mon, 16 Jan 2023 00:28:20 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Account successfully updated\"\n}"}],"_postman_id":"f1904cea-a616-4787-942e-6230adb95f12"},{"name":"Fund  your wallet account","id":"baa4a2e4-0e23-4a02-9dce-0162ed4ba540","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"amount\": 3500\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/wallet/fund","description":"<p>Users funding their wallet account</p>\n","urlObject":{"protocol":"https","path":["api","v1","wallet","fund"],"host":["chimobi-mbah-lendsqr-be-test","up","railway","app"],"query":[],"variable":[]}},"response":[{"id":"df53c421-3c59-4a2e-adbf-42c4dae972da","name":"Fund  your wallet account","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"amount\": 4000\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/wallet/fund"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"255"},{"key":"ETag","value":"W/\"ff-TMVyjv6HUmTKEQRLsTuai3OiAJA\""},{"key":"Date","value":"Mon, 16 Jan 2023 00:48:57 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Payment successfully initialised\",\n    \"data\": {\n        \"status\": true,\n        \"message\": \"Authorization URL created\",\n        \"data\": {\n            \"authorization_url\": \"https://checkout.paystack.com/axxz3q3mornthtf\",\n            \"access_code\": \"axxz3q3mornthtf\",\n            \"reference\": \"prkr56afkh\"\n        }\n    }\n}"}],"_postman_id":"baa4a2e4-0e23-4a02-9dce-0162ed4ba540"},{"name":"transfer cash to other users","id":"29a6226c-7b9b-447e-8771-a1e7bdae6845","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"amount\": 3000,\r\n    \"walletId\":39933225823\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/wallet/transfers","urlObject":{"protocol":"https","path":["api","v1","wallet","transfers"],"host":["chimobi-mbah-lendsqr-be-test","up","railway","app"],"query":[],"variable":[]}},"response":[{"id":"015fd9ab-07c8-4813-8271-121ea5737069","name":"transfer cash to other users","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"amount\": 300,\r\n    \"walletId\":39933225823\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/wallet/transfer","protocol":"https","host":["chimobi-mbah-lendsqr-be-test","up","railway","app"],"path":["api","v1","wallet","transfer"],"query":[{"key":"","value":"Bearer <token>","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"48"},{"key":"ETag","value":"W/\"30-nbm2vmI9BRhNq1I5cujW5fpiz60\""},{"key":"Date","value":"Mon, 16 Jan 2023 08:59:13 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Transfer successful\"\n}"}],"_postman_id":"29a6226c-7b9b-447e-8771-a1e7bdae6845"},{"name":"withdraw funds from account","id":"8f0f5b91-d0e5-4232-b323-0ee91f7d85d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"amount\": 1700\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/wallet/withdrawals","urlObject":{"protocol":"https","path":["api","v1","wallet","withdrawals"],"host":["chimobi-mbah-lendsqr-be-test","up","railway","app"],"query":[],"variable":[]}},"response":[{"id":"62997ef2-bdbe-4fd0-ba71-0a553eeeb83e","name":"withdraw funds from account","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"amount\": 1700\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/wallet/withdrawals"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"50"},{"key":"ETag","value":"W/\"32-Sc5iQd28a7oTfS1JWKWoV8XzCv0\""},{"key":"Date","value":"Tue, 17 Jan 2023 18:10:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Withdrawal successful\"\n}"}],"_postman_id":"8f0f5b91-d0e5-4232-b323-0ee91f7d85d7"},{"name":"get wallet details","id":"826dbe46-6423-446a-87d0-05abe97f8e53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/wallet","urlObject":{"protocol":"https","path":["api","v1","wallet"],"host":["chimobi-mbah-lendsqr-be-test","up","railway","app"],"query":[],"variable":[]}},"response":[{"id":"cd8c7413-6adf-4824-bad8-b6190de0b2be","name":"get wwallet details","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","type":"text"}],"url":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/wallet"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"309"},{"key":"ETag","value":"W/\"135-eR2Qh7Jjes6wGysfqCGPagvnyd4\""},{"key":"Date","value":"Mon, 16 Jan 2023 15:42:30 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"id\": \"2dc00bfd-9578-11ed-aa08-88ae1daeb05b\",\n        \"walletId\": 32933342012,\n        \"userId\": \"2d989f5a-9578-11ed-aa08-88ae1daeb05b\",\n        \"balance\": 800,\n        \"bankName\": \"Frsit Bank\",\n        \"accountName\": \"Dare Paul\",\n        \"accountNo\": \"3080110022\",\n        \"created_at\": \"2023-01-16T08:31:31.000Z\",\n        \"updated_at\": \"2023-01-16T08:31:31.000Z\"\n    }\n}"}],"_postman_id":"826dbe46-6423-446a-87d0-05abe97f8e53"}],"id":"e788d390-04a9-4532-9105-102c62a4bba1","_postman_id":"e788d390-04a9-4532-9105-102c62a4bba1","description":""},{"name":"transactions","item":[{"name":"get user wallet transactions","id":"e3ac8f1c-4020-444a-b524-de744283c556","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/transactions","urlObject":{"protocol":"https","path":["api","v1","transactions"],"host":["chimobi-mbah-lendsqr-be-test","up","railway","app"],"query":[],"variable":[]}},"response":[{"id":"faee15bb-b83a-4840-bceb-3e2b792fad94","name":"get user wallet transactions","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","type":"text"}],"url":"https://chimobi-mbah-lendsqr-be-test.up.railway.app/api/v1/transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1866"},{"key":"ETag","value":"W/\"74a-XAbbGfRRVcgPF9vV227OVbRSbUo\""},{"key":"Date","value":"Tue, 17 Jan 2023 18:06:57 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"id\": \"01f0ebf0-95c3-11ed-aa08-88ae1daeb05b\",\n            \"type\": \"CREDIT\",\n            \"walletId\": 32933342012,\n            \"userId\": \"2d989f5a-9578-11ed-aa08-88ae1daeb05b\",\n            \"amount\": 1500,\n            \"from\": \"me\",\n            \"to\": \"wallet\",\n            \"created_at\": \"2023-01-16T17:27:10.000Z\",\n            \"updated_at\": \"2023-01-16T17:27:10.000Z\"\n        },\n        {\n            \"id\": \"05b30fa3-95c3-11ed-aa08-88ae1daeb05b\",\n            \"type\": \"CREDIT\",\n            \"walletId\": 32933342012,\n            \"userId\": \"2d989f5a-9578-11ed-aa08-88ae1daeb05b\",\n            \"amount\": 1500,\n            \"from\": \"me\",\n            \"to\": \"wallet\",\n            \"created_at\": \"2023-01-16T17:27:16.000Z\",\n            \"updated_at\": \"2023-01-16T17:27:16.000Z\"\n        },\n        {\n            \"id\": \"143ba07f-95c7-11ed-aa08-88ae1daeb05b\",\n            \"type\": \"DEBIT\",\n            \"walletId\": 32933342012,\n            \"userId\": \"2d989f5a-9578-11ed-aa08-88ae1daeb05b\",\n            \"amount\": 1700,\n            \"from\": \"democredit\",\n            \"to\": \"Frsit Bank-3080110022-Dare Paul\",\n            \"created_at\": \"2023-01-16T17:56:18.000Z\",\n            \"updated_at\": \"2023-01-16T17:56:18.000Z\"\n        },\n        {\n            \"id\": \"2ccd2c12-95c5-11ed-aa08-88ae1daeb05b\",\n            \"type\": \"DEBIT\",\n            \"walletId\": 32933342012,\n            \"userId\": \"2d989f5a-9578-11ed-aa08-88ae1daeb05b\",\n            \"amount\": 1300,\n            \"from\": \"democredit\",\n            \"to\": \"Frsit Bank-3080110022-Dare Paul\",\n            \"created_at\": \"2023-01-16T17:42:41.000Z\",\n            \"updated_at\": \"2023-01-16T17:42:41.000Z\"\n        },\n        {\n            \"id\": \"c40ffa02-95c4-11ed-aa08-88ae1daeb05b\",\n            \"type\": \"CREDIT\",\n            \"walletId\": 32933342012,\n            \"userId\": \"2d989f5a-9578-11ed-aa08-88ae1daeb05b\",\n            \"amount\": 3500,\n            \"from\": \"Bank\",\n            \"to\": \"wallet\",\n            \"created_at\": \"2023-01-16T17:39:45.000Z\",\n            \"updated_at\": \"2023-01-16T17:39:45.000Z\"\n        },\n        {\n            \"id\": \"d7b485ee-95c2-11ed-aa08-88ae1daeb05b\",\n            \"type\": \"CREDIT\",\n            \"walletId\": 32933342012,\n            \"userId\": \"2d989f5a-9578-11ed-aa08-88ae1daeb05b\",\n            \"amount\": 1500,\n            \"from\": \"me\",\n            \"to\": \"wallet\",\n            \"created_at\": \"2023-01-16T17:25:59.000Z\",\n            \"updated_at\": \"2023-01-16T17:25:59.000Z\"\n        },\n        {\n            \"id\": \"ff99ed2b-95c4-11ed-aa08-88ae1daeb05b\",\n            \"type\": \"DEBIT\",\n            \"walletId\": 32933342012,\n            \"userId\": \"2d989f5a-9578-11ed-aa08-88ae1daeb05b\",\n            \"amount\": 3000,\n            \"from\": \"me\",\n            \"to\": \"39933225823\",\n            \"created_at\": \"2023-01-16T17:41:25.000Z\",\n            \"updated_at\": \"2023-01-16T17:41:25.000Z\"\n        }\n    ]\n}"}],"_postman_id":"e3ac8f1c-4020-444a-b524-de744283c556"}],"id":"a0132edf-584d-464f-a6bd-07e7fe0109fa","description":"<p>User W﻿allet transaction details</p>\n","_postman_id":"a0132edf-584d-464f-a6bd-07e7fe0109fa"}],"event":[{"listen":"prerequest","script":{"id":"b7716014-c47e-4bca-b0f6-8af684609fa8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1f787108-75cf-4662-9b20-b5c69417f0d0","type":"text/javascript","exec":[""]}}]}