{"info":{"_postman_id":"b78582ae-7679-4422-a45b-775d5a459e27","name":"WALLET SERVICE","description":"<html><head></head><body><p>Wallet service for the assessment test of Novacrust</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"9698164","collectionId":"b78582ae-7679-4422-a45b-775d5a459e27","publishedId":"2sB3dTtTNs","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-12-15T14:05:51.000Z"},"item":[{"name":"Create Wallet API","id":"77b9a5e6-f476-4d8d-a4e6-c86a250b6787","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"currency\": \"USD\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/api/v1/wallets","urlObject":{"protocol":"http","port":"3000","path":["api","v1","wallets"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"bb886afe-d562-4263-831a-f84421c59647","name":"response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"currency\": \"USD\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/api/v1/wallets"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"216"},{"key":"ETag","value":"W/\"d8-UiWzXzb4TYFLrw/axSWa1erW8do\""},{"key":"Date","value":"Mon, 15 Dec 2025 10:33:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Wallet created successfully\",\n    \"data\": {\n        \"id\": \"f1dc59fa-0c69-464a-a701-6d79410f5ccf\",\n        \"currency\": \"USD\",\n        \"balance\": 0,\n        \"createdAt\": \"2025-12-15T10:33:33.000Z\",\n        \"updatedAt\": \"2025-12-15T10:33:33.000Z\"\n    }\n}"}],"_postman_id":"77b9a5e6-f476-4d8d-a4e6-c86a250b6787"},{"name":"All Wallets API","id":"85c2aad0-4b81-45c1-ab62-fe23d7640527","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"currency\": \"USD\"\n}"},"url":"http://127.0.0.1:3000/api/v1/wallets","urlObject":{"protocol":"http","port":"3000","path":["api","v1","wallets"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"dd41e7ee-f03d-4665-b071-8c0b384da950","name":"response","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"currency\": \"USD\"\n}"},"url":"http://127.0.0.1:3000/api/v1/wallets"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"680"},{"key":"ETag","value":"W/\"2a8-Ttksn3DzjJ2tn2f192mWHtv/s6Q\""},{"key":"Date","value":"Mon, 15 Dec 2025 10:35:20 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Wallets retrieved successfully\",\n    \"data\": [\n        {\n            \"id\": \"f1dc59fa-0c69-464a-a701-6d79410f5ccf\",\n            \"currency\": \"USD\",\n            \"balance\": 0,\n            \"createdAt\": \"2025-12-15T10:33:33.000Z\",\n            \"updatedAt\": \"2025-12-15T10:33:33.000Z\"\n        },\n        {\n            \"id\": \"2f94d03d-4f57-409b-9e84-aedb4842348c\",\n            \"currency\": \"NIV\",\n            \"balance\": 0,\n            \"createdAt\": \"2025-12-15T09:59:46.000Z\",\n            \"updatedAt\": \"2025-12-15T09:59:46.000Z\"\n        },\n        {\n            \"id\": \"feba3acd-9877-4ad1-a700-e28d98c2445b\",\n            \"currency\": \"NGN\",\n            \"balance\": 0,\n            \"createdAt\": \"2025-12-15T09:52:19.000Z\",\n            \"updatedAt\": \"2025-12-15T09:52:19.000Z\"\n        },\n        {\n            \"id\": \"846eb695-c429-4c4f-a5e4-a0075fd78e33\",\n            \"currency\": \"NGN\",\n            \"balance\": 0,\n            \"createdAt\": \"2025-12-15T09:50:31.000Z\",\n            \"updatedAt\": \"2025-12-15T09:50:31.000Z\"\n        }\n    ]\n}"}],"_postman_id":"85c2aad0-4b81-45c1-ab62-fe23d7640527"},{"name":"Wallet Details API","id":"3c298ca3-869d-4f84-86fe-e962fdefa82c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"currency\": \"USD\"\n}"},"url":"http://127.0.0.1:3000/api/v1/wallets/f1dc59fa-0c69-464a-a701-6d79410f5ccf","urlObject":{"protocol":"http","port":"3000","path":["api","v1","wallets","f1dc59fa-0c69-464a-a701-6d79410f5ccf"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"895445f5-07ee-488b-a9bb-89129b509ada","name":"response","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"currency\": \"USD\"\n}"},"url":"http://127.0.0.1:3000/api/v1/wallets/f1dc59fa-0c69-464a-a701-6d79410f5ccf"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"255"},{"key":"ETag","value":"W/\"ff-O9hCDY47JRXIJLdUHDYOaafwpjc\""},{"key":"Date","value":"Mon, 15 Dec 2025 10:36:49 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Wallet details retrieved successfully\",\n    \"data\": {\n        \"wallet\": {\n            \"id\": \"f1dc59fa-0c69-464a-a701-6d79410f5ccf\",\n            \"currency\": \"USD\",\n            \"balance\": 0,\n            \"createdAt\": \"2025-12-15T10:33:33.000Z\",\n            \"updatedAt\": \"2025-12-15T10:33:33.000Z\"\n        },\n        \"transactions\": []\n    }\n}"}],"_postman_id":"3c298ca3-869d-4f84-86fe-e962fdefa82c"},{"name":"Add Fund API","id":"89a5581b-45c9-4016-b915-72fdd932d04d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"idempotency-key","value":"ury464u4hr64hrhfby4h","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 20,\n    \"description\": \"test description\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/api/v1/wallets/f1dc59fa-0c69-464a-a701-6d79410f5ccf/fund","urlObject":{"protocol":"http","port":"3000","path":["api","v1","wallets","f1dc59fa-0c69-464a-a701-6d79410f5ccf","fund"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"9e187b6d-9197-4920-a021-8e9f61ecc830","name":"response","originalRequest":{"method":"POST","header":[{"key":"idempotency-key","value":"ury464u4hr64hrhfby4h","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 20,\n    \"description\": \"test description\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/api/v1/wallets/f1dc59fa-0c69-464a-a701-6d79410f5ccf/fund"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"537"},{"key":"ETag","value":"W/\"219-gDLeXD8lq2R165YrkSH3xMarQLs\""},{"key":"Date","value":"Mon, 15 Dec 2025 12:41:29 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Wallet funded successfully\",\n    \"data\": {\n        \"wallet\": {\n            \"id\": \"f1dc59fa-0c69-464a-a701-6d79410f5ccf\",\n            \"currency\": \"USD\",\n            \"balance\": 40,\n            \"createdAt\": \"2025-12-15T10:33:33.000Z\",\n            \"updatedAt\": \"2025-12-15T12:41:29.000Z\"\n        },\n        \"transaction\": {\n            \"id\": \"65037f57-2c22-4292-b627-6c08ad461199\",\n            \"walletId\": \"f1dc59fa-0c69-464a-a701-6d79410f5ccf\",\n            \"type\": \"CREDIT\",\n            \"amount\": 20,\n            \"balanceBefore\": 20,\n            \"balanceAfter\": 40,\n            \"reference\": \"TRF-1765802489058-6ell60frv\",\n            \"description\": \"test description\",\n            \"status\": \"COMPLETED\",\n            \"createdAt\": \"2025-12-15T12:41:29.000Z\"\n        }\n    }\n}"}],"_postman_id":"89a5581b-45c9-4016-b915-72fdd932d04d"},{"name":"Transfer API","id":"c041c839-6432-459d-89b6-1d80a948a235","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sourceWalletId\": \"f1dc59fa-0c69-464a-a701-6d79410f5ccf\",\n    \"destinationWalletId\": \"6ad98903-5cea-455d-b9e8-74cfd452dfac\",\n    \"amount\": 10,\n    \"description\": \"for the weekend\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/api/v1/wallets/transfer","urlObject":{"protocol":"http","port":"3000","path":["api","v1","wallets","transfer"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"b632eaf8-2e60-46d0-aa29-4336fcd9c039","name":"response","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sourceWalletId\": \"f1dc59fa-0c69-464a-a701-6d79410f5ccf\",\n    \"destinationWalletId\": \"6ad98903-5cea-455d-b9e8-74cfd452dfac\",\n    \"amount\": 10,\n    \"description\": \"for the weekend\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3000/api/v1/wallets/transfer"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1017"},{"key":"ETag","value":"W/\"3f9-6Ucxg3Aslw2o1yTf+kswFi5UEJQ\""},{"key":"Date","value":"Mon, 15 Dec 2025 12:54:49 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Transfer completed successfully\",\n    \"data\": {\n        \"sourceWallet\": {\n            \"id\": \"f1dc59fa-0c69-464a-a701-6d79410f5ccf\",\n            \"currency\": \"USD\",\n            \"balance\": 30,\n            \"createdAt\": \"2025-12-15T10:33:33.000Z\",\n            \"updatedAt\": \"2025-12-15T12:54:49.000Z\"\n        },\n        \"destinationWallet\": {\n            \"id\": \"6ad98903-5cea-455d-b9e8-74cfd452dfac\",\n            \"currency\": \"USD\",\n            \"balance\": 10,\n            \"createdAt\": \"2025-12-15T12:51:23.000Z\",\n            \"updatedAt\": \"2025-12-15T12:54:49.000Z\"\n        },\n        \"transactions\": [\n            {\n                \"id\": \"692cc182-315d-470b-8a8c-5af8782433ee\",\n                \"walletId\": \"f1dc59fa-0c69-464a-a701-6d79410f5ccf\",\n                \"type\": \"DEBIT\",\n                \"amount\": 10,\n                \"balanceBefore\": 40,\n                \"balanceAfter\": 30,\n                \"reference\": \"TRF-1765803289268-b8vn9v0m4\",\n                \"description\": \"for the weekend\",\n                \"status\": \"COMPLETED\",\n                \"createdAt\": \"2025-12-15T12:54:49.000Z\"\n            },\n            {\n                \"id\": \"f4883a2b-fd94-48bd-bd96-dd2141433993\",\n                \"walletId\": \"6ad98903-5cea-455d-b9e8-74cfd452dfac\",\n                \"type\": \"CREDIT\",\n                \"amount\": 10,\n                \"balanceBefore\": 0,\n                \"balanceAfter\": 10,\n                \"reference\": \"TRF-1765803289268-b8vn9v0m4\",\n                \"description\": \"for the weekend\",\n                \"status\": \"COMPLETED\",\n                \"createdAt\": \"2025-12-15T12:54:49.000Z\"\n            }\n        ]\n    }\n}"}],"_postman_id":"c041c839-6432-459d-89b6-1d80a948a235"}]}