{"info":{"_postman_id":"a718b31c-a7d8-4e15-b9a2-3ad05a833b0e","name":"FX-Trading","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"16995065","collectionId":"a718b31c-a7d8-4e15-b9a2-3ad05a833b0e","publishedId":"2sBXihpCMg","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-03-17T12:42:35.000Z"},"item":[{"name":"Register","id":"0b40c05b-b468-48a5-9dae-d9da6a8588ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"paul@gmail.com\",\r\n  \"password\": \"Password123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/register","urlObject":{"protocol":"http","port":"3000","path":["auth","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"516c5595-3771-4db7-940b-4e8c8aa5ae24","name":"successMessage","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"adeleyepaul2@gmail.com\",\r\n  \"password\": \"Password123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/register"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"75"},{"key":"ETag","value":"W/\"4b-WCzK62aBO3j1F4mWNVxj51E+0zI\""},{"key":"Date","value":"Tue, 17 Mar 2026 11:42:34 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Registration successful. Please check your email for the OTP.\"\n}"}],"_postman_id":"0b40c05b-b468-48a5-9dae-d9da6a8588ea"},{"name":"Verify-Registration","id":"5088ce0c-5a65-4bc7-beae-1c043b5e2755","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"paul@gmail.com\",\r\n  \"otp\": \"871861\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/verify","urlObject":{"protocol":"http","port":"3000","path":["auth","verify"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"7688698e-342b-47a6-b7a2-fb7f11f5c168","name":"Invalid/ExpiredOTP","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"paul@gmail.com\",\r\n  \"otp\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/verify"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"75"},{"key":"ETag","value":"W/\"4b-duMXb7j8YL+Z6KnBOEu6CT4/WA4\""},{"key":"Date","value":"Tue, 17 Mar 2026 11:45:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid or expired OTP\",\n    \"error\": \"Bad Request\",\n    \"statusCode\": 400\n}"},{"id":"72801870-3757-4e80-acfb-c6fe33c43054","name":"successMessage","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"paul@gmail.com\",\r\n  \"otp\": \"871861\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"61"},{"key":"ETag","value":"W/\"3d-tTsVJujpoTDuhbMSkcv9TRP+a5o\""},{"key":"Date","value":"Tue, 17 Mar 2026 11:52:22 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Email verified successfully. You can now login.\"\n}"}],"_postman_id":"5088ce0c-5a65-4bc7-beae-1c043b5e2755"},{"name":"Login","id":"c381110c-bfc7-4c6f-853f-8d8d97752c08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"paul@gmail.com\",\r\n  \"password\": \"Password123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/login","urlObject":{"protocol":"http","port":"3000","path":["auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"dca9ccff-1b3c-4109-b8ce-af7b75c23384","name":"successMessage","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"paul@gmail.com\",\r\n  \"password\": \"Password123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"240"},{"key":"ETag","value":"W/\"f0-BMZYLj7ozAxIFMhyEBdjQr/rjiE\""},{"key":"Date","value":"Tue, 17 Mar 2026 11:53:43 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InBhdWxAZ21haWwuY29tIiwic3ViIjoiY2E0ZjVmODItZmM1ZC00Mjk0LTk3M2QtZDMyMjY0OTJiMzgwIiwiaWF0IjoxNzczNzQ4NDIzLCJleHAiOjE3NzM3NTIwMjN9.sRKutx5p9R9e959KQsr7_qHWQwLyWppgmfTzqaL5Gzc\"\n}"}],"_postman_id":"c381110c-bfc7-4c6f-853f-8d8d97752c08"},{"name":"Wallet","id":"136c722f-0440-4157-941e-f6110a708d12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"currency\": \"NGN\",\r\n  \"amount\": 80000 \r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/wallet/fund","urlObject":{"protocol":"http","port":"3000","path":["wallet","fund"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"39955ac5-9ad9-489a-83ad-cca043c96f66","name":"successMessage","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"currency\": \"NGN\",\r\n  \"amount\": 50000 \r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/wallet/fund"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"211"},{"key":"ETag","value":"W/\"d3-GndVS4EK/6m4P69nAhgvOyKgky0\""},{"key":"Date","value":"Tue, 17 Mar 2026 11:55:59 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"f6634d5c-98e4-426b-a988-a317630b0d05\",\n    \"userId\": \"ca4f5f82-fc5d-4294-973d-d3226492b380\",\n    \"currency\": \"NGN\",\n    \"balance\": \"50000.0000\",\n    \"createdAt\": \"2026-03-17T10:55:59.145Z\",\n    \"updatedAt\": \"2026-03-17T10:55:59.145Z\"\n}"}],"_postman_id":"136c722f-0440-4157-941e-f6110a708d12"},{"name":"WalletBalances","id":"7ba29434-2ff7-4ec4-b01b-d371dd9d36a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/wallet","urlObject":{"protocol":"http","port":"3000","path":["wallet"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"cbc0abaa-b0b5-40f1-8352-4471f1e60533","name":"successMessage","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/wallet"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"214"},{"key":"ETag","value":"W/\"d6-li03x7tVXgxzZ0WD9R2A+Lv5TlQ\""},{"key":"Date","value":"Tue, 17 Mar 2026 11:58:16 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"f6634d5c-98e4-426b-a988-a317630b0d05\",\n        \"userId\": \"ca4f5f82-fc5d-4294-973d-d3226492b380\",\n        \"currency\": \"NGN\",\n        \"balance\": \"130000.0000\",\n        \"createdAt\": \"2026-03-17T10:55:59.145Z\",\n        \"updatedAt\": \"2026-03-17T10:57:11.216Z\"\n    }\n]"}],"_postman_id":"7ba29434-2ff7-4ec4-b01b-d371dd9d36a4"},{"name":"ViewFX","id":"1e19f74e-5c8d-4982-8119-6f384b217d2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/fx/rates","urlObject":{"protocol":"http","port":"3000","path":["fx","rates"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9607bb83-1e4d-4bb5-92dd-ea71acc82923","name":"successMessage","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/fx/rates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"2009"},{"key":"ETag","value":"W/\"7d9-O+2y2b8+w6LyW8w3+YJhvw/7OOo\""},{"key":"Date","value":"Tue, 17 Mar 2026 12:07:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"base\": \"USD\",\n    \"rates\": {\n        \"USD\": 1,\n        \"AED\": 3.67,\n        \"AFN\": 62.96,\n        \"ALL\": 83.86,\n        \"AMD\": 377.6,\n        \"ANG\": 1.79,\n        \"AOA\": 922.92,\n        \"ARS\": 1452.25,\n        \"AUD\": 1.42,\n        \"AWG\": 1.79,\n        \"AZN\": 1.7,\n        \"BAM\": 1.7,\n        \"BBD\": 2,\n        \"BDT\": 122.64,\n        \"BGN\": 1.64,\n        \"BHD\": 0.376,\n        \"BIF\": 2980.29,\n        \"BMD\": 1,\n        \"BND\": 1.28,\n        \"BOB\": 6.91,\n        \"BRL\": 5.26,\n        \"BSD\": 1,\n        \"BTN\": 92.4,\n        \"BWP\": 13.8,\n        \"BYN\": 2.96,\n        \"BZD\": 2,\n        \"CAD\": 1.37,\n        \"CDF\": 2233.69,\n        \"CHF\": 0.788,\n        \"CLF\": 0.0232,\n        \"CLP\": 917.66,\n        \"CNH\": 6.89,\n        \"CNY\": 6.9,\n        \"COP\": 3691.58,\n        \"CRC\": 469.89,\n        \"CUP\": 24,\n        \"CVE\": 95.98,\n        \"CZK\": 21.27,\n        \"DJF\": 177.72,\n        \"DKK\": 6.5,\n        \"DOP\": 61.62,\n        \"DZD\": 132.34,\n        \"EGP\": 52.38,\n        \"ERN\": 15,\n        \"ETB\": 155.78,\n        \"EUR\": 0.871,\n        \"FJD\": 2.21,\n        \"FKP\": 0.752,\n        \"FOK\": 6.5,\n        \"GBP\": 0.752,\n        \"GEL\": 2.73,\n        \"GGP\": 0.752,\n        \"GHS\": 10.85,\n        \"GIP\": 0.752,\n        \"GMD\": 74.18,\n        \"GNF\": 8768.75,\n        \"GTQ\": 7.66,\n        \"GYD\": 209.24,\n        \"HKD\": 7.83,\n        \"HNL\": 26.45,\n        \"HRK\": 6.56,\n        \"HTG\": 131.15,\n        \"HUF\": 339.82,\n        \"IDR\": 16979.66,\n        \"ILS\": 3.12,\n        \"IMP\": 0.752,\n        \"INR\": 92.4,\n        \"IQD\": 1311.69,\n        \"IRR\": 968798.18,\n        \"ISK\": 125.15,\n        \"JEP\": 0.752,\n        \"JMD\": 156.93,\n        \"JOD\": 0.709,\n        \"JPY\": 159.17,\n        \"KES\": 129.18,\n        \"KGS\": 87.43,\n        \"KHR\": 4037.75,\n        \"KID\": 1.42,\n        \"KMF\": 428.23,\n        \"KRW\": 1491.16,\n        \"KWD\": 0.307,\n        \"KYD\": 0.833,\n        \"KZT\": 483.11,\n        \"LAK\": 21593.9,\n        \"LBP\": 89500,\n        \"LKR\": 311.07,\n        \"LRD\": 182.86,\n        \"LSL\": 16.72,\n        \"LYD\": 6.38,\n        \"MAD\": 9.41,\n        \"MDL\": 17.41,\n        \"MGA\": 4148.77,\n        \"MKD\": 53.58,\n        \"MMK\": 2097.78,\n        \"MNT\": 3554.14,\n        \"MOP\": 8.07,\n        \"MRU\": 40.01,\n        \"MUR\": 46.72,\n        \"MVR\": 15.44,\n        \"MWK\": 1743.47,\n        \"MXN\": 17.74,\n        \"MYR\": 3.93,\n        \"MZN\": 63.7,\n        \"NAD\": 16.72,\n        \"NGN\": 1364.24,\n        \"NIO\": 36.75,\n        \"NOK\": 9.69,\n        \"NPR\": 147.84,\n        \"NZD\": 1.71,\n        \"OMR\": 0.384,\n        \"PAB\": 1,\n        \"PEN\": 3.44,\n        \"PGK\": 4.34,\n        \"PHP\": 59.78,\n        \"PKR\": 279.43,\n        \"PLN\": 3.71,\n        \"PYG\": 6475.09,\n        \"QAR\": 3.64,\n        \"RON\": 4.44,\n        \"RSD\": 102.35,\n        \"RUB\": 81.26,\n        \"RWF\": 1457.13,\n        \"SAR\": 3.75,\n        \"SBD\": 7.93,\n        \"SCR\": 14.63,\n        \"SDG\": 453.89,\n        \"SEK\": 9.36,\n        \"SGD\": 1.28,\n        \"SHP\": 0.752,\n        \"SLE\": 24.29,\n        \"SLL\": 24289.14,\n        \"SOS\": 571.56,\n        \"SRD\": 37.58,\n        \"SSP\": 4589.32,\n        \"STN\": 21.33,\n        \"SYP\": 112.2,\n        \"SZL\": 16.72,\n        \"THB\": 32.38,\n        \"TJS\": 9.57,\n        \"TMT\": 3.5,\n        \"TND\": 2.94,\n        \"TOP\": 2.36,\n        \"TRY\": 44.18,\n        \"TTD\": 6.75,\n        \"TVD\": 1.42,\n        \"TWD\": 32,\n        \"TZS\": 2588.75,\n        \"UAH\": 44.08,\n        \"UGX\": 3759.62,\n        \"UYU\": 40.26,\n        \"UZS\": 12148.92,\n        \"VES\": 448.37,\n        \"VND\": 26199.56,\n        \"VUV\": 118.93,\n        \"WST\": 2.71,\n        \"XAF\": 570.97,\n        \"XCD\": 2.7,\n        \"XCG\": 1.79,\n        \"XDR\": 0.737,\n        \"XOF\": 570.97,\n        \"XPF\": 103.87,\n        \"YER\": 238.18,\n        \"ZAR\": 16.72,\n        \"ZMW\": 19.53,\n        \"ZWG\": 25.45,\n        \"ZWL\": 25.45\n    }\n}"}],"_postman_id":"1e19f74e-5c8d-4982-8119-6f384b217d2f"},{"name":"Trade","id":"1f3790a1-0be5-46ad-b7c2-4731a29d71f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"fromCurrency\": \"NGN\",\r\n  \"toCurrency\": \"USD\",\r\n  \"amount\": 50000\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/wallet/convert","urlObject":{"protocol":"http","port":"3000","path":["wallet","convert"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6339bec1-d230-43bf-8d98-12cb5f380883","name":"successMessage","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"fromCurrency\": \"NGN\",\r\n  \"toCurrency\": \"USD\",\r\n  \"amount\": 50000\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/wallet/convert"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"473"},{"key":"ETag","value":"W/\"1d9-AusvX9of6OllCwyv53lgPmxi2Ww\""},{"key":"Date","value":"Tue, 17 Mar 2026 12:17:16 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Conversion successful\",\n    \"fromWallet\": {\n        \"id\": \"f6634d5c-98e4-426b-a988-a317630b0d05\",\n        \"userId\": \"ca4f5f82-fc5d-4294-973d-d3226492b380\",\n        \"currency\": \"NGN\",\n        \"balance\": 80000,\n        \"createdAt\": \"2026-03-17T10:55:59.145Z\",\n        \"updatedAt\": \"2026-03-17T11:17:16.140Z\"\n    },\n    \"toWallet\": {\n        \"id\": \"9f549bf8-2245-4759-a80d-272ce243cc7b\",\n        \"userId\": \"ca4f5f82-fc5d-4294-973d-d3226492b380\",\n        \"currency\": \"USD\",\n        \"balance\": \"36.6504\",\n        \"createdAt\": \"2026-03-17T11:17:16.140Z\",\n        \"updatedAt\": \"2026-03-17T11:17:16.140Z\"\n    }\n}"}],"_postman_id":"1f3790a1-0be5-46ad-b7c2-4731a29d71f8"},{"name":"Transaction","id":"7bbf9108-b959-41c8-bd77-74a09043cab3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/transactions","urlObject":{"protocol":"http","port":"3000","path":["transactions"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3a3638eb-2261-4333-921b-d323ac90cca8","name":"successMessage","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/transactions"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"826"},{"key":"ETag","value":"W/\"33a-ya5Pk8DpVKUmLm8c3EjwecO4wBM\""},{"key":"Date","value":"Tue, 17 Mar 2026 12:19:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"96584844-0026-4ef0-a439-5b4e0fa50929\",\n        \"userId\": \"ca4f5f82-fc5d-4294-973d-d3226492b380\",\n        \"type\": \"CONVERSION\",\n        \"fromAmount\": \"50000.0000\",\n        \"fromCurrency\": \"NGN\",\n        \"toAmount\": \"36.6504\",\n        \"toCurrency\": \"USD\",\n        \"exchangeRate\": \"0.000733\",\n        \"status\": \"COMPLETED\",\n        \"timestamp\": \"2026-03-17T11:17:16.140Z\"\n    },\n    {\n        \"id\": \"9ef8396d-f987-4731-a45f-132dd42001b8\",\n        \"userId\": \"ca4f5f82-fc5d-4294-973d-d3226492b380\",\n        \"type\": \"FUND\",\n        \"fromAmount\": null,\n        \"fromCurrency\": null,\n        \"toAmount\": \"80000.0000\",\n        \"toCurrency\": \"NGN\",\n        \"exchangeRate\": null,\n        \"status\": \"COMPLETED\",\n        \"timestamp\": \"2026-03-17T10:57:11.216Z\"\n    },\n    {\n        \"id\": \"4c6341d8-d20b-4d3e-9b9c-69f8fb6d897b\",\n        \"userId\": \"ca4f5f82-fc5d-4294-973d-d3226492b380\",\n        \"type\": \"FUND\",\n        \"fromAmount\": null,\n        \"fromCurrency\": null,\n        \"toAmount\": \"50000.0000\",\n        \"toCurrency\": \"NGN\",\n        \"exchangeRate\": null,\n        \"status\": \"COMPLETED\",\n        \"timestamp\": \"2026-03-17T10:55:59.145Z\"\n    }\n]"}],"_postman_id":"7bbf9108-b959-41c8-bd77-74a09043cab3"}]}