{"info":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","description":"<html><head></head><body><p>Mụn trứng cá không chỉ gây khó chịu mà còn có thể để lại những vết sẹo khó coi nếu không được điều trị đúng cách. Đặc biệt, việc trị mụn mà không để lại sẹo đòi hỏi một chiến lược toàn diện bao gồm chăm sóc da đúng cách, sử dụng các phương pháp điều trị hiệu quả, và áp dụng chế độ ăn uống khoa học. Bài viết này sẽ cung cấp cho bạn hướng dẫn chi tiết và khoa học để điều trị mụn trứng cá mà không để lại sẹo, cùng với sự tư vấn từ các chuyên gia hàng đầu tại Rebi Beauty Spa, bao gồm y sĩ Huỳnh Ngọc Bích Trâm và Bác Sĩ Huỳnh Phúc Hải.</p>\n<img src=\"https://content.pstmn.io/82ee35f7-ee06-49aa-9b3e-4920742adaba/bXVuLXRydW5nLWNhLW5hbmcuanBn\" alt=\"\">\n\n<h2 id=\"nguyên-nhân-gây-mụn-trứng-cá\">Nguyên Nhân Gây Mụn Trứng Cá</h2>\n<p>Mụn trứng cá hình thành khi lỗ chân lông bị tắc nghẽn bởi dầu nhờn, tế bào da chết, và vi khuẩn. Quá trình viêm nhiễm do tắc nghẽn lỗ chân lông có thể dẫn đến mụn đỏ, mụn đầu đen, mụn đầu trắng, hoặc mụn bọc. Khi mụn không được điều trị đúng cách, chúng có thể dẫn đến việc hình thành sẹo, gây ảnh hưởng lâu dài đến vẻ đẹp của làn da.</p>\n<h2 id=\"các-phương-pháp-điều-trị-mụn-trứng-cá-hiệu-quả\">Các Phương Pháp Điều Trị Mụn Trứng Cá Hiệu Quả</h2>\n<h3 id=\"chăm-sóc-da-đúng-cách\">Chăm Sóc Da Đúng Cách</h3>\n<p>Việc chăm sóc da đúng cách là nền tảng quan trọng trong việc điều trị mụn trứng cá và ngăn ngừa sẹo. Đây là một số bước cơ bản mà bạn nên thực hiện:</p>\n<ul>\n<li><p><strong>Làm Sạch Da:</strong> Sử dụng các sản phẩm làm sạch da nhẹ nhàng, không chứa dầu và không gây tắc nghẽn lỗ chân lông. Các sản phẩm chứa salicylic acid và benzoyl peroxide là sự lựa chọn tốt để làm giảm mụn và ngăn ngừa sự hình thành sẹo.</p>\n</li>\n<li><p><strong>Tẩy Tế Bào Chết:</strong> Tẩy tế bào chết đều đặn giúp loại bỏ tế bào da chết và làm thông thoáng lỗ chân lông, giảm nguy cơ hình thành mụn.</p>\n</li>\n<li><p><strong>Dưỡng Ẩm:</strong> Sử dụng kem dưỡng ẩm không chứa dầu giúp duy trì độ ẩm cho da mà không gây tắc nghẽn lỗ chân lông.</p>\n</li>\n<li><p><strong>Chống Nắng:</strong> Ánh nắng mặt trời có thể làm tăng nguy cơ hình thành sẹo và làm cho các vết sẹo hiện có trở nên tối màu hơn. Hãy sử dụng kem chống nắng hàng ngày và hạn chế tiếp xúc với ánh nắng mặt trời.</p>\n</li>\n</ul>\n<img src=\"https://content.pstmn.io/d898bc40-fda7-43c3-82f4-1d66e90c2cd1/bXVuLXRydW5nLWNhLW11LmpwZw==\" alt=\"\">\n\n<h3 id=\"sử-dụng-nguyên-liệu-tự-nhiên\">Sử Dụng Nguyên Liệu Tự Nhiên</h3>\n<p>Nhiều nguyên liệu tự nhiên có thể hỗ trợ điều trị mụn trứng cá và giảm nguy cơ hình thành sẹo. <strong>Cây cỏ sữa</strong> là một trong những giải pháp tự nhiên được khoa học chứng minh là hiệu quả trong việc điều trị mụn. Cây cỏ sữa giúp làm giảm viêm và hỗ trợ làm sạch da. Bạn có thể tìm hiểu thêm về công dụng của cây cỏ sữa qua bài viết <a href=\"https://documenter.getpostman.com/view/38226103/2sAXjSyTzL\">Cây Cỏ Sữa Lá Nhỏ Trị Mụn: Giải Pháp Tự Nhiên Được Khoa Học Chứng Minh</a>.</p>\n<h3 id=\"điều-trị-y-khoa\">Điều Trị Y Khoa</h3>\n<p>Nếu mụn trứng cá của bạn nghiêm trọng và không cải thiện với các phương pháp điều trị tại nhà, bạn nên tìm kiếm sự tư vấn của các chuyên gia y khoa. Rebi Beauty Spa cung cấp các dịch vụ điều trị mụn trứng cá dưới sự giám sát của các chuyên gia hàng đầu. Y sĩ Huỳnh Ngọc Bích Trâm và Bác Sĩ Huỳnh Phúc Hải, với gần 10 và hơn 15 năm kinh nghiệm, sẽ giúp bạn lựa chọn phương pháp điều trị phù hợp nhất. Rebi Beauty Spa cam kết hoàn tiền nếu không đạt hiệu quả, đảm bảo sự hài lòng của khách hàng.</p>\n<h3 id=\"chế-độ-ăn-uống-khoa-học\">Chế Độ Ăn Uống Khoa Học</h3>\n<p>Chế độ ăn uống ảnh hưởng lớn đến sức khỏe làn da và tình trạng mụn trứng cá. Việc tiêu thụ thực phẩm giàu chất xơ, trái cây, và rau xanh có thể hỗ trợ quá trình điều trị mụn và cải thiện sức khỏe làn da. Để có thêm thông tin chi tiết về chế độ ăn uống khoa học để trị mụn, bạn có thể tham khảo hướng dẫn tại <a href=\"https://infogram.com/untitled-chart-1hmr6g8wnw9gz2n?live\">Cách Ăn Uống Khoa Học Để Trị Mụn: Hướng Dẫn Toàn Diện Để Có Làn Da Khỏe Mạnh</a>.</p>\n<h2 id=\"các-biện-pháp-ngăn-ngừa-sẹo-mụn\">Các Biện Pháp Ngăn Ngừa Sẹo Mụn</h2>\n<h3 id=\"tránh-nặn-mụn\">Tránh Nặn Mụn</h3>\n<p>Nặn mụn có thể làm tình trạng viêm nhiễm trở nên nghiêm trọng hơn và dẫn đến việc hình thành sẹo. Hãy tránh nặn mụn và sử dụng các sản phẩm điều trị mụn thay vì tự ý can thiệp vào mụn.</p>\n<h3 id=\"bảo-vệ-da-khỏi-ánh-nắng\">Bảo Vệ Da Khỏi Ánh Nắng</h3>\n<p>Ánh nắng mặt trời có thể làm tình trạng sẹo trở nên tồi tệ hơn. Hãy luôn bảo vệ da bằng cách sử dụng kem chống nắng hàng ngày và hạn chế tiếp xúc trực tiếp với ánh nắng mặt trời.</p>\n<h3 id=\"điều-trị-sẹo-sớm\">Điều Trị Sẹo Sớm</h3>\n<p>Nếu bạn đã để lại sẹo từ mụn trứng cá, việc điều trị sớm có thể giúp giảm sự xuất hiện của chúng. Có nhiều phương pháp điều trị sẹo như liệu pháp laser, điều trị bằng hóa chất, và các sản phẩm làm sáng da. Hãy tham khảo ý kiến của các chuyên gia để chọn phương pháp phù hợp nhất với tình trạng da của bạn.</p>\n<h2 id=\"lợi-ích-của-dịch-vụ-gội-đầu-dưỡng-sinh\">Lợi Ích Của Dịch Vụ Gội Đầu Dưỡng Sinh</h2>\n<p>Ngoài các phương pháp điều trị mụn, việc chăm sóc toàn diện cho cơ thể và làn da cũng rất quan trọng. Một trong những cách giúp thư giãn và cải thiện sức khỏe làn da là gội đầu dưỡng sinh. Gội đầu dưỡng sinh không chỉ giúp làm sạch da đầu mà còn hỗ trợ thư giãn và cân bằng cơ thể. Để tìm hiểu thêm về các địa chỉ gội đầu dưỡng sinh tốt nhất ở Tân Bình, bạn có thể tham khảo bài viết <a href=\"https://rebibeauty.com/top-list/goi-dau-duong-sinh-tan-binh/\">Địa Chỉ Gội Đầu Dưỡng Sinh Nên Thử Tại Quận Tân Bình</a>.</p>\n<h2 id=\"kết-luận\">Kết Luận</h2>\n<p>Trị mụn trứng cá hiệu quả mà không để lại sẹo là một quá trình đòi hỏi sự kiên nhẫn và chăm sóc đúng cách. Bằng cách chăm sóc da đúng cách, sử dụng các nguyên liệu tự nhiên, và duy trì chế độ ăn uống khoa học, bạn có thể giảm thiểu nguy cơ hình thành sẹo và cải thiện sức khỏe làn da. Nếu bạn cần sự tư vấn chuyên sâu, Rebi Beauty Spa sẵn sàng hỗ trợ bạn với đội ngũ bác sĩ giàu kinh nghiệm và dịch vụ điều trị mụn chuyên nghiệp.</p>\n<p>Hãy luôn chăm sóc làn da của bạn một cách toàn diện và kiên nhẫn, và bạn sẽ sớm thấy được những kết quả tích cực. Chúc bạn có một làn da khỏe mạnh và tự tin hơn trong cuộc sống!</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"38250856","collectionId":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","publishedId":"2sAXjT1UoU","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-09-10T14:40:09.000Z"},"item":[{"name":"Process a VALID transaction","item":[{"name":"[Setup][1] Generate a New API Key","event":[{"listen":"test","script":{"exec":["let response = pm.response.json();","","pm.test(\"Should return a object\", function () {","    pm.expect(response, 'The response is not an object').to.be.an('object');","});","","pm.test(\"Should contain the `apiKey` property in the response\", function () {","    pm.expect(response, 'The response does not contain the property').to.haveOwnProperty('apiKey');","});","","pm.test(\"Should return a string for the `apiKey` property\", function () {","    pm.expect(response.apiKey, 'The property is not a string').to.be.a('string');","});","","// Only set the variable if the response is successful ","if (pm.response.code === 200) {","    pm.collectionVariables.set('apiKey', response.apiKey);","}",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{}}}],"id":"2f0bc2f0-0294-45bc-bb20-76b3d80a3eb2","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://template.postman-echo.com/api/v1/auth","description":"<p>This request generates a new API key and saves it to the collection variables if the request is successful.</p>\n","urlObject":{"path":["api","v1","auth"],"host":["https://template.postman-echo.com"],"query":[],"variable":[]}},"response":[{"id":"f7e01610-9547-4949-b55d-3d66281b03f3","name":"Successful Response","originalRequest":{"method":"GET","header":[],"url":"https://template.postman-echo.com/api/v1/auth"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:07:35 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"apiKey\": \"123456789\"\n}"}],"_postman_id":"2f0bc2f0-0294-45bc-bb20-76b3d80a3eb2"},{"name":"[2] Create A New Account (FromAccount)","event":[{"listen":"test","script":{"exec":["const response = pm.response.json();","","pm.test(\"Should have a valid JSON format response body\", function () {","    pm.expect(response).to.not.be.undefined;","});","","pm.test(\"Should have the required 'account' object in the response\", function () {","    pm.expect(response).to.be.an('object');","    pm.expect(response.account).to.exist;","});","","pm.test(\"Should have the `id` property in the account object and is a non-negative integer\", function () {","  pm.expect(response.account.id).to.be.a('number').and.to.be.at.least(0);","});","","// Only set the variable if the response is successful ","if (pm.response.code === 200) {","    pm.collectionVariables.set(\"e2e_user_name_from\", JSON.parse(pm.request.body.raw).owner);","    pm.collectionVariables.set(\"e2e_user_account_id_from\", response.account.id)","}"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":["// Generate the payload data for the create user request","","let fullName = `${pm.variables.replaceIn(\"Kip\")} ${pm.variables.replaceIn(\"Goyette\")}`;","","let payload = {","    \"owner\": `${fullName} - FromAccount`,","    \"balance\": 50,","    \"currency\": \"COSMIC_COINS\"","}","","// Store the payload in a runtime-only variable ","pm.variables.set('payload', JSON.stringify(payload));"],"type":"text/javascript","packages":{}}}],"id":"a2bfe32d-fb4f-448c-b45c-f5c69020f33c","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{{payload}}"},"url":"https://template.postman-echo.com/api/v1/accounts","description":"<p>Generates a new account (<code>fromAccount</code>), that the funds will be transferred from, and saves the following information if the request is successful:</p>\n<ul>\n<li>Account owner from the request body (saved as collection variable <code>e2e_user_name_from</code>)</li>\n<li>Account id from the response body (saved as collection variable <code>e2e_user_account_id_from</code>)</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","accounts"],"host":["https://template.postman-echo.com"],"query":[],"variable":[]}},"response":[{"id":"ea2e3b85-6ece-46f3-99fa-9fc6ed86dd8d","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{{payload}}"},"url":"https://template.postman-echo.com/api/v1/accounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:07:48 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"22"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"account\": {\n        \"id\": 151\n    }\n}"}],"_postman_id":"a2bfe32d-fb4f-448c-b45c-f5c69020f33c"},{"name":"[3] Create A New Account (ToAccount)","event":[{"listen":"test","script":{"exec":["const response = pm.response.json();","","","pm.test(\"Should have a valid JSON format response body\", function () {","    pm.expect(response).to.not.be.undefined;","});","","pm.test(\"Should have the required 'account' object in the response\", function () {","    pm.expect(response).to.be.an('object');","    pm.expect(response.account).to.exist;","});","","pm.test(\"Should have the `id` property in the account object and is a non-negative integer\", function () {","    pm.expect(response).to.be.an('object');","    pm.expect(response.account.id).to.be.a('number').and.to.be.at.least(0);","});","","// Only set the variable if the response is successful ","if (pm.response.code === 200) {","    pm.collectionVariables.set(\"e2e_user_name_to\", JSON.parse(pm.request.body.raw).owner);","    pm.collectionVariables.set(\"e2e_user_account_id_to\", response.account.id)","}"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":["// Generate the payload data for the create user request","","let fullName = `${pm.variables.replaceIn(\"Kelton\")} ${pm.variables.replaceIn(\"Zieme\")}`;","","let payload = {","    \"owner\": `${fullName} - ToAccount`,","    \"balance\": 0,","    \"currency\": \"COSMIC_COINS\"","}","","// Store the payload in a runtime-only variable ","pm.variables.set('payload', JSON.stringify(payload));"],"type":"text/javascript","packages":{}}}],"id":"6d5ff12d-b054-4fdd-aafc-2ab7ea8e472c","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{{payload}}"},"url":"https://template.postman-echo.com/api/v1/accounts","description":"<p>Generates another new account (<code>toAccount</code>), that the funds will be transferred to, and saves the following information if the request is successful:</p>\n<ul>\n<li>Account owner from the request body (saved as collection variable <code>e2e_user_name_to</code>)</li>\n<li>Account id from the response body (saved as collection variable <code>e2e_user_account_id_to</code>)</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","accounts"],"host":["https://template.postman-echo.com"],"query":[],"variable":[]}},"response":[{"id":"acf5a95b-a728-4548-8d13-4e1012ffa0b4","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{{payload}}"},"url":"https://template.postman-echo.com/api/v1/accounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:07:54 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"22"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"account\": {\n        \"id\": 152\n    }\n}"}],"_postman_id":"6d5ff12d-b054-4fdd-aafc-2ab7ea8e472c"},{"name":"[4] Get All User Accounts To Confirm Creation Of Users","event":[{"listen":"test","script":{"exec":["const response = pm.response.json();","","pm.test(\"Should contain an accounts 'array' in the response\", function () {","    pm.expect(response.accounts).to.be.an('array');","});","","pm.test(\"Should return the correct account data for the `fromAccount` user\", function () {","    let fromAccount = response.accounts.filter(function (account) {","        return account.id === parseInt(pm.collectionVariables.get(\"e2e_user_account_id_from\"));","    });","    pm.expect(fromAccount[0]).to.be.an(\"object\");","    pm.expect(fromAccount[0].owner).to.eql(pm.collectionVariables.get(\"e2e_user_name_from\"));","    pm.expect(fromAccount[0].balance).to.eql(50);","    pm.expect(fromAccount[0].currency).to.eql(\"COSMIC_COINS\");","})","","pm.test(\"Should return the correct account data for the `toAccount` user\", function () {","    let toAccount = response.accounts.filter(function (account) {","        return account.id === parseInt(pm.collectionVariables.get(\"e2e_user_account_id_to\"));","    });","    pm.expect(toAccount[0]).to.be.an(\"object\");","    pm.expect(toAccount[0].owner).to.eql(pm.collectionVariables.get(\"e2e_user_name_to\"));","    pm.expect(toAccount[0].balance).to.eql(0);","    pm.expect(toAccount[0].currency).to.eql(\"COSMIC_COINS\");","})"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{}}}],"id":"7990617a-8481-4d7a-8acb-cbd728b0d0e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://template.postman-echo.com/api/v1/accounts","description":"<p>Get a list of all accounts to ensure the accounts were created and saved correctly.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","accounts"],"host":["https://template.postman-echo.com"],"query":[],"variable":[]}},"response":[{"id":"4ff0f31d-4391-49ed-88ac-083c7cc2d851","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://template.postman-echo.com/api/v1/accounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:08:07 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"263"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"accounts\": [\n        {\n            \"id\": 151,\n            \"owner\": \"Ford Paucek - FromAccount\",\n            \"balance\": 50,\n            \"currency\": \"COSMIC_COINS\",\n            \"createdAt\": \"2024-03-11T01:07:48.000Z\"\n        },\n        {\n            \"id\": 152,\n            \"owner\": \"Micah Kovacek - ToAccount\",\n            \"balance\": 0,\n            \"currency\": \"COSMIC_COINS\",\n            \"createdAt\": \"2024-03-11T01:07:54.000Z\"\n        }\n    ]\n}"}],"_postman_id":"7990617a-8481-4d7a-8acb-cbd728b0d0e1"},{"name":"[5] Create A New Transaction Between The Users","event":[{"listen":"test","script":{"exec":["const response = pm.response.json();","","pm.test(\"Should display a successful transaction message\", function () {","    pm.expect(response.success).to.be.true;","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{}}}],"id":"478cd600-9283-4a6d-8f19-e23c5d1893d3","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"api-key","value":"1234"}],"body":{"mode":"raw","raw":"{\n    \"fromAccountId\": {{e2e_user_account_id_from}},\n    \"toAccountId\": {{e2e_user_account_id_to}},\n    \"amount\": 20,\n    \"currency\": \"COSMIC_COINS\"\n}"},"url":"https://template.postman-echo.com/api/v1/transactions","description":"<p>Create a new transaction between the <code>fromAccount</code> and <code>toAccount</code></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","transactions"],"host":["https://template.postman-echo.com"],"query":[],"variable":[]}},"response":[{"id":"03b01a0e-d0ca-4730-a419-1615ba5d8d26","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"api-key","value":"1234"}],"body":{"mode":"raw","raw":"{\n    \"fromAccountId\": {{e2e_user_account_id_from}},\n    \"toAccountId\": {{e2e_user_account_id_to}},\n    \"amount\": 20,\n    \"currency\": \"COSMIC_COINS\"\n}"},"url":"https://template.postman-echo.com/api/v1/transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:08:15 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"40"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"transaction\": {\n        \"id\": 67\n    }\n}"}],"_postman_id":"478cd600-9283-4a6d-8f19-e23c5d1893d3"},{"name":"[6] Get All Transactions To The ToAccount","event":[{"listen":"test","script":{"exec":["const response = pm.response.json();","","pm.test(\"Should contain a transactions 'array' in the response\", function () {","    pm.expect(response.transactions).to.be.an('array');","});","","pm.test(\"Should return the correct transaction data for the `toAccount` user\", function () {","    pm.expect(response.transactions[0]).to.be.an(\"object\");","    pm.expect(response.transactions[0].id).to.be.an(\"number\");","    pm.expect(response.transactions[0].createdAt).to.match(/(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2}).(\\d{3})Z/);","    pm.expect(response.transactions[0].fromAccountId).to.eql(pm.collectionVariables.get(\"e2e_user_account_id_from\"));","    pm.expect(response.transactions[0].toAccountId).to.eql(pm.collectionVariables.get(\"e2e_user_account_id_to\"));","    pm.expect(response.transactions[0].currency).to.eql(\"COSMIC_COINS\");","    pm.expect(response.transactions[0].amount).to.eql(20);","});","","if(pm.response.code === 200) {","    pm.collectionVariables.set(\"e2e_transaction_id_to\", response.transactions[0].id)","}"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{}}}],"id":"ad5929f5-4667-4e60-990f-17df4a4eebaf","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://template.postman-echo.com/api/v1/transactions?toAccountId={{e2e_user_account_id_to}}","description":"<p>Get a list of all transactions to and from the <code>toAccount</code></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","transactions"],"host":["https://template.postman-echo.com"],"query":[{"key":"toAccountId","value":"{{e2e_user_account_id_to}}"}],"variable":[]}},"response":[{"id":"4601cf7c-eba2-4007-b8c1-08d795d2c083","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://template.postman-echo.com/api/v1/transactions?toAccountId={{e2e_user_account_id_to}}","host":["https://template.postman-echo.com"],"path":["api","v1","transactions"],"query":[{"key":"toAccountId","value":"{{e2e_user_account_id_to}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:08:22 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"143"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactions\": [\n        {\n            \"id\": 67,\n            \"createdAt\": \"2024-03-11T01:08:15.000Z\",\n            \"fromAccountId\": 151,\n            \"toAccountId\": 152,\n            \"currency\": \"COSMIC_COINS\",\n            \"amount\": 20\n        }\n    ]\n}"}],"_postman_id":"ad5929f5-4667-4e60-990f-17df4a4eebaf"},{"name":"[7] Get A Single Transaction","event":[{"listen":"test","script":{"exec":["const response = pm.response.json();","","pm.test(\"Should contain a transaction 'object' in the response\", function () {","    pm.expect(response.transaction).to.be.an('object');","});","","pm.test(\"Should return the correct transaction data for the `toAccount` user\", function () {","    pm.expect(response.transaction).to.be.an(\"object\");","    pm.expect(response.transaction.id).to.be.an(\"number\");","    pm.expect(response.transaction.createdAt).to.match(/(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2}).(\\d{3})Z/);","    pm.expect(response.transaction.fromAccountId).to.eql(pm.collectionVariables.get(\"e2e_user_account_id_from\"));","    pm.expect(response.transaction.toAccountId).to.eql(pm.collectionVariables.get(\"e2e_user_account_id_to\"));","    pm.expect(response.transaction.currency).to.eql(\"COSMIC_COINS\");","    pm.expect(response.transaction.amount).to.eql(20);","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{}}}],"id":"f55f0da6-66c3-4138-9b83-fb55d90c7bc5","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://template.postman-echo.com/api/v1/transactions/:transactionId","description":"<p>Get the details of an individual transaction, using the first transaction id from the list of transactions obtained in step [6].</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","transactions",":transactionId"],"host":["https://template.postman-echo.com"],"query":[],"variable":[{"id":"d8b04c8b-d542-405e-b100-87cc1306953e","type":"any","value":"{{e2e_transaction_id_to}}","key":"transactionId"}]}},"response":[{"id":"9ff6bac8-1de5-417b-b2e3-b3da220b38b4","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://template.postman-echo.com/api/v1/transactions/:transactionId","host":["https://template.postman-echo.com"],"path":["api","v1","transactions",":transactionId"],"variable":[{"key":"transactionId","value":"{{e2e_transaction_id_to}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:08:30 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"140"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"transaction\": {\n        \"id\": 67,\n        \"createdAt\": \"2024-03-11T01:08:15.000Z\",\n        \"fromAccountId\": 151,\n        \"toAccountId\": 152,\n        \"currency\": \"COSMIC_COINS\",\n        \"amount\": 20\n    }\n}"}],"_postman_id":"f55f0da6-66c3-4138-9b83-fb55d90c7bc5"},{"name":"[8] Get Users Current Balance - ToAccount","event":[{"listen":"test","script":{"exec":["let response = pm.response.json(),","    account_id = parseInt(pm.collectionVariables.get(\"e2e_user_account_id_to\")),","    owner = pm.collectionVariables.get(\"e2e_user_name_to\");","","pm.test(\"Should contain a account 'object' in the response\", function () {","    pm.expect(response.account).to.be.an('object');","});","","pm.test(\"Should contain the correct account id in the response\", function () {","    pm.expect(response.account.id).to.eql(account_id);","});","","pm.test(\"Should contain the correct owner in the response\", function () {","    pm.expect(response.account.owner).to.eql(owner);","});","","pm.test(\"Should contain the correct balance in the response\", function () {","    pm.expect(response.account.balance).to.eql(20);","});","","pm.test(\"Should contain the correct currency in the response\", function () {","    pm.expect(response.account.currency).to.eql(\"COSMIC_COINS\");","});","",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{}}}],"id":"5c62f7a2-4372-478a-ab58-18a7b149e3b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://template.postman-echo.com/api/v1/accounts/:accountId","description":"<p>Confirm the balance of the <code>toAccount</code> matches the expected value after the transaction.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":accountId"],"host":["https://template.postman-echo.com"],"query":[],"variable":[{"id":"5bfde955-00c6-4d30-a38f-bb99ca405251","type":"any","value":"{{e2e_user_account_id_to}}","key":"accountId"}]}},"response":[{"id":"a047dcdc-2ffc-4466-8cbb-ba3b2c28b6ce","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://template.postman-echo.com/api/v1/accounts/:accountId","host":["https://template.postman-echo.com"],"path":["api","v1","accounts",":accountId"],"variable":[{"key":"accountId","value":"{{e2e_user_account_id_to}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:08:37 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"136"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"account\": {\n        \"id\": 152,\n        \"owner\": \"Micah Kovacek - ToAccount\",\n        \"balance\": 20,\n        \"currency\": \"COSMIC_COINS\",\n        \"createdAt\": \"2024-03-11T01:07:54.000Z\"\n    }\n}"}],"_postman_id":"5c62f7a2-4372-478a-ab58-18a7b149e3b3"},{"name":"[9] Get Users Current Balance - FromAccount","event":[{"listen":"test","script":{"exec":["let response = pm.response.json(),","    account_id = parseInt(pm.collectionVariables.get(\"e2e_user_account_id_from\")),","    owner = pm.collectionVariables.get(\"e2e_user_name_from\");","","pm.test(\"Should contain a account 'object' in the response\", function () {","    pm.expect(response.account).to.be.an('object');","});","","pm.test(\"Should contain the correct account id in the response\", function () {","    pm.expect(response.account.id).to.eql(account_id);","});","","pm.test(\"Should contain the correct owner in the response\", function () {","    pm.expect(response.account.owner).to.eql(owner);","});","","pm.test(\"Should contain the correct balance in the response\", function () {","    pm.expect(response.account.balance).to.eql(30);","});","","pm.test(\"Should contain the correct currency in the response\", function () {","    pm.expect(response.account.currency).to.eql(\"COSMIC_COINS\");","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{}}}],"id":"71302166-7b78-453f-a11c-bfe24ec7e8b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://template.postman-echo.com/api/v1/accounts/:accountId","description":"<p>Confirm the balance of the <code>fromAccount</code> matches the expected value after the transaction.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":accountId"],"host":["https://template.postman-echo.com"],"query":[],"variable":[{"id":"a8ff699c-14c0-4332-8dc1-af94acb323b8","type":"any","value":"{{e2e_user_account_id_from}}","key":"accountId"}]}},"response":[{"id":"e6c95f48-4576-4d06-ba25-41990f482f48","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://template.postman-echo.com/api/v1/accounts/:accountId","host":["https://template.postman-echo.com"],"path":["api","v1","accounts",":accountId"],"variable":[{"key":"accountId","value":"{{e2e_user_account_id_from}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:08:45 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"136"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"account\": {\n        \"id\": 151,\n        \"owner\": \"Ford Paucek - FromAccount\",\n        \"balance\": 30,\n        \"currency\": \"COSMIC_COINS\",\n        \"createdAt\": \"2024-03-11T01:07:48.000Z\"\n    }\n}"}],"_postman_id":"71302166-7b78-453f-a11c-bfe24ec7e8b4"},{"name":"[Teardown][10] Delete The User Account - ToAccount","event":[{"listen":"test","script":{"exec":["//this request inherits the status check at the folder level."],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{}}}],"id":"adbc6194-ac12-401c-8cf2-f83d0836c539","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{}"},"url":"https://template.postman-echo.com/api/v1/accounts/:accountId","description":"<p>Delete the <code>toAccount</code> account to clean up after this test case.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":accountId"],"host":["https://template.postman-echo.com"],"query":[],"variable":[{"id":"8d2010a0-b27d-44d6-bb4c-53a3f5603f3e","type":"any","value":"{{e2e_user_account_id_to}}","key":"accountId"}]}},"response":[{"id":"627af8ea-1705-46b9-bd48-cc360ab60f67","name":"Successful Response","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{}"},"url":{"raw":"https://template.postman-echo.com/api/v1/accounts/:accountId","protocol":"https","host":["template","postman-echo","com"],"path":["api","v1","accounts",":accountId"],"variable":[{"key":"accountId","value":"{{e2e_user_account_id_to}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:08:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"adbc6194-ac12-401c-8cf2-f83d0836c539"},{"name":"[Teardown][11] Delete The User Account - FromAccount","event":[{"listen":"test","script":{"exec":["//clean up all variables now that the folder's run is over","pm.collectionVariables.unset(\"e2e_transaction_id_to\")","pm.collectionVariables.unset(\"e2e_user_account_id_from\")","pm.collectionVariables.unset(\"e2e_user_account_id_to\")","pm.collectionVariables.unset(\"e2e_user_name_from\")","pm.collectionVariables.unset(\"e2e_user_name_to\")",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{}}}],"id":"3e9fabd8-df7d-4554-babb-f071456f6008","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://template.postman-echo.com/api/v1/accounts/:accountId","description":"<p>Delete the <code>fromAccount</code> account and clear out the collection variables we created during this test case.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":accountId"],"host":["https://template.postman-echo.com"],"query":[],"variable":[{"id":"292fecd8-9271-438e-9e0b-1325d91af91e","type":"any","value":"{{e2e_user_account_id_from}}","key":"accountId"}]}},"response":[{"id":"1f97fc18-c904-47c9-a2b8-64dacf156c7f","name":"Successful Response","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://template.postman-echo.com/api/v1/accounts/:accountId","protocol":"https","host":["template","postman-echo","com"],"path":["api","v1","accounts",":accountId"],"variable":[{"key":"accountId","value":"{{e2e_user_account_id_from}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:09:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"3e9fabd8-df7d-4554-babb-f071456f6008"}],"id":"269a91e0-8e07-4b4c-9069-16df3761c475","description":"<p>This folder tests a commonly used workflow of creating new accounts and transferring funds between the two.</p>\n<p>Because we expect all requests to succeed in this workflow, we have a <strong>status check test</strong> in the <strong>folder-level Scripts tab</strong>.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":["//all requests in this folder should be valid","pm.test(\"Folder-level status check\", function () {","    pm.response.to.have.status(200);","});"]}}],"_postman_id":"269a91e0-8e07-4b4c-9069-16df3761c475","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}}},{"name":"Attempt an INVALID transaction","item":[{"name":"[Setup][1] Generate a New API Key","event":[{"listen":"test","script":{"exec":["let response = pm.response.json();","","pm.test(\"Status check\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Should return a object\", function () {","    pm.expect(response, 'The response is not an object').to.be.an('object');","});","","pm.test(\"Should contain the `apiKey` property in the response\", function () {","    pm.expect(response, 'The response does not contain the property').to.haveOwnProperty('apiKey');","});","","pm.test(\"Should return a string for the `apiKey` property\", function () {","    pm.expect(response.apiKey, 'The property is not a string').to.be.a('string');","});","","// Only set the variable if the response is successful ","if (pm.response.code === 200) {","    pm.collectionVariables.set('apiKey', response.apiKey);","}",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{}}}],"id":"d32307f2-a967-4f4f-a865-ec18ffe226ea","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://template.postman-echo.com/api/v1/auth","description":"<p>This request generates a new API Key, and saves it to the collection variables if the request was successful.</p>\n","urlObject":{"path":["api","v1","auth"],"host":["https://template.postman-echo.com"],"query":[],"variable":[]}},"response":[{"id":"f729ba51-6a3f-440f-9c17-958fdcc7d6d8","name":"Successful Response","originalRequest":{"method":"GET","header":[],"url":"https://template.postman-echo.com/api/v1/auth"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:09:56 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"apiKey\": \"123456789\"\n}"}],"_postman_id":"d32307f2-a967-4f4f-a865-ec18ffe226ea"},{"name":"[2] Create A New Account (FromAccount)","event":[{"listen":"test","script":{"exec":["const response = pm.response.json();","pm.test(\"Status check\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Should have a valid JSON format response body\", function () {","    pm.expect(response).to.not.be.undefined;","});","","pm.test(\"Should have the required 'account' object in the response\", function () {","    pm.expect(response).to.be.an('object');","    pm.expect(response.account).to.exist;","});","","pm.test(\"Should have the `id` property in the account object and is a non-negative integer\", function () {","  pm.expect(response.account.id).to.be.a('number').and.to.be.at.least(0);","});","","// Only set the variable if the response is successful ","if (pm.response.code === 200) {","    pm.collectionVariables.set(\"e2e_user_name_from\", JSON.parse(pm.request.body.raw).owner);","    pm.collectionVariables.set(\"e2e_user_account_id_from\", response.account.id)","}"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":["// Generate the payload data for the create user request","","let fullName = `${pm.variables.replaceIn(\"Rose\")} ${pm.variables.replaceIn(\"Swift\")}`;","","let payload = {","    \"owner\": `${fullName} - FromAccount`,","    \"balance\": 0,","    \"currency\": \"COSMIC_COINS\"","}","","// Store the payload in a runtime-only variable ","pm.variables.set('payload', JSON.stringify(payload));"],"type":"text/javascript","packages":{}}}],"id":"9153622e-cade-4a22-96f7-efe416d5f22a","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{{payload}}"},"url":"https://template.postman-echo.com/api/v1/accounts","description":"<p>Generates a new account (<code>fromAccount</code>), that the funds will be transferred from, and saves the following information if the request is successful:</p>\n<ul>\n<li><p>Account owner from the request body (saved as collection variable <code>e2e_user_name_from</code>)</p>\n</li>\n<li><p>Account id from the response body (saved as collection variable <code>e2e_user_account_id_from</code>)</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","accounts"],"host":["https://template.postman-echo.com"],"query":[],"variable":[]}},"response":[{"id":"e9b115b8-3b29-4829-ac55-ca6ebc8be23a","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{{payload}}"},"url":"https://template.postman-echo.com/api/v1/accounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:10:32 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"22"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"account\": {\n        \"id\": 153\n    }\n}"}],"_postman_id":"9153622e-cade-4a22-96f7-efe416d5f22a"},{"name":"[3] Create A New Account (ToAccount)","event":[{"listen":"test","script":{"exec":["const response = pm.response.json();","","pm.test(\"Status check\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Should have a valid JSON format response body\", function () {","    pm.expect(response).to.not.be.undefined;","});","","pm.test(\"Should have the required 'account' object in the response\", function () {","    pm.expect(response).to.be.an('object');","    pm.expect(response.account).to.exist;","});","","pm.test(\"Should have the `id` property in the account object and is a non-negative integer\", function () {","    pm.expect(response).to.be.an('object');","    pm.expect(response.account.id).to.be.a('number').and.to.be.at.least(0);","});","","// Only set the variable if the response is successful ","if (pm.response.code === 200) {","    pm.collectionVariables.set(\"e2e_user_name_to\", JSON.parse(pm.request.body.raw).owner);","    pm.collectionVariables.set(\"e2e_user_account_id_to\", response.account.id)","}"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":["// Generate the payload data for the create user request","","let fullName = `${pm.variables.replaceIn(\"Enos\")} ${pm.variables.replaceIn(\"Botsford\")}`;","","let payload = {","    \"owner\": `${fullName} - ToAccount`,","    \"balance\": 0,","    \"currency\": \"COSMIC_COINS\"","}","","// Store the payload in a runtime-only variable ","pm.variables.set('payload', JSON.stringify(payload));"],"type":"text/javascript","packages":{}}}],"id":"99759e95-5d01-4e99-9568-88d8816d635f","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{{payload}}"},"url":"https://template.postman-echo.com/api/v1/accounts","description":"<p>Generates another new account (<code>toAccount</code>), that the funds will be transferred to, and saves the following information if the request is successful:</p>\n<ul>\n<li><p>Account owner from the request body (saved as collection variable <code>e2e_user_name_to</code>)</p>\n</li>\n<li><p>Account id from the response body (saved as collection variable <code>e2e_user_account_id_to</code>)</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","accounts"],"host":["https://template.postman-echo.com"],"query":[],"variable":[]}},"response":[{"id":"ea4481a3-b835-4bfc-a1e5-a06c923df3a1","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{{payload}}"},"url":"https://template.postman-echo.com/api/v1/accounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:10:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"22"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"account\": {\n        \"id\": 154\n    }\n}"}],"_postman_id":"99759e95-5d01-4e99-9568-88d8816d635f"},{"name":"[4] Get All User Accounts To Confirm Creation Of Users","event":[{"listen":"test","script":{"exec":["const response = pm.response.json();","","pm.test(\"Status check\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Should contain an accounts 'array' in the response\", function () {","    pm.expect(response.accounts).to.be.an('array');","});","","pm.test(\"Should return the correct account data for the `fromAccount` user\", function () {","    let fromAccount = response.accounts.filter(function (account) {","        return account.id === parseInt(pm.collectionVariables.get(\"e2e_user_account_id_from\"));","    });","    pm.expect(fromAccount[0]).to.be.an(\"object\");","    pm.expect(fromAccount[0].owner).to.eql(pm.collectionVariables.get(\"e2e_user_name_from\"));","    pm.expect(fromAccount[0].balance).to.eql(0);","    pm.expect(fromAccount[0].currency).to.eql(\"COSMIC_COINS\");","})","","pm.test(\"Should return the correct account data for the `toAccount` user\", function () {","    let toAccount = response.accounts.filter(function (account) {","        return account.id === parseInt(pm.collectionVariables.get(\"e2e_user_account_id_to\"));","    });","    pm.expect(toAccount[0]).to.be.an(\"object\");","    pm.expect(toAccount[0].owner).to.eql(pm.collectionVariables.get(\"e2e_user_name_to\"));","    pm.expect(toAccount[0].balance).to.eql(0);","    pm.expect(toAccount[0].currency).to.eql(\"COSMIC_COINS\");","})"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{}}}],"id":"2fcce556-3ed9-489a-a471-3b5fe6f26f7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://template.postman-echo.com/api/v1/accounts","description":"<p>Get a list of all accounts to ensure the accounts were created and saved correctly.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","accounts"],"host":["https://template.postman-echo.com"],"query":[],"variable":[]}},"response":[{"id":"bd91cb0c-ca3c-4e71-adc1-8985b1fc3405","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://template.postman-echo.com/api/v1/accounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:10:46 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"267"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"accounts\": [\n        {\n            \"id\": 153,\n            \"owner\": \"Edyth Wilderman - FromAccount\",\n            \"balance\": 0,\n            \"currency\": \"COSMIC_COINS\",\n            \"createdAt\": \"2024-03-11T01:10:32.000Z\"\n        },\n        {\n            \"id\": 154,\n            \"owner\": \"Waylon Ziemann - ToAccount\",\n            \"balance\": 0,\n            \"currency\": \"COSMIC_COINS\",\n            \"createdAt\": \"2024-03-11T01:10:39.000Z\"\n        }\n    ]\n}"}],"_postman_id":"2fcce556-3ed9-489a-a471-3b5fe6f26f7b"},{"name":"[5] Create A New Transaction with insufficient funds","event":[{"listen":"test","script":{"exec":["const response = pm.response.json();","","pm.test(\"Status code is 400\", function () {","    pm.response.to.have.status(400);","});","","pm.test(\"Should return an error: invalidBody\", function () {","    pm.expect(response.name).to.equal(\"invalidBody\");","});","","pm.test(\"Response has the required fields\", function () {","    pm.expect(response).to.be.an('object');","    pm.expect(response.name).to.exist;","    pm.expect(response.message).to.exist;","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{}}}],"id":"b322f8f7-9ce0-42b3-ab24-ea2f0e77c002","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"api-key","value":"1234"}],"body":{"mode":"raw","raw":"{\n    \"fromAccountId\": {{e2e_user_account_id_from}},\n    \"toAccountId\": {{e2e_user_account_id_to}},\n    \"amount\": 20,\n    \"currency\": \"COSMIC_COINS\"\n}"},"url":"https://template.postman-echo.com/api/v1/transactions","description":"<p>Create a new transaction between the <code>fromAccount</code> and <code>toAccount</code>. We are expecting this to fail as there are insufficient funds in the <code>fromAccount</code>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","transactions"],"host":["https://template.postman-echo.com"],"query":[],"variable":[]}},"response":[{"id":"a92f4e18-a01a-4ceb-9563-0cb2f01105d3","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"api-key","value":"1234"}],"body":{"mode":"raw","raw":"{\n    \"fromAccountId\": {{e2e_user_account_id_from}},\n    \"toAccountId\": {{e2e_user_account_id_to}},\n    \"amount\": 20,\n    \"currency\": \"COSMIC_COINS\"\n}"},"url":"https://template.postman-echo.com/api/v1/transactions"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:10:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"101"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"invalidBody\",\n    \"message\": \"Insufficient balance in fromAccountId to initiate the transaction.\"\n}"}],"_postman_id":"b322f8f7-9ce0-42b3-ab24-ea2f0e77c002"},{"name":"[6] Get All Transactions To The ToAccount","event":[{"listen":"test","script":{"exec":["const response = pm.response.json();","pm.test(\"Status check\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Should contain an empty transactions 'array' in the response\", function () {","    pm.expect(response.transactions).to.be.an('array');","    pm.expect(response.transactions.length).to.equal(0);","});","","",""],"type":"text/javascript"}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript"}}],"id":"e5ed5e03-89e2-467e-8e78-eae57641cd3c","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://template.postman-echo.com/api/v1/transactions?toAccountId={{e2e_user_account_id_to}}","description":"<p>Get a list of transactions to and from the <code>toAccount</code>, and ensure there are no transactions.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","transactions"],"host":["https://template.postman-echo.com"],"query":[{"key":"toAccountId","value":"{{e2e_user_account_id_to}}"}],"variable":[]}},"response":[{"id":"b4cecc7e-d350-41ca-9f3f-c0088735e5e0","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://template.postman-echo.com/api/v1/transactions?toAccountId={{e2e_user_account_id_to}}","protocol":"https","host":["template","postman-echo","com"],"path":["api","v1","transactions"],"query":[{"key":"toAccountId","value":"{{e2e_user_account_id_to}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:11:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"19"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactions\": []\n}"}],"_postman_id":"e5ed5e03-89e2-467e-8e78-eae57641cd3c"},{"name":"[7] Check ToAccount Balance Unchanged","event":[{"listen":"test","script":{"exec":["let response = pm.response.json(),","    account_id = parseInt(pm.collectionVariables.get(\"e2e_user_account_id_to\")),","    owner = pm.collectionVariables.get(\"e2e_user_name_to\");","","pm.test(\"Status check\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Should contain a account 'object' in the response\", function () {","    pm.expect(response.account).to.be.an('object');","});","","pm.test(\"Should contain the correct account id in the response\", function () {","    pm.expect(response.account.id).to.eql(account_id);","});","","pm.test(\"Should contain the correct owner in the response\", function () {","    pm.expect(response.account.owner).to.eql(owner);","});","","pm.test(\"Should contain the correct balance in the response\", function () {","    pm.expect(response.account.balance).to.eql(0);","});","","pm.test(\"Should contain the correct currency in the response\", function () {","    pm.expect(response.account.currency).to.eql(\"COSMIC_COINS\");","});","",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{}}}],"id":"71c3579b-9137-419e-868e-61125e46639b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://template.postman-echo.com/api/v1/accounts/:accountId","description":"<p>Get more information about the <code>toAccount</code>, and check that the account balance remains unchanged after the failed transaction.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":accountId"],"host":["https://template.postman-echo.com"],"query":[],"variable":[{"id":"22f19f29-81a4-412e-8ae2-82e621c86d57","type":"any","value":"{{e2e_user_account_id_to}}","key":"accountId"}]}},"response":[{"id":"400925ad-d3af-4057-8b64-25bf34f974dd","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://template.postman-echo.com/api/v1/accounts/:accountId","protocol":"https","host":["template","postman-echo","com"],"path":["api","v1","accounts",":accountId"],"variable":[{"key":"accountId","value":"{{e2e_user_account_id_to}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:11:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"136"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"account\": {\n        \"id\": 154,\n        \"owner\": \"Waylon Ziemann - ToAccount\",\n        \"balance\": 0,\n        \"currency\": \"COSMIC_COINS\",\n        \"createdAt\": \"2024-03-11T01:10:39.000Z\"\n    }\n}"}],"_postman_id":"71c3579b-9137-419e-868e-61125e46639b"},{"name":"[8] Check FromAccount Balance Unchanged","event":[{"listen":"test","script":{"exec":["let response = pm.response.json(),","    account_id = parseInt(pm.collectionVariables.get(\"e2e_user_account_id_from\")),","    owner = pm.collectionVariables.get(\"e2e_user_name_from\");","","pm.test(\"Status check\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Should contain a account 'object' in the response\", function () {","    pm.expect(response.account).to.be.an('object');","});","","pm.test(\"Should contain the correct account id in the response\", function () {","    pm.expect(response.account.id).to.eql(account_id);","});","","pm.test(\"Should contain the correct owner in the response\", function () {","    pm.expect(response.account.owner).to.eql(owner);","});","","pm.test(\"Should contain the correct balance in the response\", function () {","    pm.expect(response.account.balance).to.eql(0);","});","","pm.test(\"Should contain the correct currency in the response\", function () {","    pm.expect(response.account.currency).to.eql(\"COSMIC_COINS\");","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{}}}],"id":"8a37f55d-4294-4471-b1ab-3161628993b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://template.postman-echo.com/api/v1/accounts/:accountId","description":"<p>Get more information about the <code>fromAccount</code>, and confirm the balance of the <code>toAccount</code> remains unchanged after the failed transaction.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":accountId"],"host":["https://template.postman-echo.com"],"query":[],"variable":[{"id":"4f2ca813-812d-4451-ac2b-65b21cb85c46","type":"any","value":"{{e2e_user_account_id_from}}","key":"accountId"}]}},"response":[{"id":"3ebcfbc8-7920-484c-9b17-d313edd35833","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://template.postman-echo.com/api/v1/accounts/:accountId","protocol":"https","host":["template","postman-echo","com"],"path":["api","v1","accounts",":accountId"],"variable":[{"key":"accountId","value":"{{e2e_user_account_id_from}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:11:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"account\": {\n        \"id\": 153,\n        \"owner\": \"Edyth Wilderman - FromAccount\",\n        \"balance\": 0,\n        \"currency\": \"COSMIC_COINS\",\n        \"createdAt\": \"2024-03-11T01:10:32.000Z\"\n    }\n}"}],"_postman_id":"8a37f55d-4294-4471-b1ab-3161628993b1"},{"name":"[Teardown][9] Delete The User Account - ToAccount","event":[{"listen":"test","script":{"exec":["pm.test(\"Status check\", function () {","    pm.response.to.have.status(200);","});","",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{}}}],"id":"ee48f00a-e837-4c42-9241-a8ee0a852ea4","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{}"},"url":"https://template.postman-echo.com/api/v1/accounts/:accountId","description":"<p>Delete the <code>toAccount</code> account to clean up after this test case.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":accountId"],"host":["https://template.postman-echo.com"],"query":[],"variable":[{"id":"b2e07264-da4d-4920-9ecb-20abd26480fa","type":"any","value":"{{e2e_user_account_id_to}}","key":"accountId"}]}},"response":[{"id":"a78f1a86-c057-4688-9d4d-c05eefaaa94d","name":"Successful Response","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{}"},"url":{"raw":"https://template.postman-echo.com/api/v1/accounts/:accountId","host":["https://template.postman-echo.com"],"path":["api","v1","accounts",":accountId"],"variable":[{"key":"accountId","value":"{{e2e_user_account_id_to}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:11:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"ee48f00a-e837-4c42-9241-a8ee0a852ea4"},{"name":"[Teardown][10] Delete The User Account - FromAccount","event":[{"listen":"test","script":{"exec":["","pm.test(\"Status check\", function () {","    pm.response.to.have.status(200);","});","","//clean up all variables now that the folder's run is over","pm.collectionVariables.unset(\"e2e_transaction_id_to\")","pm.collectionVariables.unset(\"e2e_user_account_id_from\")","pm.collectionVariables.unset(\"e2e_user_account_id_to\")","pm.collectionVariables.unset(\"e2e_user_name_from\")","pm.collectionVariables.unset(\"e2e_user_name_to\")",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{}}}],"id":"ec62cc25-1ef8-4c35-bb1a-b4354110eb6f","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://template.postman-echo.com/api/v1/accounts/:accountId","description":"<p>Delete the <code>fromAccount</code> account and clear out the collection variables we created during this test case.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":accountId"],"host":["https://template.postman-echo.com"],"query":[],"variable":[{"id":"122dd658-4963-4769-a044-c0d317093d3f","type":"any","value":"{{e2e_user_account_id_from}}","key":"accountId"}]}},"response":[{"id":"f2b27ee9-89ad-4b14-ae1d-78702bf28fdb","name":"Successful Response","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://template.postman-echo.com/api/v1/accounts/:accountId","host":["https://template.postman-echo.com"],"path":["api","v1","accounts",":accountId"],"variable":[{"key":"accountId","value":"{{e2e_user_account_id_from}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Mar 2024 01:11:37 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"uWebSockets","value":"20"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"ec62cc25-1ef8-4c35-bb1a-b4354110eb6f"}],"id":"e72a48e1-caed-4aba-92f6-686b5c4d60cf","description":"<p>Note that because we are expecting one of the requests in this folder to be invalid, we are moving the status check from the folder level (as we did in the previous folder) to the request level.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}],"_postman_id":"e72a48e1-caed-4aba-92f6-686b5c4d60cf","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]},"isInherited":true,"source":{"_postman_id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","id":"672a400d-4ba2-47aa-a539-4f9da4b3d9b7","name":"Bí Quyết Trị Mụn Trứng Cá Không Để Lại Sẹo: Hướng Dẫn Toàn Diện Từ Chuyên Gia","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}],"variable":[{"id":"a1cf424f-ee19-4174-a362-c063f359ddca","key":"baseUrl","value":"https://template.postman-echo.com","type":"string"},{"id":"80f16209-2285-4a76-9e1c-9c4699c281ec","key":"apiKey","value":"OMpqVWAH.UC80wyXTtPwhDgAUdCTx6"}]}