{"info":{"_postman_id":"cf1ae404-2975-44a9-b35b-517f6389b6aa","name":"Client API – StoreGG","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"9718150","collectionId":"cf1ae404-2975-44a9-b35b-517f6389b6aa","publishedId":"2s8YzUwLxF","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-12-13T01:36:24.000Z"},"item":[{"name":"Homepage","id":"432fc905-743c-4569-aaac-faa0dc0097d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/homepage","urlObject":{"path":["homepage"],"host":["http://localhost:3000/api/v1"],"query":[],"variable":[]}},"response":[{"id":"74f7c27a-a970-4309-8dfd-1c6593697688","name":"200 ~ Ok","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/homepage"},"status":"OK","code":200,"_postman_previewlanguage":"json","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":"767"},{"key":"ETag","value":"W/\"2ff-bhzxsUcqOiUgIPu0xLC9Xko7KVw\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 01 Dec 2022 05:57:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"vouchers\": [\n        {\n            \"_id\": \"638445282732215a92cc3979\",\n            \"name\": \"Super Mechs\",\n            \"imageName\": \"super-mechs.png\",\n            \"category\": {\n                \"_id\": \"638445282732215a92cc3960\",\n                \"name\": \"Console\"\n            }\n        },\n        {\n            \"_id\": \"638445282732215a92cc397a\",\n            \"name\": \"Call of Duty: Modern\",\n            \"imageName\": \"cod-mw.png\",\n            \"category\": {\n                \"_id\": \"638445282732215a92cc395f\",\n                \"name\": \"Desktop\"\n            }\n        },\n        {\n            \"_id\": \"638445282732215a92cc397b\",\n            \"name\": \"Mobile Legends\",\n            \"imageName\": \"mobile-legends.png\",\n            \"category\": {\n                \"_id\": \"638445282732215a92cc395e\",\n                \"name\": \"Mobile\"\n            }\n        },\n        {\n            \"_id\": \"638445282732215a92cc397c\",\n            \"name\": \"Clash of Clans\",\n            \"imageName\": \"clash-of-clans.png\",\n            \"category\": {\n                \"_id\": \"638445282732215a92cc395e\",\n                \"name\": \"Mobile\"\n            }\n        },\n        {\n            \"_id\": \"638445282732215a92cc397d\",\n            \"name\": \"Valorant\",\n            \"imageName\": \"valorant.png\",\n            \"category\": {\n                \"_id\": \"638445282732215a92cc395f\",\n                \"name\": \"Desktop\"\n            }\n        }\n    ]\n}"}],"_postman_id":"432fc905-743c-4569-aaac-faa0dc0097d5"},{"name":"Voucher IDs","id":"bda3a898-36c8-41d9-9a50-488f077c8a78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/vouchers/ids","urlObject":{"path":["vouchers","ids"],"host":["http://localhost:3000/api/v1"],"query":[],"variable":[]}},"response":[{"id":"a6762489-35f1-4806-a04c-dccb43c6a7cb","name":"200 ~ Ok","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/vouchers/ids"},"status":"OK","code":200,"_postman_previewlanguage":"json","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":"151"},{"key":"ETag","value":"W/\"97-TDdrBs+Sph5YEQR8VD6JsG+8hKs\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 15 Dec 2022 01:54:27 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"voucherIds\": [\n        \"639968dd748af79e77cde925\",\n        \"639968dd748af79e77cde926\",\n        \"639968dd748af79e77cde927\",\n        \"639968dd748af79e77cde928\",\n        \"639968dd748af79e77cde929\"\n    ]\n}"}],"_postman_id":"bda3a898-36c8-41d9-9a50-488f077c8a78"},{"name":"Voucher","id":"aed87f77-f03d-424d-8349-380ae8a93d97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/vouchers/:id","urlObject":{"path":["vouchers",":id"],"host":["http://localhost:3000/api/v1"],"query":[],"variable":[{"description":{"content":"<p>Voucher id</p>\n","type":"text/plain"},"type":"any","value":"6398293974f2d90a6a46ebb5","key":"id"}]}},"response":[{"id":"823e33d8-29e8-4a52-9213-04b1c6243139","name":"200 ~ Ok","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/vouchers/638445282732215a92cc3979"},"status":"OK","code":200,"_postman_previewlanguage":"json","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":"572"},{"key":"ETag","value":"W/\"23c-ED79sSEQIqi4z5aG8dppxKbkLvo\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 01 Dec 2022 05:58:30 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"voucher\": {\n        \"_id\": \"638445282732215a92cc3979\",\n        \"name\": \"Super Mechs\",\n        \"imageName\": \"super-mechs.png\",\n        \"category\": {\n            \"_id\": \"638445282732215a92cc3960\",\n            \"name\": \"Console\"\n        },\n        \"nominals\": [\n            {\n                \"_id\": \"638445282732215a92cc3961\",\n                \"name\": \"Gold\",\n                \"quantity\": 50,\n                \"price\": 1250000\n            },\n            {\n                \"_id\": \"638445282732215a92cc3962\",\n                \"name\": \"Gold\",\n                \"quantity\": 100,\n                \"price\": 2250000\n            },\n            {\n                \"_id\": \"638445282732215a92cc3963\",\n                \"name\": \"Gold\",\n                \"quantity\": 125,\n                \"price\": 3250000\n            },\n            {\n                \"_id\": \"638445282732215a92cc3964\",\n                \"name\": \"Gold\",\n                \"quantity\": 500,\n                \"price\": 5000000\n            },\n            {\n                \"_id\": \"638445282732215a92cc3965\",\n                \"name\": \"Gold\",\n                \"quantity\": 225,\n                \"price\": 4250000\n            }\n        ]\n    }\n}"}],"_postman_id":"aed87f77-f03d-424d-8349-380ae8a93d97"},{"name":"Payment Methods","id":"a7220757-1b8a-462d-ad6c-7b2f7f81d0d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/payment-methods","urlObject":{"path":["payment-methods"],"host":["http://localhost:3000/api/v1"],"query":[],"variable":[]}},"response":[{"id":"ff12b4dd-3c7b-43b5-81fd-a8d533a393ee","name":"200 ~ Ok","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/payment-methods"},"status":"OK","code":200,"_postman_previewlanguage":"json","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":"387"},{"key":"ETag","value":"W/\"183-w+ccqXw4mru92HRKWVvD8Mm75E8\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 15 Dec 2022 02:14:14 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"paymentMethods\": [\n        {\n            \"_id\": \"639968dd748af79e77cde92a\",\n            \"name\": \"Tranfer\",\n            \"bank\": {\n                \"_id\": \"639968dd748af79e77cde91e\",\n                \"name\": \"Bank Syariah Indonesia\"\n            }\n        },\n        {\n            \"_id\": \"639968dd748af79e77cde92a\",\n            \"name\": \"Tranfer\",\n            \"bank\": {\n                \"_id\": \"639968dd748af79e77cde91f\",\n                \"name\": \"Bank Syariah Mandiri\"\n            }\n        },\n        {\n            \"_id\": \"639968dd748af79e77cde92b\",\n            \"name\": \"VISA\",\n            \"bank\": {\n                \"_id\": \"639968dd748af79e77cde920\",\n                \"name\": \"Bank BNI Syariah\"\n            }\n        }\n    ]\n}"}],"_postman_id":"a7220757-1b8a-462d-ad6c-7b2f7f81d0d1"},{"name":"Categories","id":"24b6cf73-a40a-402d-a988-6b8aefd90cfe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/categories","urlObject":{"path":["categories"],"host":["http://localhost:3000/api/v1"],"query":[],"variable":[]}},"response":[{"id":"8715159f-aaca-4ca0-9a17-b42db4d3a4f6","name":"200 ~ Ok","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/categories"},"status":"OK","code":200,"_postman_previewlanguage":"json","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":"171"},{"key":"ETag","value":"W/\"ab-9pVDH2n4qE2CSPySiDjGwgqZ5mE\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 01 Dec 2022 06:03:29 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"categories\": [\n        {\n            \"_id\": \"638445282732215a92cc395e\",\n            \"name\": \"Mobile\"\n        },\n        {\n            \"_id\": \"638445282732215a92cc395f\",\n            \"name\": \"Desktop\"\n        },\n        {\n            \"_id\": \"638445282732215a92cc3960\",\n            \"name\": \"Console\"\n        }\n    ]\n}"}],"_postman_id":"24b6cf73-a40a-402d-a988-6b8aefd90cfe"},{"name":"Sign-up","id":"0132930d-643e-4245-b781-66b8ce929391","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"fullName","value":"Yudha Ardiansyah","type":"text"},{"key":"email","value":"yudha88@example.org","type":"text"},{"key":"password","value":"jajaja","type":"text"},{"key":"favoriteCategory","value":"638daa8d7b75ffc8e20bec5e","type":"text"},{"key":"avatar","description":"<p>Optional</p>\n","type":"file","src":"/C:/Users/ASUS/Downloads/avatar.png"}]},"url":"http://localhost:3000/api/v1/members","urlObject":{"path":["members"],"host":["http://localhost:3000/api/v1"],"query":[],"variable":[]}},"response":[{"id":"bf2b9514-efe3-45f7-afdc-be1a4b0328e3","name":"201 ~ Member Registered","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"fullName","value":"Yudha Ardiansyah","type":"text"},{"key":"email","value":"yudha88@example.org","type":"text"},{"key":"password","value":"jajaja","type":"text"},{"key":"favoriteCategory","value":"638daa8d7b75ffc8e20bec5e","type":"text"},{"key":"avatar","description":"Optional","type":"file","src":"/C:/Users/ASUS/Downloads/avatar.png"}]},"url":"http://localhost:3000/api/v1/members"},"status":"Created","code":201,"_postman_previewlanguage":"json","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":"330"},{"key":"ETag","value":"W/\"14a-9vieaTcvy8vLD+y/SYDf6oiR3Ms\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Fri, 09 Dec 2022 08:30:16 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Sign-up success\",\n    \"jwtToken\": \"MEMBER_TOKEN\"\n}"},{"id":"fdadec08-c814-4f8e-aa82-adfe4502897c","name":"422 ~ Form Validation Failed 1","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"fullName","value":"Yudha Ardiansyah","type":"text"},{"key":"email","value":"yudha88@example.org","type":"text"},{"key":"password","value":"jajaja","type":"text","disabled":true},{"key":"favoriteCategory","value":"638844ab8df352a19a9f615b","type":"text"},{"key":"avatar","description":"Optional","type":"file","src":"/C:/Users/ASUS/Downloads/avatar.png"}]},"url":"http://localhost:3000/api/v1/members"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","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":"816"},{"key":"ETag","value":"W/\"330-SnKfYNsJAMDJtipBsCh2Occp1Gs\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Fri, 09 Dec 2022 08:29:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Password is required and Category not found\",\n    \"cause\": {\n        \"errors\": {\n            \"password\": {\n                \"name\": \"ValidatorError\",\n                \"message\": \"Password is required\",\n                \"properties\": {\n                    \"message\": \"Password is required\",\n                    \"type\": \"required\",\n                    \"path\": \"password\"\n                },\n                \"kind\": \"required\",\n                \"path\": \"password\"\n            },\n            \"favoriteCategory\": {\n                \"name\": \"ValidatorError\",\n                \"message\": \"Category not found\",\n                \"properties\": {\n                    \"message\": \"Category not found\",\n                    \"type\": \"user defined\",\n                    \"path\": \"favoriteCategory\",\n                    \"value\": \"638844ab8df352a19a9f615b\",\n                    \"reason\": {\n                        \"message\": \"Category not found\"\n                    }\n                },\n                \"kind\": \"user defined\",\n                \"path\": \"favoriteCategory\",\n                \"value\": \"638844ab8df352a19a9f615b\",\n                \"reason\": {\n                    \"message\": \"Category not found\"\n                }\n            }\n        },\n        \"_message\": \"Validation failed\",\n        \"status\": 422,\n        \"name\": \"ValidationError\",\n        \"message\": \"Member validation failed: password: Password is required, favoriteCategory: Category not found\"\n    }\n}"},{"id":"ecd357f1-050b-42ae-b5aa-51edd43104e3","name":"422 ~ Form Validation Failed 2 - Upload Avatar Failed","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"fullName","value":"Yudha Ardiansyah","type":"text"},{"key":"email","value":"yudha88@example.org","type":"text"},{"key":"password","value":"jajaja","type":"text"},{"key":"favoriteCategory","value":"638daa8d7b75ffc8e20bec5e","type":"text"},{"key":"avatar","description":"Optional","type":"file","src":"/C:/Users/ASUS/Downloads/TypeScript Call Signature Example.txt"}]},"url":"http://localhost:3000/api/v1/members"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","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":"379"},{"key":"ETag","value":"W/\"17b-HDVfcAHKkzW/gooC4wggv/qaBYE\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sun, 25 Dec 2022 08:44:18 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Images only: jpeg, jpg, png, or gif\",\n    \"cause\": {\n        \"errors\": {\n            \"avatar\": {\n                \"name\": \"ValidatorError\",\n                \"message\": \"Images only: jpeg, jpg, png, or gif\",\n                \"properties\": {\n                    \"message\": \"Images only: jpeg, jpg, png, or gif\"\n                }\n            }\n        },\n        \"_message\": \"Validation failed\",\n        \"status\": 422,\n        \"storageErrors\": [],\n        \"name\": \"ValidationError\",\n        \"message\": \"Validation failed: avatar: Images only: jpeg, jpg, png, or gif\"\n    }\n}"},{"id":"63bfe9a6-e489-4f49-99e3-e59eec9c2e2c","name":"409 ~ Form Validation Failed 3 - Email Has Already Been Used","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"fullName","value":"Yudha Ardiansyah","type":"text"},{"key":"email","value":"yudha88@example.org","type":"text"},{"key":"password","value":"jajaja","type":"text"},{"key":"favoriteCategory","value":"638daa8d7b75ffc8e20bec5e","type":"text"},{"key":"avatar","description":"Optional","type":"file","src":"/C:/Users/ASUS/Downloads/avatar.png"}]},"url":"http://localhost:3000/api/v1/members"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","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":"310"},{"key":"ETag","value":"W/\"136-2MKMdi41QkP7u5WOZudr8ZRCcE0\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Fri, 09 Dec 2022 08:34:16 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Email is already in use\",\n    \"cause\": {\n        \"errors\": {\n            \"email\": {\n                \"name\": \"ValidatorError\",\n                \"message\": \"Email is already in use\",\n                \"properties\": {\n                    \"message\": \"Email is already in use\"\n                }\n            }\n        },\n        \"_message\": \"Validation failed\",\n        \"status\": 409,\n        \"name\": \"ValidationError\",\n        \"message\": \"Validation failed: email: Email is already in use\"\n    }\n}"}],"_postman_id":"0132930d-643e-4245-b781-66b8ce929391"},{"name":"Sign-in","id":"f72ab8dc-9159-494a-b84f-966000e688c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"septian@example.net\",\r\n    \"password\": \"jajaja\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/v1/members/sign-in","urlObject":{"path":["members","sign-in"],"host":["http://localhost:3000/api/v1"],"query":[],"variable":[]}},"response":[{"id":"da545586-793a-491f-bf10-8c18a8026928","name":"200 ~ Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"septian@example.net\",\r\n    \"password\": \"jajaja\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/v1/members/sign-in"},"status":"OK","code":200,"_postman_previewlanguage":"json","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":"368"},{"key":"ETag","value":"W/\"170-j+FrVeKidJE/KPxonx6ieF4OnPI\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Fri, 09 Dec 2022 08:32:37 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Sign-in success\",\n    \"jwtToken\": \"MEMBER_TOKEN\"\n}"},{"id":"211874a0-a4a7-449a-90b9-cc8507d2e60b","name":"422 ~ Form Validation Failed 1","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"septianexample.net\",\r\n    \"password\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/v1/members/sign-in"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","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":"497"},{"key":"ETag","value":"W/\"1f1-HoAM2NjFVSct7uBcfFegtoipfGA\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sun, 18 Dec 2022 09:33:23 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Enter a valid email address and Enter your password\",\n    \"cause\": {\n        \"errors\": {\n            \"email\": {\n                \"name\": \"ValidatorError\",\n                \"message\": \"Enter a valid email address\",\n                \"properties\": {\n                    \"message\": \"Enter a valid email address\"\n                }\n            },\n            \"password\": {\n                \"name\": \"ValidatorError\",\n                \"message\": \"Enter your password\",\n                \"properties\": {\n                    \"message\": \"Enter your password\"\n                }\n            }\n        },\n        \"_message\": \"Validation failed\",\n        \"status\": 422,\n        \"name\": \"ValidationError\",\n        \"message\": \"Validation failed: email: Enter a valid email address, password: Enter your password\"\n    }\n}"},{"id":"b2ce35e5-b625-414e-a526-11d4a6161652","name":"404 ~ Form Validation Failed  2 - Email Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"amir@example.net\",\r\n    \"password\": \"jajaja\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/v1/members/sign-in"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","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":"282"},{"key":"ETag","value":"W/\"11a-AzcRcTUMn6ATcaIfWURJatFUlQQ\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Fri, 09 Dec 2022 08:35:37 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Email not found.\",\n    \"cause\": {\n        \"errors\": {\n            \"email\": {\n                \"name\": \"ValidatorError\",\n                \"message\": \"Email not found.\",\n                \"properties\": {\n                    \"message\": \"Email not found.\"\n                }\n            }\n        },\n        \"_message\": \"Validation failed\",\n        \"status\": 404,\n        \"name\": \"ValidationError\",\n        \"message\": \"Validation failed: email: Email not found.\"\n    }\n}"},{"id":"07ee0a3d-ee59-4804-b99d-c35de289d3a0","name":"401 ~ Form Validation Failed 3 - Password Does Not Match","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"septian@example.net\",\r\n    \"password\": \"jajaja\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/v1/members/sign-in"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","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":"320"},{"key":"ETag","value":"W/\"140-T+DPjBQ48gSwH6U0mVdaCiKBSjA\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Mon, 05 Dec 2022 08:59:44 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Password does not match!\",\n    \"cause\": {\n        \"errors\": {\n            \"password\": {\n                \"name\": \"ValidatorError\",\n                \"message\": \"Password does not match!\",\n                \"properties\": {\n                    \"message\": \"Password does not match!\"\n                }\n            }\n        },\n        \"_message\": \"Validation failed\",\n        \"status\": 401,\n        \"name\": \"ValidationError\",\n        \"message\": \"Validation failed: password: Password does not match!\"\n    }\n}"}],"_postman_id":"f72ab8dc-9159-494a-b84f-966000e688c2"},{"name":"Checkout","id":"e525c258-f03c-4142-8cc5-81e10ade4ae3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"member-jwt-token"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"voucherId\": \"6398293974f2d90a6a46ebb5\",\r\n    \"nominalId\": \"6398293974f2d90a6a46eb9c\",\r\n    \"paymentMethodId\": \"6398293974f2d90a6a46ebb7\",\r\n    \"bankId\": \"6398293974f2d90a6a46eba9\",\r\n    \"member\": {\r\n        \"bankAccountName\": \"Sepian Saputra Novel\",\r\n        \"gameId\": \"KuliahPulang\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/v1/transactions","urlObject":{"path":["transactions"],"host":["http://localhost:3000/api/v1"],"query":[],"variable":[]}},"response":[{"id":"3ab04031-48e0-44b5-9de4-c274b1e6ca3c","name":"201 ~ Created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"voucherId\": \"6398293974f2d90a6a46ebb5\",\r\n    \"nominalId\": \"6398293974f2d90a6a46eb9c\",\r\n    \"paymentMethodId\": \"6398293974f2d90a6a46ebb7\",\r\n    \"bankId\": \"6398293974f2d90a6a46eba9\",\r\n    \"member\": {\r\n        \"bankAccountName\": \"Sepian Saputra Novel\",\r\n        \"gameId\": \"KuliahPulang\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/v1/transactions"},"status":"Created","code":201,"_postman_previewlanguage":"json","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":"67"},{"key":"ETag","value":"W/\"43-+z1/MSD5Ck1z1ayjknGIzC3IZTw\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 22 Dec 2022 09:32:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Checkout success\",\n    \"transactionId\": \"63a424111e3a36fcd9e28835\"\n}"},{"id":"2c2dd1ba-5310-49e5-b2fe-5372d7580d52","name":"422 ~ Form Validation Failed","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"voucherId\": \"6398293974f2d90a6a46ebb5\",\r\n    \"nominalId\": \"6398293974f2d90a6a46eb9c\",\r\n    \"paymentMethodId\": \"6398293974f2d90a6a46ebb7\",\r\n    \"bankId\": \"6398293974f2d90a6a46eba9\",\r\n    \"member\": {\r\n        \"bankAccountName\": \"\",\r\n        \"gameId\": \"\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/v1/transactions"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","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":"783"},{"key":"ETag","value":"W/\"30f-8OaSCS8CrYU/3IDJ+9zMrR3x/UY\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 22 Dec 2022 09:33:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Member full name is required and Member game id is required\",\n    \"cause\": {\n        \"errors\": {\n            \"member.bankAccountName\": {\n                \"name\": \"ValidatorError\",\n                \"message\": \"Member full name is required\",\n                \"properties\": {\n                    \"message\": \"Member full name is required\",\n                    \"type\": \"required\",\n                    \"path\": \"bankAccountName\",\n                    \"value\": \"\"\n                },\n                \"kind\": \"required\",\n                \"path\": \"bankAccountName\",\n                \"value\": \"\"\n            },\n            \"member.gameId\": {\n                \"name\": \"ValidatorError\",\n                \"message\": \"Member game id is required\",\n                \"properties\": {\n                    \"message\": \"Member game id is required\",\n                    \"type\": \"required\",\n                    \"path\": \"gameId\",\n                    \"value\": \"\"\n                },\n                \"kind\": \"required\",\n                \"path\": \"gameId\",\n                \"value\": \"\"\n            }\n        },\n        \"_message\": \"Validation failed\",\n        \"status\": 422,\n        \"name\": \"ValidationError\",\n        \"message\": \"Transaction validation failed: member.bankAccountName: Member full name is required, member.gameId: Member game id is required\"\n    }\n}"},{"id":"2e9b4283-fd0e-44b8-980f-4989444d6b35","name":"404 ~ Primary Key Reference Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"voucherId\": \"6398293974f2d90a6a46ebb5\",\r\n    \"nominalId\": \"6398293974f2d90a6a46eb9c\",\r\n    \"paymentMethodId\": \"638daa8d7b75ffc8e20bec7b\",\r\n    \"bankId\": \"6398293974f2d90a6a46eba9\",\r\n    \"member\": {\r\n        \"bankAccountName\": \"Sepian Saputra Novel\",\r\n        \"gameId\": \"KuliahPulang\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/v1/transactions"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","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":"38"},{"key":"ETag","value":"W/\"26-LpFdbU5OcuGIIj5HdqdzDaLHnfY\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 22 Dec 2022 09:32:44 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Payment method not found\"\n}"}],"_postman_id":"e525c258-f03c-4142-8cc5-81e10ade4ae3"},{"name":"Confirm Payment","id":"39d98b5e-903c-4f3f-aa9a-bd2c369235b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"member-jwt-token"}]},"isInherited":false},"method":"PATCH","header":[],"url":"http://localhost:3000/api/v1/transactions/:id/confirm-payment","urlObject":{"path":["transactions",":id","confirm-payment"],"host":["http://localhost:3000/api/v1"],"query":[],"variable":[{"type":"any","value":"63a556a5b3a92c0db3a5b493","key":"id"}]}},"response":[{"id":"1aca96e0-2a21-4ffb-a397-367bc1ffb062","name":"200 ~ Payment Confirmed","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"http://localhost:3000/api/v1/transactions/:id/confirm-payment","host":["http://localhost:3000/api/v1"],"path":["transactions",":id","confirm-payment"],"variable":[{"key":"id","value":"63a550fd05fc88654cb0a0af"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","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":"73"},{"key":"ETag","value":"W/\"49-vlAro7uBbmz+6gOno4M21IfhmpI\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Fri, 23 Dec 2022 07:11:27 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Payment has been confirmed. Please wait for admin verification.\"\n}"},{"id":"c50604b7-942c-4313-9d36-76bc5f937870","name":"403 ~ Reconfirmation Failed","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"http://localhost:3000/api/v1/transactions/:id/confirm-payment","host":["http://localhost:3000/api/v1"],"path":["transactions",":id","confirm-payment"],"variable":[{"key":"id","value":"63a556a5b3a92c0db3a5b493"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","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":"101"},{"key":"ETag","value":"W/\"65-EcOgie8OLfyiY3nNX+YRhmhxG+0\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Fri, 23 Dec 2022 07:25:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unable to confirm this payment. Payment for this transaction has already been confirmed.\"\n}"}],"_postman_id":"39d98b5e-903c-4f3f-aa9a-bd2c369235b4"},{"name":"Transactions","id":"251e19d7-296a-4cef-9072-eb57e77dbe15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"member-jwt-token"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/v1/transactions?status=verifying","urlObject":{"path":["transactions"],"host":["http://localhost:3000/api/v1"],"query":[{"disabled":true,"key":"status","value":"accepted"},{"disabled":true,"key":"status","value":"paying"},{"disabled":true,"key":"status","value":"rejected"},{"key":"status","value":"verifying"}],"variable":[]}},"response":[{"id":"9c5f8d6a-4c0e-4cd0-8595-5ba38866793d","name":"200 ~ All Transactions","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/api/v1/transactions","host":["http://localhost:3000/api/v1"],"path":["transactions"],"query":[{"key":"status","value":"accepted","disabled":true},{"key":"status","value":"paying","disabled":true},{"key":"status","value":"rejected","type":"text","disabled":true},{"key":"status","value":"verifying","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"632-pDi64ekUC3KIP/gs63qknJMXZe8\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Sat, 24 Dec 2022 10:38:06 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactions\": [\n        {\n            \"_id\": \"63a556a5b3a92c0db3a5b49f\",\n            \"voucher\": {\n                \"name\": \"Super Mechs\",\n                \"imageName\": \"super-mechs.png\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4a0\"\n            },\n            \"category\": {\n                \"current\": \"63a556a3b3a92c0db3a5b443\",\n                \"name\": \"Console\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4a1\"\n            },\n            \"nominal\": {\n                \"name\": \"Gold\",\n                \"quantity\": 500,\n                \"price\": {\n                    \"$numberDecimal\": \"5000000\"\n                },\n                \"_id\": \"63a556a5b3a92c0db3a5b4a2\"\n            },\n            \"paymentMethod\": \"VISA\",\n            \"targetBank\": {\n                \"name\": \"Bank BNI Syariah\",\n                \"holderName\": \"Jotaro Kujo\",\n                \"holderNumbers\": \"99888443\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4a3\"\n            },\n            \"taxRate\": 0.12,\n            \"member\": {\n                \"current\": \"63a556a4b3a92c0db3a5b463\",\n                \"bankAccountName\": \"Andre Saputra\",\n                \"gameId\": \"ndreee\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4a4\"\n            },\n            \"status\": \"rejected\",\n            \"__v\": 0,\n            \"createdAt\": \"2022-12-23T07:20:05.136Z\",\n            \"updatedAt\": \"2022-12-23T07:20:05.136Z\",\n            \"totalPrice\": 5600000\n        },\n        {\n            \"_id\": \"63a556a5b3a92c0db3a5b4a5\",\n            \"voucher\": {\n                \"name\": \"Call of Duty: Modern\",\n                \"imageName\": \"cod-mw.png\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4a6\"\n            },\n            \"category\": {\n                \"current\": \"63a556a3b3a92c0db3a5b442\",\n                \"name\": \"Desktop\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4a7\"\n            },\n            \"nominal\": {\n                \"name\": \"Jewel\",\n                \"quantity\": 150,\n                \"price\": {\n                    \"$numberDecimal\": \"150000\"\n                },\n                \"_id\": \"63a556a5b3a92c0db3a5b4a8\"\n            },\n            \"paymentMethod\": \"VISA\",\n            \"targetBank\": {\n                \"name\": \"Bank Syariah Mandiri\",\n                \"holderName\": \"Muhammad Avdol\",\n                \"holderNumbers\": \"77542493\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4a9\"\n            },\n            \"taxRate\": 0.07,\n            \"member\": {\n                \"current\": \"63a556a4b3a92c0db3a5b463\",\n                \"bankAccountName\": \"Andre Saputra\",\n                \"gameId\": \"ndreee\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4aa\"\n            },\n            \"status\": \"verifying\",\n            \"__v\": 0,\n            \"createdAt\": \"2022-12-23T07:20:05.136Z\",\n            \"updatedAt\": \"2022-12-23T07:20:05.136Z\",\n            \"totalPrice\": 160500\n        }\n    ],\n    \"totalSpent\": 5760500\n}"},{"id":"08584a95-a358-4ed4-a54b-9ec6c4f7d62c","name":"200 ~ Query by status","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/api/v1/transactions?status=verifying","host":["http://localhost:3000/api/v1"],"path":["transactions"],"query":[{"key":"status","value":"accepted","disabled":true},{"key":"status","value":"paying","disabled":true},{"key":"status","value":"rejected","type":"text","disabled":true},{"key":"status","value":"verifying","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","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":"817"},{"key":"ETag","value":"W/\"331-7iyWYFWdLvTU98xh+t+vKurhf5w\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sat, 24 Dec 2022 10:38:51 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactions\": [\n        {\n            \"_id\": \"63a556a5b3a92c0db3a5b4a5\",\n            \"voucher\": {\n                \"name\": \"Call of Duty: Modern\",\n                \"imageName\": \"cod-mw.png\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4a6\"\n            },\n            \"category\": {\n                \"current\": \"63a556a3b3a92c0db3a5b442\",\n                \"name\": \"Desktop\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4a7\"\n            },\n            \"nominal\": {\n                \"name\": \"Jewel\",\n                \"quantity\": 150,\n                \"price\": {\n                    \"$numberDecimal\": \"150000\"\n                },\n                \"_id\": \"63a556a5b3a92c0db3a5b4a8\"\n            },\n            \"paymentMethod\": \"VISA\",\n            \"targetBank\": {\n                \"name\": \"Bank Syariah Mandiri\",\n                \"holderName\": \"Muhammad Avdol\",\n                \"holderNumbers\": \"77542493\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4a9\"\n            },\n            \"taxRate\": 0.07,\n            \"member\": {\n                \"current\": \"63a556a4b3a92c0db3a5b463\",\n                \"bankAccountName\": \"Andre Saputra\",\n                \"gameId\": \"ndreee\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4aa\"\n            },\n            \"status\": \"verifying\",\n            \"__v\": 0,\n            \"createdAt\": \"2022-12-23T07:20:05.136Z\",\n            \"updatedAt\": \"2022-12-23T07:20:05.136Z\",\n            \"totalPrice\": 160500\n        }\n    ],\n    \"totalSpent\": 160500\n}"}],"_postman_id":"251e19d7-296a-4cef-9072-eb57e77dbe15"},{"name":"Transaction","id":"f849ede4-f810-4d41-9234-719f64699bc1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"member-jwt-token"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/v1/transactions/:id","urlObject":{"path":["transactions",":id"],"host":["http://localhost:3000/api/v1"],"query":[],"variable":[{"type":"any","value":"638daa8e7b75ffc8e20becac","key":"id"}]}},"response":[{"id":"719d9362-bdca-4b76-81a2-f8b75c863fde","name":"200 ~ Ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/api/v1/transactions/:id","host":["http://localhost:3000/api/v1"],"path":["transactions",":id"],"variable":[{"key":"id","value":"638daa8e7b75ffc8e20becac"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","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":"792"},{"key":"ETag","value":"W/\"318-m+sbfjgONtxi7zremXMUdeRz8og\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Fri, 09 Dec 2022 09:19:44 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"transaction\": {\n        \"_id\": \"638daa8e7b75ffc8e20becac\",\n        \"voucher\": {\n            \"name\": \"Mobile Legends\",\n            \"imageName\": \"mobile-legends.png\",\n            \"_id\": \"6392fdb064ab02211ad6ea48\"\n        },\n        \"category\": {\n            \"current\": \"638daa8d7b75ffc8e20bec5e\",\n            \"name\": \"Mobile\",\n            \"_id\": \"6392fdb064ab02211ad6ea49\"\n        },\n        \"nominal\": {\n            \"name\": \"Gold\",\n            \"quantity\": 50,\n            \"price\": 1250000,\n            \"_id\": \"6392fdb064ab02211ad6ea4a\"\n        },\n        \"paymentMethod\": \"Tranfer\",\n        \"targetBank\": {\n            \"name\": \"Bank Syariah Indonesia\",\n            \"holderName\": \"Amir Muhammad Hakim\",\n            \"holderNumbers\": \"22081544\",\n            \"_id\": \"6392fdb064ab02211ad6ea4b\"\n        },\n        \"taxRate\": 0.1,\n        \"member\": {\n            \"current\": \"638daa8d7b75ffc8e20bec7d\",\n            \"bankAccountName\": \"Septian Saputra\",\n            \"gameId\": \"septian_gaming\",\n            \"_id\": \"6392fdb064ab02211ad6ea4c\"\n        },\n        \"status\": \"accepted\",\n        \"__v\": 0,\n        \"createdAt\": \"2022-12-05T08:23:42.736Z\",\n        \"updatedAt\": \"2022-12-05T08:23:42.736Z\",\n        \"totalPrice\": 1375000\n    }\n}"}],"_postman_id":"f849ede4-f810-4d41-9234-719f64699bc1"},{"name":"Dashboard Overview Data","id":"f6a841a5-27d5-4e42-b987-a4624c7d84d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"member-jwt-token"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/v1/homepage/dashboard","urlObject":{"path":["homepage","dashboard"],"host":["http://localhost:3000/api/v1"],"query":[],"variable":[]}},"response":[{"id":"33431013-3c67-4e18-9622-4ec2278d17d3","name":"200 ~ Ok","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/homepage/dashboard"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"6c8-6YTLHcZ7g5uOBTlLMVVM7lfG8bs\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Sat, 24 Dec 2022 10:41:02 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"topUpCategories\": [\n        {\n            \"_id\": \"63a556a3b3a92c0db3a5b443\",\n            \"name\": \"Console\",\n            \"totalSpent\": 5600000\n        },\n        {\n            \"_id\": \"63a556a3b3a92c0db3a5b442\",\n            \"name\": \"Desktop\",\n            \"totalSpent\": 160500\n        }\n    ],\n    \"latestTransactions\": [\n        {\n            \"_id\": \"63a556a5b3a92c0db3a5b49f\",\n            \"voucher\": {\n                \"name\": \"Super Mechs\",\n                \"imageName\": \"super-mechs.png\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4a0\"\n            },\n            \"category\": {\n                \"current\": \"63a556a3b3a92c0db3a5b443\",\n                \"name\": \"Console\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4a1\"\n            },\n            \"nominal\": {\n                \"name\": \"Gold\",\n                \"quantity\": 500,\n                \"price\": {\n                    \"$numberDecimal\": \"5000000\"\n                },\n                \"_id\": \"63a556a5b3a92c0db3a5b4a2\"\n            },\n            \"paymentMethod\": \"VISA\",\n            \"targetBank\": {\n                \"name\": \"Bank BNI Syariah\",\n                \"holderName\": \"Jotaro Kujo\",\n                \"holderNumbers\": \"99888443\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4a3\"\n            },\n            \"taxRate\": 0.12,\n            \"member\": {\n                \"current\": \"63a556a4b3a92c0db3a5b463\",\n                \"bankAccountName\": \"Andre Saputra\",\n                \"gameId\": \"ndreee\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4a4\"\n            },\n            \"status\": \"rejected\",\n            \"__v\": 0,\n            \"createdAt\": \"2022-12-23T07:20:05.136Z\",\n            \"updatedAt\": \"2022-12-23T07:20:05.136Z\",\n            \"totalPrice\": 5600000\n        },\n        {\n            \"_id\": \"63a556a5b3a92c0db3a5b4a5\",\n            \"voucher\": {\n                \"name\": \"Call of Duty: Modern\",\n                \"imageName\": \"cod-mw.png\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4a6\"\n            },\n            \"category\": {\n                \"current\": \"63a556a3b3a92c0db3a5b442\",\n                \"name\": \"Desktop\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4a7\"\n            },\n            \"nominal\": {\n                \"name\": \"Jewel\",\n                \"quantity\": 150,\n                \"price\": {\n                    \"$numberDecimal\": \"150000\"\n                },\n                \"_id\": \"63a556a5b3a92c0db3a5b4a8\"\n            },\n            \"paymentMethod\": \"VISA\",\n            \"targetBank\": {\n                \"name\": \"Bank Syariah Mandiri\",\n                \"holderName\": \"Muhammad Avdol\",\n                \"holderNumbers\": \"77542493\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4a9\"\n            },\n            \"taxRate\": 0.07,\n            \"member\": {\n                \"current\": \"63a556a4b3a92c0db3a5b463\",\n                \"bankAccountName\": \"Andre Saputra\",\n                \"gameId\": \"ndreee\",\n                \"_id\": \"63a556a5b3a92c0db3a5b4aa\"\n            },\n            \"status\": \"verifying\",\n            \"__v\": 0,\n            \"createdAt\": \"2022-12-23T07:20:05.136Z\",\n            \"updatedAt\": \"2022-12-23T07:20:05.136Z\",\n            \"totalPrice\": 160500\n        }\n    ]\n}"}],"_postman_id":"f6a841a5-27d5-4e42-b987-a4624c7d84d8"},{"name":"Edit Profile","id":"efb0b4cd-45d7-45fe-84ce-9f3baf12a0ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"member-jwt-token"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"fullName","value":"Septian Ali Nugroho","description":"<p>Required</p>\n","type":"text"},{"key":"email","value":"septian@example.net","description":"<p>Required</p>\n","type":"text"},{"key":"phoneNumber","value":"0878334455541","description":"<p>Required; Set it to empty string to remove the phone number</p>\n","type":"text"},{"key":"avatar","description":"<p>Optional; Do not attach it to the request body if you want to remove the old avatar with query url ?removeAvatar</p>\n","type":"file","src":"/C:/Users/ASUS/Downloads/avatar.png"}]},"url":"http://localhost:3000/api/v1/members/edit","urlObject":{"path":["members","edit"],"host":["http://localhost:3000/api/v1"],"query":[{"disabled":true,"key":"removeAvatar","value":null}],"variable":[]}},"response":[{"id":"25c4412b-07e6-4f83-9eb8-50bcd04b7c9a","name":"200 ~ Ok","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"fullName","value":"Septian Ali Nugroho","description":"Required","type":"text"},{"key":"email","value":"septian@example.net","description":"Required","type":"text"},{"key":"phoneNumber","value":"0878334455541","description":"Required; Set it to empty string to remove the phone number","type":"text"},{"key":"avatar","description":"Optional; Do not attach it to the request body if you want to remove the old avatar with query url ?removeAvatar","type":"file","src":"/C:/Users/ASUS/Downloads/avatar.png"}]},"url":{"raw":"http://localhost:3000/api/v1/members","host":["http://localhost:3000/api/v1"],"path":["members"],"query":[{"key":"removeAvatar","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","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":"447"},{"key":"ETag","value":"W/\"1bf-Au+ERdAP5r9aa0qeAgSniKvUJUo\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Tue, 13 Dec 2022 01:22:39 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Profile edited\",\n    \"jwtToken\": \"member-jwt-token\"\n}"},{"id":"69097cec-2065-4f4f-be62-22f5438285f1","name":"200 ~ Avatar Removed","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"fullName","value":"Septian Ali Nugroho","description":"Required","type":"text"},{"key":"email","value":"septian@example.net","description":"Required","type":"text"},{"key":"phoneNumber","value":"0878334455541","description":"Required; Set it to empty string to remove the phone number","type":"text"},{"key":"avatar","description":"Optional; Do not attach it to the request body if you want to remove the old avatar with query url ?removeAvatar","type":"file","src":"/C:/Users/ASUS/Downloads/avatar.png","disabled":true}]},"url":{"raw":"http://localhost:3000/api/v1/members?removeAvatar","host":["http://localhost:3000/api/v1"],"path":["members"],"query":[{"key":"removeAvatar","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","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":"373"},{"key":"ETag","value":"W/\"175-hYseUmkLsFVXMFFcPmX9xCjAY9o\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Tue, 13 Dec 2022 01:23:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Profile edited\",\n    \"jwtToken\": \"member-jwt-token\"\n}"},{"id":"53699d5e-d876-4aba-89e8-39a70a8b69bc","name":"422 ~ Form Validation Failed 1","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"fullName","value":"","description":"Required","type":"text"},{"key":"email","value":"","description":"Required","type":"text"},{"key":"phoneNumber","value":"087833","description":"Required; Set it to empty string to remove the phone number","type":"text"},{"key":"avatar","description":"Optional; Do not attach it to the request body if you want to remove the old avatar with query url ?removeAvatar","type":"file","src":"/C:/Users/ASUS/Downloads/avatar.png"}]},"url":{"raw":"http://localhost:3000/api/v1/members","host":["http://localhost:3000/api/v1"],"path":["members"],"query":[{"key":"removeAvatar","value":null,"disabled":true}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","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":"985"},{"key":"ETag","value":"W/\"3d9-QYnlnJKiFXFhBaJd0lDufua9kpg\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sun, 25 Dec 2022 07:50:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Name is required, Email is required, and Enter a valid mobile phone number\",\n    \"cause\": {\n        \"errors\": {\n            \"fullName\": {\n                \"name\": \"ValidatorError\",\n                \"message\": \"Name is required\",\n                \"properties\": {\n                    \"message\": \"Name is required\",\n                    \"type\": \"required\",\n                    \"path\": \"fullName\",\n                    \"value\": \"\"\n                },\n                \"kind\": \"required\",\n                \"path\": \"fullName\",\n                \"value\": \"\"\n            },\n            \"email\": {\n                \"name\": \"ValidatorError\",\n                \"message\": \"Email is required\",\n                \"properties\": {\n                    \"message\": \"Email is required\",\n                    \"type\": \"required\",\n                    \"path\": \"email\",\n                    \"value\": \"\"\n                },\n                \"kind\": \"required\",\n                \"path\": \"email\",\n                \"value\": \"\"\n            },\n            \"phoneNumber\": {\n                \"name\": \"ValidatorError\",\n                \"message\": \"Enter a valid mobile phone number\",\n                \"properties\": {\n                    \"message\": \"Enter a valid mobile phone number\",\n                    \"type\": \"user defined\",\n                    \"path\": \"phoneNumber\",\n                    \"value\": \"087833\"\n                },\n                \"kind\": \"user defined\",\n                \"path\": \"phoneNumber\",\n                \"value\": \"087833\"\n            }\n        },\n        \"_message\": \"Validation failed\",\n        \"status\": 422,\n        \"name\": \"ValidationError\",\n        \"message\": \"Member validation failed: fullName: Name is required, email: Email is required, phoneNumber: Enter a valid mobile phone number\"\n    }\n}"},{"id":"775cced8-635c-4377-bd81-d3ed058d2382","name":"422 ~ Form Validation Failed 2 - Upload Avatar Failed","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"fullName","value":"","description":"Required","type":"text"},{"key":"email","value":"","description":"Required","type":"text"},{"key":"phoneNumber","value":"087833","description":"Required; Set it to empty string to remove the phone number","type":"text"},{"key":"avatar","description":"Optional; Do not attach it to the request body if you want to remove the old avatar with query url ?removeAvatar","type":"file","src":"/C:/Users/ASUS/Downloads/TypeScript Call Signature Example.txt"}]},"url":{"raw":"http://localhost:3000/api/v1/members","host":["http://localhost:3000/api/v1"],"path":["members"],"query":[{"key":"removeAvatar","value":null,"disabled":true}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","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":"379"},{"key":"ETag","value":"W/\"17b-HDVfcAHKkzW/gooC4wggv/qaBYE\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sun, 25 Dec 2022 07:50:24 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Images only: jpeg, jpg, png, or gif\",\n    \"cause\": {\n        \"errors\": {\n            \"avatar\": {\n                \"name\": \"ValidatorError\",\n                \"message\": \"Images only: jpeg, jpg, png, or gif\",\n                \"properties\": {\n                    \"message\": \"Images only: jpeg, jpg, png, or gif\"\n                }\n            }\n        },\n        \"_message\": \"Validation failed\",\n        \"status\": 422,\n        \"storageErrors\": [],\n        \"name\": \"ValidationError\",\n        \"message\": \"Validation failed: avatar: Images only: jpeg, jpg, png, or gif\"\n    }\n}"},{"id":"c5d558b7-d4e1-449a-9b3a-87aa26719344","name":"409 - Form Validation Failed 3 - Email Has Already Been Used","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"fullName","value":"Septian Ali Nugroho","description":"Required","type":"text"},{"key":"email","value":"amir.muh.hakim@gmail.com","description":"Required","type":"text"},{"key":"phoneNumber","value":"0878334455541","description":"Required; Set it to empty string to remove the phone number","type":"text"},{"key":"avatar","description":"Optional; Do not attach it to the request body if you want to remove the old avatar with query url ?removeAvatar","type":"file","src":"/C:/Users/ASUS/Downloads/avatar.png"}]},"url":{"raw":"http://localhost:3000/api/v1/members","host":["http://localhost:3000/api/v1"],"path":["members"],"query":[{"key":"removeAvatar","value":null,"disabled":true}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","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":"310"},{"key":"ETag","value":"W/\"136-2MKMdi41QkP7u5WOZudr8ZRCcE0\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sun, 25 Dec 2022 10:07:07 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Email is already in use\",\n    \"cause\": {\n        \"errors\": {\n            \"email\": {\n                \"name\": \"ValidatorError\",\n                \"message\": \"Email is already in use\",\n                \"properties\": {\n                    \"message\": \"Email is already in use\"\n                }\n            }\n        },\n        \"_message\": \"Validation failed\",\n        \"status\": 409,\n        \"name\": \"ValidationError\",\n        \"message\": \"Validation failed: email: Email is already in use\"\n    }\n}"},{"id":"50516ee0-fe13-4895-b092-4e2b14ae4cbc","name":"400 ~ Delete Avatar Failed","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"fullName","value":"Septian Ali Nugroho","description":"Required","type":"text"},{"key":"email","value":"septian@example.net","description":"Required","type":"text"},{"key":"phoneNumber","value":"0878334455541","description":"Required; Set it to empty string to remove the phone number","type":"text"},{"key":"avatar","description":"Optional; Do not attach it to the request body if you want to remove the old avatar with query url ?removeAvatar","type":"file","src":"/C:/Users/ASUS/Downloads/photo1660050195.jpeg"}]},"url":{"raw":"http://localhost:3000/api/v1/members?removeAvatar","host":["http://localhost:3000/api/v1"],"path":["members"],"query":[{"key":"removeAvatar","value":null}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","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":"452"},{"key":"ETag","value":"W/\"1c4-+8ft/MYmTOvfbaqwjUsqO8iasH0\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sun, 25 Dec 2022 07:52:25 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Do not upload a new avatar if you are removing the old one\",\n    \"cause\": {\n        \"errors\": {\n            \"avatar\": {\n                \"name\": \"ValidatorError\",\n                \"message\": \"Do not upload a new avatar if you are removing the old one\",\n                \"properties\": {\n                    \"message\": \"Do not upload a new avatar if you are removing the old one\"\n                }\n            }\n        },\n        \"_message\": \"Validation failed\",\n        \"status\": 400,\n        \"name\": \"ValidationError\",\n        \"message\": \"Validation failed: avatar: Do not upload a new avatar if you are removing the old one\"\n    }\n}"},{"id":"a4daf904-7c1c-4521-bfba-04a0bc055c9c","name":"404 ~ Delete Empty Avatar Failed","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"fullName","value":"Septian Ali Nugroho","description":"Required","type":"text"},{"key":"email","value":"septian@example.net","description":"Required","type":"text"},{"key":"phoneNumber","value":"0878334455541","description":"Required; Set it to empty string to remove the phone number","type":"text"},{"key":"avatar","description":"Optional; Do not attach it to the request body if you want to remove the old avatar with query url ?removeAvatar","type":"file","src":"/C:/Users/ASUS/Downloads/photo1660050195.jpeg","disabled":true}]},"url":{"raw":"http://localhost:3000/api/v1/members?removeAvatar","host":["http://localhost:3000/api/v1"],"path":["members"],"query":[{"key":"removeAvatar","value":null}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","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":"444"},{"key":"ETag","value":"W/\"1bc-7awLCS5imCVRCwdnEfhYFUS+dlg\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Sun, 25 Dec 2022 07:53:08 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Cannot remove the avatar because it has not been set yet\",\n    \"cause\": {\n        \"errors\": {\n            \"avatar\": {\n                \"name\": \"ValidatorError\",\n                \"message\": \"Cannot remove the avatar because it has not been set yet\",\n                \"properties\": {\n                    \"message\": \"Cannot remove the avatar because it has not been set yet\"\n                }\n            }\n        },\n        \"_message\": \"Validation failed\",\n        \"status\": 404,\n        \"name\": \"ValidationError\",\n        \"message\": \"Validation failed: avatar: Cannot remove the avatar because it has not been set yet\"\n    }\n}"}],"_postman_id":"efb0b4cd-45d7-45fe-84ce-9f3baf12a0ef"}],"event":[{"listen":"prerequest","script":{"id":"13c64c31-e2b1-46cb-88ae-40b3da3f712b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fc9ec111-98bb-4a5c-8783-5e55f71c1e4f","type":"text/javascript","exec":[""]}}],"variable":[{"key":"BASE_URL","value":"http://localhost:3000/api/v1","type":"string"},{"key":"MEMBER_JWT_TOKEN","value":"member-jwt-token"}]}