{"info":{"_postman_id":"79174887-e398-47d6-8365-b2e4413bf879","name":"OopsiPay","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"30562539","collectionId":"79174887-e398-47d6-8365-b2e4413bf879","publishedId":"2sB3BALsbp","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-08-02T04:02:42.000Z"},"item":[{"name":"user","item":[{"name":"create-user","id":"f57ac23c-2d51-48fd-9184-c639dac1b337","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"  {\n    \"firstName\": \"UU\",\n    \"lastName\": \"USER\",\n    \"email\": \"user51@oletters.com\",\n    \"password\": \"passwordO15@\",\n    \"role\": \"USER\"\n  }","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/user/create","urlObject":{"path":["user","create"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f57ac23c-2d51-48fd-9184-c639dac1b337"},{"name":"update User","id":"5f4b3194-c57c-4268-b0d8-18451be5d3c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","uuid":"ad83e66d-d483-4419-8a62-687303eefb14","src":"/home/md/Pictures/response_.png","disabled":true},{"key":"data","value":"{\n    \"isActive\":\"ACTIVE\" \n}","type":"text","uuid":"4718abb3-dbfa-4217-a9f0-00a0cb6f2505"}]},"url":"http://localhost:5000/api/v1/user/68aa1c9894a02610a5be19a7","urlObject":{"path":["user","68aa1c9894a02610a5be19a7"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f4b3194-c57c-4268-b0d8-18451be5d3c4"},{"name":"get all users","id":"cb59dc69-9561-4a42-82f5-f1ddfe033b84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/user/get-all?role=USER&limit=2","urlObject":{"path":["user","get-all"],"host":["http://localhost:5000/api/v1"],"query":[{"key":"role","value":"USER"},{"key":"limit","value":"2"}],"variable":[]}},"response":[],"_postman_id":"cb59dc69-9561-4a42-82f5-f1ddfe033b84"},{"name":"get me","id":"06880604-d0fa-429e-8aa9-ce409a28aada","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/user/me","urlObject":{"path":["user","me"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"06880604-d0fa-429e-8aa9-ce409a28aada"},{"name":"get single user by id","id":"0bd43106-3e86-4566-baab-bea635bdc392","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"url":"http://localhost:5000/api/v1/user/688daed660a69b2e481a7ee6","urlObject":{"path":["user","688daed660a69b2e481a7ee6"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0bd43106-3e86-4566-baab-bea635bdc392"},{"name":"change pin","id":"9673c7dd-6a99-4d1f-af32-489b9d470b1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"oldPin\": \"12589\",\n    \"newPin\": \"12345\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/user/change-pin","urlObject":{"path":["user","change-pin"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"9673c7dd-6a99-4d1f-af32-489b9d470b1f"},{"name":"set pin","id":"9475197a-b2e1-4f50-86eb-f36c79d3863d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"pin\": \"12345\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/user/set-pin","urlObject":{"path":["user","set-pin"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"9475197a-b2e1-4f50-86eb-f36c79d3863d"}],"id":"fb8e992d-64b5-42ab-b39e-bd1ecd9fde46","_postman_id":"fb8e992d-64b5-42ab-b39e-bd1ecd9fde46","description":""},{"name":"auth","item":[{"name":"login","id":"87cd02bb-acf8-4bdd-a139-e1f9f81799e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"superadminnahid@gmail10p.com\",\n    \"password\": \"123456789A@a\"\n    // \"email\": \"kamla@oletters.com\",\n    // \"password\": \"passwordA1@\"\n    // agent \n    // \"email\": \"agent1@oletters.com\",\n    // \"password\": \"passwordA1@\"\n    // \"email\": \"nahidmahmudn@gmail.com\",\n    // \"password\": \"Pa$$w0rd!34\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/auth/login","urlObject":{"path":["auth","login"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"87cd02bb-acf8-4bdd-a139-e1f9f81799e1"},{"name":"logout","id":"7a7b3aa7-8cd0-4c41-a590-8d855a2b174a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:5000/api/v1/auth/logout","urlObject":{"path":["auth","logout"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"7a7b3aa7-8cd0-4c41-a590-8d855a2b174a"},{"name":"get access token using refresh token","id":"84cc290f-b798-4ed3-87b6-d4b9282a0367","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2ODg5MGRmMDkyYzIxNjMxNjI5MjVhYjEiLCJlbWFpbCI6ImVtYWlsMUBnbWFpbC5jb20iLCJyb2xlIjoiVVNFUiIsImlhdCI6MTc1MzgxNjUwMCwiZXhwIjoxNzU2NDA4NTAwfQ.OQAJZ5OdtlEFOI-410IC3punBdcVcDzEvXaOWfL9f7k","type":"text"}],"url":"http://localhost:5000/api/v1/auth/refresh-token","urlObject":{"path":["auth","refresh-token"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"84cc290f-b798-4ed3-87b6-d4b9282a0367"}],"id":"ea0ba06c-4d0a-4df2-aff9-25b873712617","_postman_id":"ea0ba06c-4d0a-4df2-aff9-25b873712617","description":""},{"name":"otp","item":[{"name":"verifyUser","id":"5f2647ec-be4f-4f4e-b2f6-08b76aa47569","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"agent1@oletters.com\",\n    \"otp\": \"350785\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/otp/verify-user","urlObject":{"path":["otp","verify-user"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f2647ec-be4f-4f4e-b2f6-08b76aa47569"}],"id":"3a38b77b-5df0-46aa-b75a-a595cb9df6ee","_postman_id":"3a38b77b-5df0-46aa-b75a-a595cb9df6ee","description":""},{"name":"wallet","item":[{"name":"update-wallet type to merchant","id":"487ed05b-81bf-4b79-9fe4-c9c37730868b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"","variables":""}},"url":"http://localhost:5000/api/v1/wallet/type/688a78c32d16ead7a30576fc","urlObject":{"path":["wallet","type","688a78c32d16ead7a30576fc"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"487ed05b-81bf-4b79-9fe4-c9c37730868b"},{"name":"get my wallet","id":"e5e3b0ca-82af-4e35-aebc-0e28b42218e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/wallet/me","urlObject":{"path":["wallet","me"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e5e3b0ca-82af-4e35-aebc-0e28b42218e4"},{"name":"get-wallet-by-user-Id","id":"569d8e14-8f72-4484-ac3e-7679ae297109","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"url":"http://localhost:5000/api/v1/wallet/688d889c9693103a2b00b5a8","urlObject":{"path":["wallet","688d889c9693103a2b00b5a8"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"569d8e14-8f72-4484-ac3e-7679ae297109"},{"name":"get all wallet","id":"b7b5a175-bbc6-4b6d-97e0-4b74e7623967","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/wallet/get-all","urlObject":{"path":["wallet","get-all"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"b7b5a175-bbc6-4b6d-97e0-4b74e7623967"},{"name":"get wallet by wallet number","id":"d4a5271b-65b4-46e6-a696-88158fc52576","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/wallet/wallet-number/6128804220968","urlObject":{"path":["wallet","wallet-number","6128804220968"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d4a5271b-65b4-46e6-a696-88158fc52576"},{"name":"update wallet status","id":"2a3ef9b1-6c8d-4530-9401-65930ea3c1d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"\n{\n    \"walletStatus\" :\"ACTIVE\" // SUSPENDED ACTIVE\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/wallet/update-wallet-status/68aa2276ae1a6e4ef0871704","urlObject":{"path":["wallet","update-wallet-status","68aa2276ae1a6e4ef0871704"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a3ef9b1-6c8d-4530-9401-65930ea3c1d0"}],"id":"3bc262c2-3342-46b1-b134-b90cf20d591c","_postman_id":"3bc262c2-3342-46b1-b134-b90cf20d591c","description":""},{"name":"transactions","item":[{"name":"create transaction","id":"f48d5f75-e452-4a38-b9d2-d8d95ad4a4d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"walletNumber\": \"8741495266472\",\n    \"amount\": 510,\n    \"transactionType\": \"ADMIN_CREDIT\", // CASH_IN , CASH_OUT , SEND_MONEY, ADMIN_CREDIT\n    \"pin\":\"12345\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/transaction/create","urlObject":{"path":["transaction","create"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f48d5f75-e452-4a38-b9d2-d8d95ad4a4d7"},{"name":"get transaction by object id","id":"ff0f1e2f-7c0a-4a09-b294-899a6cf78e8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"walletNumber\": \"6668630450592\",\n    \"amount\": 510,\n    \"transactionType\": \"ADMIN_CREDIT\" // CASH_IN , CASH_OUT , SEND_MONEY, ADMIN_CREDIT\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/transaction/688cbd0fbd5f8654a04f6dc6","urlObject":{"path":["transaction","688cbd0fbd5f8654a04f6dc6"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ff0f1e2f-7c0a-4a09-b294-899a6cf78e8e"},{"name":"get all transactions","id":"a244782e-1027-408e-b065-0e4614906907","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"walletNumber\": \"6668630450592\",\n    \"amount\": 510,\n    \"transactionType\": \"ADMIN_CREDIT\" // CASH_IN , CASH_OUT , SEND_MONEY, ADMIN_CREDIT\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/transaction/get-all?days=7&transactionType=CASH_IN","urlObject":{"path":["transaction","get-all"],"host":["http://localhost:5000/api/v1"],"query":[{"key":"days","value":"7"},{"key":"transactionType","value":"CASH_IN"}],"variable":[]}},"response":[],"_postman_id":"a244782e-1027-408e-b065-0e4614906907"},{"name":"get my transactions","id":"b6cb59c5-76c7-4482-bacd-bc6aa742e85b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/transaction/my-transactions?transactionType=&days=7","urlObject":{"path":["transaction","my-transactions"],"host":["http://localhost:5000/api/v1"],"query":[{"key":"transactionType","value":""},{"key":"days","value":"7"},{"disabled":true,"key":"limit","value":"1"},{"disabled":true,"key":"page","value":"2"}],"variable":[]}},"response":[],"_postman_id":"b6cb59c5-76c7-4482-bacd-bc6aa742e85b"}],"id":"9f1d04b8-6d29-4b9d-aa75-94153e03d701","_postman_id":"9f1d04b8-6d29-4b9d-aa75-94153e03d701","description":""},{"name":"stats","item":[{"name":"user stats","id":"762bfbfc-ec99-42a2-9802-260ae6f13adc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"walletNumber\": \"6668630450592\",\n    \"amount\": 510,\n    \"transactionType\": \"ADMIN_CREDIT\" // CASH_IN , CASH_OUT , SEND_MONEY, ADMIN_CREDIT\n}"},"url":"http://localhost:5000/api/v1/stats/user","urlObject":{"path":["stats","user"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"762bfbfc-ec99-42a2-9802-260ae6f13adc"},{"name":"transactions","id":"c143c2ab-ec3e-4999-9e97-43d5b8b13e80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"walletNumber\": \"6668630450592\",\n    \"amount\": 510,\n    \"transactionType\": \"ADMIN_CREDIT\" // CASH_IN , CASH_OUT , SEND_MONEY, ADMIN_CREDIT\n}"},"url":"http://localhost:5000/api/v1/stats/transactions","urlObject":{"path":["stats","transactions"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c143c2ab-ec3e-4999-9e97-43d5b8b13e80"}],"id":"d4f32969-63fd-494c-bcc6-e99281fe3820","_postman_id":"d4f32969-63fd-494c-bcc6-e99281fe3820","description":""},{"name":"contact","item":[{"name":"crate","id":"37528e97-016c-45e0-b45c-49b492196e31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"john.doe@example.com\",\n    \"subject\": \"Inquiry about Services\",\n    \"message\": \"Hello, I'm interested in learning more about your company's services.\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/contact-us","urlObject":{"path":["contact-us"],"host":["http://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"37528e97-016c-45e0-b45c-49b492196e31"}],"id":"7cd6b61b-2c8e-4495-990b-45e2cfcccb0d","_postman_id":"7cd6b61b-2c8e-4495-990b-45e2cfcccb0d","description":""}],"event":[{"listen":"prerequest","script":{"id":"d00464c8-18c9-4051-9211-0457be5e9e92","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"fafa12a6-0d47-401c-aa58-e8d8e42689aa","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"url","value":"http://localhost:5000/api/v1"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2ODhkODg5Yzk2OTMxMDNhMmIwMGI1YTgiLCJlbWFpbCI6InN1cGVyYWRtaW5uYWhpZEBnbWFpbDEwcC5jb20iLCJyb2xlIjoiU1VQRVJfQURNSU4iLCJpYXQiOjE3NTQxMzUxMjgsImV4cCI6MTc1NDIyMTUyOH0.clXT1PeEG-eFs_Kq6tnogOZhM6dJNhuR2YlE7ejlXTI","disabled":true},{"key":"UserAuthorization","value":"","disabled":true},{"key":"AgentAuthorization","value":"","disabled":true},{"key":"url","value":"https://oopsi-pay-backend.vercel.app/api/v1","disabled":true}]}