{"info":{"_postman_id":"bfc578df-778d-43ba-979d-ab86f62fa728","name":"go-saga-pattern","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"17668293","collectionId":"bfc578df-778d-43ba-979d-ab86f62fa728","publishedId":"2sB2xEB8Yq","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-06-25T15:30:32.000Z"},"item":[{"name":"User Service","item":[{"name":"Authenticated","item":[{"name":"Current","id":"d5091eff-7093-43dd-afe0-4f1fbbc76a19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"username\" : \"hervipro\",\n    \"email\" : \"hervipro@gmail.com\",\n    \"password\" : \"Hervi12345!\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8001/api/v1/users/current","urlObject":{"path":["api","v1","users","current"],"host":["http://127.0.0.1:8001"],"query":[],"variable":[]}},"response":[],"_postman_id":"d5091eff-7093-43dd-afe0-4f1fbbc76a19"}],"id":"abac083c-0410-4ddb-8c12-13c0882bdb27","_postman_id":"abac083c-0410-4ddb-8c12-13c0882bdb27","description":""},{"name":"Register","id":"037b0313-5bde-4383-9653-db714f1f7d57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\" : \"hervipro\",\n    \"email\" : \"hervipro@gmail.com\",\n    \"password\" : \"Hervi\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8001/api/v1/user/register","urlObject":{"path":["api","v1","user","register"],"host":["http://127.0.0.1:8001"],"query":[],"variable":[]}},"response":[{"id":"c6b2b118-7d35-4fc1-b46f-838ac97cccb1","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\" : \"hervipro\",\n    \"email\" : \"hervipro@gmail.com\",\n    \"password\" : \"Hervi12345!\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8001/api/v1/user/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jun 2025 02:55:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"129"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"user\": {\n            \"id\": \"521931c3-3f19-4e18-a2e6-79f74181956f\",\n            \"username\": \"hervipro\",\n            \"email\": \"hervipro@gmail.com\"\n        }\n    }\n}"},{"id":"04fa1682-27c2-409a-8399-4d2de73f9215","name":"Failed - Duplicate Username Or Email","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\" : \"hervipro\",\n    \"email\" : \"hervipro@gmail.com\",\n    \"password\" : \"Hervi12345!\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8001/api/v1/user/register"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jun 2025 02:56:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"85"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Username or email already been used, please use another\"\n}"},{"id":"d48c50ce-1330-4530-94e5-79d9405f8bc0","name":"Failed - Invalid Email And Username","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\" : \"xxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcxxxxxxcccccccccccccccxcxcxcxcxcxcxcx\",\n    \"email\" : \"xxxxxcccccccccccccccxcxcxcxcxcxcxcx\",\n    \"password\" : \"Hervi12345!\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8001/api/v1/user/register"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 12:57:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"235"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Validation error\",\n    \"errors\": [\n        {\n            \"field\": \"Username\",\n            \"rule\": \"max\",\n            \"message\": \"Username must not be more than 255 characters long\"\n        },\n        {\n            \"field\": \"Email\",\n            \"rule\": \"email\",\n            \"message\": \"Email must be a valid email address\"\n        }\n    ]\n}"},{"id":"788e0dfc-0069-4920-aeca-58cb0d6231b7","name":"Internal Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\" : \"hervipro\",\n    \"email\" : \"hervipro@gmail.com\",\n    \"password\" : \"Hervi12345!\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8001/api/v1/user/register"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 12:58:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"74"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Something went wrong. Please try again later\"\n}"},{"id":"1223cf92-6cbd-452f-95b9-f7290a7cefd5","name":"Failed - Invalid Password Length","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\" : \"hervipro\",\n    \"email\" : \"hervipro@gmail.com\",\n    \"password\" : \"Hervi\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8001/api/v1/user/register"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 13:01:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"147"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Validation error\",\n    \"errors\": [\n        {\n            \"field\": \"Password\",\n            \"rule\": \"min\",\n            \"message\": \"Password must be at least 6 characters long\"\n        }\n    ]\n}"}],"_postman_id":"037b0313-5bde-4383-9653-db714f1f7d57"},{"name":"Login","id":"32deee53-9088-4d92-a1fc-c3404494ca8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\" : \"hervipro@gmail.com\",\n    \"password\" : \"Hervi12345!\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8001/api/v1/user/login","urlObject":{"path":["api","v1","user","login"],"host":["http://127.0.0.1:8001"],"query":[],"variable":[]}},"response":[{"id":"a196871b-910b-49cc-b9db-83792a297594","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\" : \"hervipro@gmail.com\",\n    \"password\" : \"Hervi12345!\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8001/api/v1/user/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 12:58:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"395"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"token\": {\n            \"access_token\": \"eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdXRob3JpemVkIjp0cnVlLCJleHAiOjE3NTA4NzA3MzMsInVzZXJfaWQiOiJkNDExNTVjNy1mZjA1LTQ2YmUtOWVjNC1lOWJmZDQyZGRkN2EifQ.nJO86w1EX4ilgA20kqWM_db-NMv4b5OtPvQlqtSoYrEAvNwSxI8vmUcyhmnGZ2ynX208KxDlCvR1eTfr7ugZCw\"\n        },\n        \"user\": {\n            \"id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"username\": \"hervipro\",\n            \"email\": \"hervipro@gmail.com\"\n        }\n    }\n}"},{"id":"398e843c-affe-43e3-a77a-d50e44485436","name":"Failed - Invalid Email or Password","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\" : \"hervipro\",\n    \"email\" : \"hervipro@gmail.coms\",\n    \"password\" : \"Hervi12345!\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8001/api/v1/user/login"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 13:02:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"80"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Make sure you have provide valid email or password\"\n}"},{"id":"2a66ef9c-86dc-4040-89b1-7f67088f46b6","name":"Failed - Invalid Password Length","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\" : \"hervipro@gmail.coms\",\n    \"password\" : \"He45!\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8001/api/v1/user/login"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 13:02:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"147"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Validation error\",\n    \"errors\": [\n        {\n            \"field\": \"Password\",\n            \"rule\": \"min\",\n            \"message\": \"Password must be at least 6 characters long\"\n        }\n    ]\n}"},{"id":"652fa144-4280-4f22-b507-a08269ca90a4","name":"Internal Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\" : \"hervipro@gmail.com\",\n    \"password\" : \"Hervi12345!\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8001/api/v1/user/login"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 13:04:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"74"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Something went wrong. Please try again later\"\n}"},{"id":"ef5ba284-3961-4368-a83c-ef37da6956f2","name":"Failed - Invalid Email Format","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\" : \"herviprogmail.coms\",\n    \"password\" : \"He4asdasdaaa5!\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8001/api/v1/user/login"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 13:05:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"138"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Validation error\",\n    \"errors\": [\n        {\n            \"field\": \"Email\",\n            \"rule\": \"email\",\n            \"message\": \"Email must be a valid email address\"\n        }\n    ]\n}"}],"_postman_id":"32deee53-9088-4d92-a1fc-c3404494ca8a"}],"id":"dcb0a519-acbe-47c8-9c7a-ab92cfd45eb1","_postman_id":"dcb0a519-acbe-47c8-9c7a-ab92cfd45eb1","description":""},{"name":"Product Service","item":[{"name":"Create","id":"5c54c562-52df-4f14-84c0-8327e055dd2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\" : \"barang keduasa\",\n    \"description\" : \"Best gamming award\",\n    \"price\" : 1400000.00,\n    \"quantity\" : 33\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8002/api/v1/products","urlObject":{"path":["api","v1","products"],"host":["http://127.0.0.1:8002"],"query":[],"variable":[]}},"response":[{"id":"96f7853b-ed85-4fc7-82a7-703c6a64104e","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\" : \"GTA VI ULTIMATE EDITION\",\n    \"description\" : \"Best gamming award\",\n    \"price\" : 1400000.00,\n    \"quantity\" : 33\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8002/api/v1/products"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jun 2025 03:06:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"167"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"id\": \"b7887b89-3e77-46fe-a52a-f2054d441c46\",\n        \"name\": \"GTA VI ULTIMATE EDITION\",\n        \"description\": \"Best gamming award\",\n        \"price\": 1400000,\n        \"quantity\": 33\n    }\n}"},{"id":"afec903b-86f3-4c03-a0ba-f8dcfe77f564","name":"Failed - Already Exists","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\" : \"GTA VI ULTIMATE EDITION\",\n    \"description\" : \"Best gamming award\",\n    \"price\" : 1400000.00,\n    \"quantity\" : 33\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8002/api/v1/products"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jun 2025 03:07:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"79"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Product with the same name or slug already exists\"\n}"},{"id":"c28cd341-1515-425c-b8bb-63dd2e59c047","name":"Failed - Invalid Price And Quantity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\" : \"GTA VI ULTIMATE EDITION\",\n    \"description\" : \"Best gamming award\",\n    \"price\" : 0,\n    \"quantity\" : 0\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8002/api/v1/products"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 13:24:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"195"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Validation error\",\n    \"errors\": [\n        {\n            \"field\": \"Price\",\n            \"rule\": \"required\",\n            \"message\": \"Price is required\"\n        },\n        {\n            \"field\": \"Quantity\",\n            \"rule\": \"required\",\n            \"message\": \"Quantity is required\"\n        }\n    ]\n}"},{"id":"1e62960b-da74-40b3-afdc-eb394caccb79","name":"Failed - Unauthorized Access","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\" : \"GTA VI ULTIMATE EDITION\",\n    \"description\" : \"Best gamming award\",\n    \"price\" : 1400000.00,\n    \"quantity\" : 33\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8002/api/v1/products"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 13:26:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"49"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Unauthorized access\"\n}"},{"id":"caa7508c-0370-4d2a-a8b8-dd7ca21db67e","name":"Failed - Invalid Name","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\" : \"\",\n    \"description\" : \"Best gamming award\",\n    \"price\" : 1400000.00,\n    \"quantity\" : 33\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8002/api/v1/products"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 13:26:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"121"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Validation error\",\n    \"errors\": [\n        {\n            \"field\": \"Name\",\n            \"rule\": \"required\",\n            \"message\": \"Name is required\"\n        }\n    ]\n}"},{"id":"0e1b5acf-c8d5-41af-bd9e-526b52afa4aa","name":"Falied - Negative Price And Quantity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\" : \"\",\n    \"description\" : \"Best gamming award\",\n    \"price\" : -5,\n    \"quantity\" : -5\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8002/api/v1/products"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 13:28:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"245"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Validation error\",\n    \"errors\": [\n        {\n            \"field\": \"Name\",\n            \"rule\": \"required\",\n            \"message\": \"Name is required\"\n        },\n        {\n            \"field\": \"Price\",\n            \"rule\": \"gt\",\n            \"message\": \"Price is invalid\"\n        },\n        {\n            \"field\": \"Quantity\",\n            \"rule\": \"gt\",\n            \"message\": \"Quantity is invalid\"\n        }\n    ]\n}"}],"_postman_id":"5c54c562-52df-4f14-84c0-8327e055dd2c"},{"name":"Search","id":"6b5eec9b-22c7-4446-bc9b-6120caca376a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"http://127.0.0.1:8002/api/v1/products","urlObject":{"path":["api","v1","products"],"host":["http://127.0.0.1:8002"],"query":[],"variable":[]}},"response":[{"id":"c33a5fed-bd09-4183-923c-4a4ddc258d2f","name":"Success","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8002/api/v1/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jun 2025 03:17:02 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"316"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"id\": \"b7887b89-3e77-46fe-a52a-f2054d441c46\",\n            \"name\": \"GTA VI ULTIMATE EDITION\",\n            \"description\": \"Best gamming award\",\n            \"price\": 1400000,\n            \"quantity\": 33\n        }\n    ],\n    \"pagination\": {\n        \"Page\": 1,\n        \"Size\": 10,\n        \"Offset\": 0,\n        \"TotalItem\": 1,\n        \"TotalPage\": 1,\n        \"HasNext\": false,\n        \"HasPrevious\": false,\n        \"NextPageURL\": \"\",\n        \"PreviousPageURL\": \"\"\n    }\n}"}],"_postman_id":"6b5eec9b-22c7-4446-bc9b-6120caca376a"},{"name":"Update","id":"fd3a0dd5-11ab-4192-9175-9849c4f76a9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\" : \"80359630-e10e-4f00-8ee7-dc1e08390d09\",\n    \"name\" : \"test\",\n    \"description\" : \"Saya ganti dari GTA menjadi test\",\n    \"price\" : 1,\n    \"quantity\" : 0\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8002/api/v1/products/:id","urlObject":{"path":["api","v1","products",":id"],"host":["http://127.0.0.1:8002"],"query":[],"variable":[{"type":"any","value":"1ec76e13-7a0d-46c4-b190-ce46b477aab6","key":"id"}]}},"response":[{"id":"485bbea3-9a9b-48bc-8da1-935212c2afaa","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\" : \"b7887b89-3e77-46fe-a52a-f2054d441c46\",\n    \"name\" : \"test\",\n    \"description\" : \"Saya ganti dari GTA menjadi test\",\n    \"price\" : 3000000000,\n    \"quantity\" : 100\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://127.0.0.1:8002/api/v1/products/:id","host":["http://127.0.0.1:8002"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"b7887b89-3e77-46fe-a52a-f2054d441c46"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jun 2025 03:32:02 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"166"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"id\": \"b7887b89-3e77-46fe-a52a-f2054d441c46\",\n        \"name\": \"test\",\n        \"description\": \"Saya ganti dari GTA menjadi test\",\n        \"price\": 3000000000,\n        \"quantity\": 100\n    }\n}"},{"id":"ff743cfa-bd59-4ed7-baaf-a255a71f86d2","name":"Failed - Invalid Price And Quantity","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\" : \"80359630-e10e-4f00-8ee7-dc1e08390d09\",\n    \"name\" : \"test\",\n    \"description\" : \"Saya ganti dari GTA menjadi test\",\n    \"price\" : -1,\n    \"quantity\" : -1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://127.0.0.1:8002/api/v1/products/:id","host":["http://127.0.0.1:8002"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"b7887b89-3e77-46fe-a52a-f2054d441c46"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 13:38:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"182"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Validation error\",\n    \"errors\": [\n        {\n            \"field\": \"Price\",\n            \"rule\": \"gt\",\n            \"message\": \"Price is invalid\"\n        },\n        {\n            \"field\": \"Quantity\",\n            \"rule\": \"gte\",\n            \"message\": \"Quantity is invalid\"\n        }\n    ]\n}"},{"id":"89d8a0bb-5e15-4623-a379-fcc1ae47fd8f","name":"Failed - Product Not Found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\" : \"80359630-e10e-4f00-8ee7-dc1e08390d09\",\n    \"name\" : \"test\",\n    \"description\" : \"Saya ganti dari GTA menjadi test\",\n    \"price\" : 1,\n    \"quantity\" : 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://127.0.0.1:8002/api/v1/products/:id","host":["http://127.0.0.1:8002"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"b7887b89-3e77-46fe-a52a-f2054d441c46"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 13:41:19 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"69"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Product not found for the given id/uuid\"\n}"}],"_postman_id":"fd3a0dd5-11ab-4192-9175-9849c4f76a9f"},{"name":"Delete","id":"92fd4387-fa3c-4e7c-985b-a25c94dc0df5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://127.0.0.1:8002/api/v1/products/delete/:id","urlObject":{"path":["api","v1","products","delete",":id"],"host":["http://127.0.0.1:8002"],"query":[],"variable":[{"type":"any","value":"80359630-e10e-4f00-8ee7-dc1e08390d09","key":"id"}]}},"response":[{"id":"347e204a-b78f-46b3-870f-fa59a5bf6a87","name":"Failed - Product not found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"http://127.0.0.1:8002/api/v1/products/delete/:id","host":["http://127.0.0.1:8002"],"path":["api","v1","products","delete",":id"],"variable":[{"key":"id","value":"b7887b89-3e77-46fe-a52a-f2054d441c46"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jun 2025 03:35:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"69"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Product not found for the given id/uuid\"\n}"},{"id":"3cc7dfee-2941-4790-9e72-95295fb50a13","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"http://127.0.0.1:8002/api/v1/products/delete/:id","host":["http://127.0.0.1:8002"],"path":["api","v1","products","delete",":id"],"variable":[{"key":"id","value":"40c158bd-1c4a-4416-baec-b0d5eaa0aec9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 13:42:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"16"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"92fd4387-fa3c-4e7c-985b-a25c94dc0df5"}],"id":"dbe29b45-935d-4bc5-adce-56c5ce9ccbd4","_postman_id":"dbe29b45-935d-4bc5-adce-56c5ce9ccbd4","description":""},{"name":"Transaction Service","item":[{"name":"Create","id":"aaf17b31-3168-4caf-ad95-28395eaaec33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"products\" : [{\n        \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n        \"price\": 1400001,\n        \"quantity\": 20\n        }] \n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8003/api/v1/transaction/buy","urlObject":{"path":["api","v1","transaction","buy"],"host":["http://127.0.0.1:8003"],"query":[],"variable":[]}},"response":[{"id":"5954a4fc-9c99-4bcc-8487-d3cd5721ac11","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"products\" : [{\n        \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n        \"price\": 1400000,\n        \"quantity\": 3\n        }] \n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8003/api/v1/transaction/buy"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 14:07:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"240"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"transaction_id\": \"3905f1df-aa43-4949-b9e9-6c6c71aa4b9c\",\n        \"snap_token\": \"76a07108-9aa3-43bc-82b5-7d4862725ca2\",\n        \"redirect_url\": \"https://app.sandbox.midtrans.com/snap/v4/redirection/76a07108-9aa3-43bc-82b5-7d4862725ca2\"\n    }\n}"},{"id":"c9106618-46ad-45c0-a40e-f7284f2ddac3","name":"Failed - Requested More Than Available","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"products\" : [{\n        \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n        \"price\": 1400000,\n        \"quantity\": 33333\n        }] \n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8003/api/v1/transaction/buy"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 14:09:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"85"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Requested product quantity is more than available stock\"\n}"},{"id":"90ca1b7d-eaaf-4090-b87f-1ac440a928cc","name":"Failed - Price Has Changed","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"products\" : [{\n        \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n        \"price\": 1400001,\n        \"quantity\": 20\n        }] \n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8003/api/v1/transaction/buy"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 15:13:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"80"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Product price has been changed, please check again\"\n}"},{"id":"e3d69641-44c6-4c05-a36d-977eb9e9d241","name":"Failed - Out Of Stock","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"products\" : [{\n        \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n        \"price\": 1400001,\n        \"quantity\": 20\n        }] \n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8003/api/v1/transaction/buy"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 15:14:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"73"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Product is out of stock, please check again\"\n}"}],"_postman_id":"aaf17b31-3168-4caf-ad95-28395eaaec33"},{"name":"Search With Detail","id":"a9282f63-3292-4ab5-a1e8-e2ea8c98b587","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"products\" : [{\n        \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n        \"price\": 1400001,\n        \"quantity\": 20\n        }] \n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8003/api/v1/transaction/detail","urlObject":{"path":["api","v1","transaction","detail"],"host":["http://127.0.0.1:8003"],"query":[],"variable":[]}},"response":[{"id":"072dbe6e-a679-428e-8de3-922116f67f6d","name":"Success","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"http://127.0.0.1:8003/api/v1/transaction/detail?page=1&limit=1","host":["http://127.0.0.1:8003"],"path":["api","v1","transaction","detail"],"query":[{"key":"page","value":"1","type":"text"},{"key":"limit","value":"1","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 22:32:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"717"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"id\": \"2e1c6a5d-6ff9-4e6b-925b-c3bb94de12a4\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"total_price\": 2800000,\n            \"transaction_status\": \"SUCCESS\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 22:09:02 WIB\",\n            \"payment_at\": \"Wed, 25 Jun 2025 22:09:23 WIB\",\n            \"update_at\": \"Wed, 25 Jun 2025 22:09:23 WIB\",\n            \"transaction_details\": [\n                {\n                    \"id\": \"69563504-7b76-4b9a-8752-b9b68403c851\",\n                    \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n                    \"quantity\": 2,\n                    \"price\": 2800000,\n                    \"created_at\": \"Wed, 25 Jun 2025 22:09:02 WIB\"\n                }\n            ]\n        }\n    ],\n    \"pagination\": {\n        \"Page\": 1,\n        \"Size\": 1,\n        \"Offset\": 0,\n        \"TotalItem\": 18,\n        \"TotalPage\": 18,\n        \"HasNext\": true,\n        \"HasPrevious\": false,\n        \"NextPageURL\": \"http://127.0.0.1:8003/api/v1/transaction/detail?page=2&size=1\",\n        \"PreviousPageURL\": \"\"\n    }\n}"}],"_postman_id":"a9282f63-3292-4ab5-a1e8-e2ea8c98b587"},{"name":"Owner Search With Detail","id":"38d7009a-d37d-4211-805a-af7ae77ea85c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8003/api/v1/transaction/owner/detail?product_id=1ec76e13-7a0d-46c4-b190-ce46b477aab6","urlObject":{"path":["api","v1","transaction","owner","detail"],"host":["http://127.0.0.1:8003"],"query":[{"key":"product_id","value":"1ec76e13-7a0d-46c4-b190-ce46b477aab6"}],"variable":[]}},"response":[{"id":"3fba5c34-17da-4868-923c-ba224ae3594a","name":"Success","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"http://127.0.0.1:8003/api/v1/transaction/owner/detail?product_id=1ec76e13-7a0d-46c4-b190-ce46b477aab6","host":["http://127.0.0.1:8003"],"path":["api","v1","transaction","owner","detail"],"query":[{"key":"product_id","value":"1ec76e13-7a0d-46c4-b190-ce46b477aab6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 23:01:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4725"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"id\": \"2e1c6a5d-6ff9-4e6b-925b-c3bb94de12a4\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"transaction_status\": \"SUCCESS\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 22:09:02 WIB\",\n            \"payment_at\": \"Wed, 25 Jun 2025 22:09:23 WIB\",\n            \"update_at\": \"Wed, 25 Jun 2025 22:09:23 WIB\",\n            \"transaction_details\": [\n                {\n                    \"id\": \"69563504-7b76-4b9a-8752-b9b68403c851\",\n                    \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n                    \"quantity\": 2,\n                    \"price\": 2800000,\n                    \"created_at\": \"Wed, 25 Jun 2025 22:09:02 WIB\"\n                }\n            ]\n        },\n        {\n            \"id\": \"d15f465a-b34c-47ee-ab13-1d495d58876e\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"transaction_status\": \"SUCCESS\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 22:02:40 WIB\",\n            \"payment_at\": \"Wed, 25 Jun 2025 22:03:03 WIB\",\n            \"update_at\": \"Wed, 25 Jun 2025 22:03:03 WIB\",\n            \"transaction_details\": [\n                {\n                    \"id\": \"caee2621-a4dc-4dc6-a2be-664887b1fa85\",\n                    \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n                    \"quantity\": 2,\n                    \"price\": 2800000,\n                    \"created_at\": \"Wed, 25 Jun 2025 22:02:40 WIB\"\n                }\n            ]\n        },\n        {\n            \"id\": \"43d7b9cd-58e9-4c62-bc83-6b4753790591\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"transaction_status\": \"SUCCESS\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 21:54:49 WIB\",\n            \"payment_at\": \"Wed, 25 Jun 2025 21:55:10 WIB\",\n            \"update_at\": \"Wed, 25 Jun 2025 21:55:10 WIB\",\n            \"transaction_details\": [\n                {\n                    \"id\": \"82138394-733e-452e-82d3-ca4066e68735\",\n                    \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n                    \"quantity\": 2,\n                    \"price\": 2800000,\n                    \"created_at\": \"Wed, 25 Jun 2025 21:54:49 WIB\"\n                }\n            ]\n        },\n        {\n            \"id\": \"4e0887c6-7b7b-467b-bca5-a6d9edc6f247\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"transaction_status\": \"SUCCESS\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 21:50:14 WIB\",\n            \"payment_at\": \"Wed, 25 Jun 2025 21:50:41 WIB\",\n            \"update_at\": \"Wed, 25 Jun 2025 21:50:41 WIB\",\n            \"transaction_details\": [\n                {\n                    \"id\": \"56eb260a-d2ca-48ff-8668-b75d07b6d0ea\",\n                    \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n                    \"quantity\": 2,\n                    \"price\": 2800000,\n                    \"created_at\": \"Wed, 25 Jun 2025 21:50:14 WIB\"\n                }\n            ]\n        },\n        {\n            \"id\": \"11664bd7-4f57-4a3e-985b-eadcc8db676b\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"transaction_status\": \"SUCCESS\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 21:40:25 WIB\",\n            \"payment_at\": \"Wed, 25 Jun 2025 21:40:54 WIB\",\n            \"update_at\": \"Wed, 25 Jun 2025 21:40:54 WIB\",\n            \"transaction_details\": [\n                {\n                    \"id\": \"578b6973-a286-4de7-bc01-1936f47f1dac\",\n                    \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n                    \"quantity\": 2,\n                    \"price\": 2800000,\n                    \"created_at\": \"Wed, 25 Jun 2025 21:40:25 WIB\"\n                }\n            ]\n        },\n        {\n            \"id\": \"04d96003-f152-42d6-b588-0bc4c50f2703\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"transaction_status\": \"PENDING\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 21:35:36 WIB\",\n            \"update_at\": \"Wed, 25 Jun 2025 21:35:36 WIB\",\n            \"transaction_details\": [\n                {\n                    \"id\": \"73d56e79-d809-424c-bea7-43007be35d69\",\n                    \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n                    \"quantity\": 2,\n                    \"price\": 2800000,\n                    \"created_at\": \"Wed, 25 Jun 2025 21:35:36 WIB\"\n                }\n            ]\n        },\n        {\n            \"id\": \"c6fde5b8-48f7-451a-825c-b4699721ccba\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"transaction_status\": \"SUCCESS\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 22:07:04 WIB\",\n            \"payment_at\": \"Wed, 25 Jun 2025 22:07:26 WIB\",\n            \"update_at\": \"Wed, 25 Jun 2025 22:07:26 WIB\",\n            \"transaction_details\": [\n                {\n                    \"id\": \"78dafd74-293e-4bee-9b0f-63c83d49142d\",\n                    \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n                    \"quantity\": 2,\n                    \"price\": 2800000,\n                    \"created_at\": \"Wed, 25 Jun 2025 22:07:04 WIB\"\n                }\n            ]\n        },\n        {\n            \"id\": \"b88762e4-a447-4159-b46c-6508cb4bb476\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"transaction_status\": \"SUCCESS\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 21:58:41 WIB\",\n            \"payment_at\": \"Wed, 25 Jun 2025 21:59:02 WIB\",\n            \"update_at\": \"Wed, 25 Jun 2025 21:59:02 WIB\",\n            \"transaction_details\": [\n                {\n                    \"id\": \"2841f5d0-f4da-4bb3-a4df-0d30b65148f5\",\n                    \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n                    \"quantity\": 2,\n                    \"price\": 2800000,\n                    \"created_at\": \"Wed, 25 Jun 2025 21:58:41 WIB\"\n                }\n            ]\n        },\n        {\n            \"id\": \"4ddebeb4-e281-4bc0-9588-d6c8eed64e82\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"transaction_status\": \"PENDING\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 21:47:15 WIB\",\n            \"update_at\": \"Wed, 25 Jun 2025 21:47:15 WIB\",\n            \"transaction_details\": [\n                {\n                    \"id\": \"713b2b6c-1383-43eb-847e-bbf04c8e6979\",\n                    \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n                    \"quantity\": 2,\n                    \"price\": 2800000,\n                    \"created_at\": \"Wed, 25 Jun 2025 21:47:15 WIB\"\n                }\n            ]\n        },\n        {\n            \"id\": \"08ddb12f-84bc-42c9-bfe6-27a128a4b163\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"transaction_status\": \"SUCCESS\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 21:38:16 WIB\",\n            \"payment_at\": \"Wed, 25 Jun 2025 21:38:46 WIB\",\n            \"update_at\": \"Wed, 25 Jun 2025 21:38:46 WIB\",\n            \"transaction_details\": [\n                {\n                    \"id\": \"c1dc4f47-8b45-46a5-b5e0-c110bb039e5a\",\n                    \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n                    \"quantity\": 2,\n                    \"price\": 2800000,\n                    \"created_at\": \"Wed, 25 Jun 2025 21:38:16 WIB\"\n                }\n            ]\n        }\n    ],\n    \"pagination\": {\n        \"Page\": 1,\n        \"Size\": 10,\n        \"Offset\": 0,\n        \"TotalItem\": 18,\n        \"TotalPage\": 2,\n        \"HasNext\": true,\n        \"HasPrevious\": false,\n        \"NextPageURL\": \"http://127.0.0.1:8003/api/v1/transaction/owner/detail?page=2&size=10\",\n        \"PreviousPageURL\": \"\"\n    }\n}"}],"_postman_id":"38d7009a-d37d-4211-805a-af7ae77ea85c"},{"name":"Search","id":"dfdd3a30-bc35-4f7b-af95-d0183bb738c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"products\" : [{\n        \"product_id\": \"1ec76e13-7a0d-46c4-b190-ce46b477aab6\",\n        \"price\": 1400001,\n        \"quantity\": 20\n        }] \n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8003/api/v1/transaction","urlObject":{"path":["api","v1","transaction"],"host":["http://127.0.0.1:8003"],"query":[],"variable":[]}},"response":[{"id":"15eb943e-e58d-49b4-9c53-327268166223","name":"Success","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8003/api/v1/transaction"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jun 2025 21:50:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"3336"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"id\": \"4ddebeb4-e281-4bc0-9588-d6c8eed64e82\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"total_price\": 2800000,\n            \"transaction_status\": \"PENDING\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 21:47:15 WIB\",\n            \"payment_at\": \"Mon, 01 Jan 0001 00:00:00 UTC\",\n            \"update_at\": \"Wed, 25 Jun 2025 21:47:15 WIB\",\n            \"transaction_details\": null\n        },\n        {\n            \"id\": \"3905f1df-aa43-4949-b9e9-6c6c71aa4b9c\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"total_price\": 4200000,\n            \"transaction_status\": \"SUCCESS\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 21:06:59 WIB\",\n            \"payment_at\": \"Wed, 25 Jun 2025 21:08:02 WIB\",\n            \"update_at\": \"Wed, 25 Jun 2025 21:08:02 WIB\",\n            \"transaction_details\": null\n        },\n        {\n            \"id\": \"1ab167c2-8540-4f79-aaab-259b7025b705\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"total_price\": 28000000,\n            \"transaction_status\": \"EXPIRED\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 21:11:02 WIB\",\n            \"payment_at\": \"Mon, 01 Jan 0001 00:00:00 UTC\",\n            \"update_at\": \"Wed, 25 Jun 2025 21:13:07 WIB\",\n            \"transaction_details\": null\n        },\n        {\n            \"id\": \"4e0887c6-7b7b-467b-bca5-a6d9edc6f247\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"total_price\": 2800000,\n            \"transaction_status\": \"SUCCESS\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 21:50:14 WIB\",\n            \"payment_at\": \"Wed, 25 Jun 2025 21:50:41 WIB\",\n            \"update_at\": \"Wed, 25 Jun 2025 21:50:41 WIB\",\n            \"transaction_details\": null\n        },\n        {\n            \"id\": \"447f5896-447d-49d7-80f7-fa77c98801bc\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"total_price\": 28000000,\n            \"transaction_status\": \"EXPIRED\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 21:15:45 WIB\",\n            \"payment_at\": \"Mon, 01 Jan 0001 00:00:00 UTC\",\n            \"update_at\": \"Wed, 25 Jun 2025 21:17:48 WIB\",\n            \"transaction_details\": null\n        },\n        {\n            \"id\": \"43d7b9cd-58e9-4c62-bc83-6b4753790591\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"total_price\": 2800000,\n            \"transaction_status\": \"SUCCESS\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 21:54:49 WIB\",\n            \"payment_at\": \"Wed, 25 Jun 2025 21:55:10 WIB\",\n            \"update_at\": \"Wed, 25 Jun 2025 21:55:10 WIB\",\n            \"transaction_details\": null\n        },\n        {\n            \"id\": \"d57b8a4a-3af8-407e-a0d6-82d4a7d39142\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"total_price\": 28000000,\n            \"transaction_status\": \"EXPIRED\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 21:19:09 WIB\",\n            \"payment_at\": \"Mon, 01 Jan 0001 00:00:00 UTC\",\n            \"update_at\": \"Wed, 25 Jun 2025 21:21:18 WIB\",\n            \"transaction_details\": null\n        },\n        {\n            \"id\": \"b88762e4-a447-4159-b46c-6508cb4bb476\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"total_price\": 2800000,\n            \"transaction_status\": \"SUCCESS\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 21:58:41 WIB\",\n            \"payment_at\": \"Wed, 25 Jun 2025 21:59:02 WIB\",\n            \"update_at\": \"Wed, 25 Jun 2025 21:59:02 WIB\",\n            \"transaction_details\": null\n        },\n        {\n            \"id\": \"222c8bd1-78b7-4db5-bf4f-fe3c134970d2\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"total_price\": 28000000,\n            \"transaction_status\": \"EXPIRED\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 21:22:09 WIB\",\n            \"payment_at\": \"Mon, 01 Jan 0001 00:00:00 UTC\",\n            \"update_at\": \"Wed, 25 Jun 2025 21:24:13 WIB\",\n            \"transaction_details\": null\n        },\n        {\n            \"id\": \"fe6389db-c476-4a02-93f9-7908f9254468\",\n            \"user_id\": \"d41155c7-ff05-46be-9ec4-e9bfd42ddd7a\",\n            \"total_price\": 2800000,\n            \"transaction_status\": \"EXPIRED\",\n            \"checkout_at\": \"Wed, 25 Jun 2025 21:31:16 WIB\",\n            \"payment_at\": \"Mon, 01 Jan 0001 00:00:00 UTC\",\n            \"update_at\": \"Wed, 25 Jun 2025 21:31:51 WIB\",\n            \"transaction_details\": null\n        }\n    ],\n    \"pagination\": {\n        \"Page\": 1,\n        \"Size\": 10,\n        \"Offset\": 0,\n        \"TotalItem\": 18,\n        \"TotalPage\": 2,\n        \"HasNext\": true,\n        \"HasPrevious\": false,\n        \"NextPageURL\": \"http://127.0.0.1:8003/api/v1/transaction?page=2&size=10\",\n        \"PreviousPageURL\": \"\"\n    }\n}"}],"_postman_id":"dfdd3a30-bc35-4f7b-af95-d0183bb738c5"}],"id":"f3713d0a-88ff-4c1a-a8ec-e000b9721054","_postman_id":"f3713d0a-88ff-4c1a-a8ec-e000b9721054","description":""}],"event":[{"listen":"prerequest","script":{"id":"7448a324-7f74-4551-a1b1-9d8df0e9ad40","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"d7dc0c50-d27f-42ec-9d15-ade4fb7fe60a","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"user_svc_url","value":"http://127.0.0.1:8001","type":"default"},{"key":"user_token","value":"","type":"default"},{"key":"product_svc_url","value":"http://127.0.0.1:8002","type":"default"},{"key":"transaction_svc_url","value":"http://127.0.0.1:8003","type":"default"}]}