{"info":{"_postman_id":"332bc0bc-ed63-4cb5-ab7b-44281500651b","name":"Mayar Headless API","description":"<html><head></head><body><p><strong>Get Started</strong></p>\n<p>For starting using Mayar Headless API, you need account at <a href=\"https://mayar.id.\">https://mayar.id.</a> if you have an account, you can create API KEY from <a href=\"https://web.mayar.id/api-keys\">https://web.mayar.id/api-keys</a>. Please dont share your API KEY</p>\n<p>We use Basic Auth to Authorization access to our API. it's simple you just set your API KEY for Authorization Barrier on your request Header. For for example please see our Endpoint bellow.</p>\n<p>Please note that any changes to your domain or subdomain require you to create a new API KEY so that the link in the response you receive will also be updated.</p>\n<p><strong>SANDBOX</strong></p>\n<p>For testing purpose, please use <a href=\"https://web.mayar.club/\">https://web.mayar.club/</a> you can login or register first, after that you can create API KEY from <a href=\"https://web.mayar.id/api-keys\">https://web.mayar.club/api-keys</a>.</p>\n<p><strong>STATUS CODE</strong></p>\n<p>Every request on our API has a response. Every response has satus code. You can know what happen with your reqeust with see resposne status code .</p>\n<p>200 - Your request Success</p>\n<p>400 - Bad request, your request in complate or you need add required data</p>\n<p>404 - Endpoint or Product Dont exist.</p>\n<p>401 - You dont have Authorization for access API</p>\n<p>429 - Your limit reached</p>\n<p>500 - Error</p>\n<p><strong>API Base Url</strong></p>\n<p><strong>Sanbox</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://api.mayar.club/hl/v1\n\n</code></pre><p><strong>Production</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://api.mayar.id/hl/v1\n\n</code></pre><p><strong>Rate Limit</strong></p>\n<p>We use rate limit to ensure our API is fast and fair use to all customer. Our Rate Limit at 20 request/minutes.</p>\n<p>if you need help or feed back please feel free contact us at <a href=\"https://mailto:info@mayar.id\">info@mayar.id</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"25084670","collectionId":"332bc0bc-ed63-4cb5-ab7b-44281500651b","publishedId":"2s8Z6x1sr8","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-12-27T02:54:45.000Z"},"item":[{"name":"Product","item":[{"name":"Product Page","id":"6ee7dd71-9544-40b3-a7ed-b13a7a7f0f42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"url":"https://api.mayar.id/hl/v1/product?page=1&pageSize=10","description":"<p>List all product. example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"hasMore\": true,\n    \"pageCount\": 23,\n    \"pageSize\": 10,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"id\": \"00f78890-dda0-4e91-b898-820ee1d05292\",\n            \"amount\": 123333,\n            \"category\": null,\n            \"createdAt\": 1667206763716,\n            \"description\": \"dfsafadfasdfa\\n\",\n            \"link\": \"testing-88624\",\n            \"type\": \"podcast\",\n            \"status\": \"active\",\n            \"name\": \"Testing\",\n            \"limit\": null,\n            \"redirectUrl\": null,\n            \"event\": null,\n            \"order\": null,\n            \"coverImageId\": null,\n            \"multipleImageId\": null,\n            \"coverImage\": null,\n            \"multipleImage\": null\n        },\n        {\n            \"id\": \"014ffc12-dead-417e-a50b-d93513a71c6b\",\n            \"amount\": 15000,\n            \"category\": \"Handphone &amp; Aksesoris\",\n            \"createdAt\": 1626156636139,\n            \"description\": \"Barang bagus\",\n            \"link\": \"tes-berat-kedua\",\n            \"type\": \"physical_product\",\n            \"status\": \"active\",\n            \"name\": \"Tes Berat Kedua\",\n            \"limit\": null,\n            \"redirectUrl\": \"\",\n            \"event\": null,\n            \"order\": {\n                \"id\": \"c58d23ef-86d5-486a-91a6-0e8d0a374812\",\n                \"variant\": null,\n                \"length\": 20,\n                \"width\": 20,\n                \"weight\": 1000\n            },\n            \"coverImageId\": null,\n            \"multipleImageId\": \"b8df5f66-032f-4bb0-9cc8-2ebe09a2a101\",\n            \"coverImage\": null,\n            \"multipleImage\": [\n                {\n                    \"id\": \"921166f9-5f68-4987-8de6-95db1ceca824\",\n                    \"fileType\": \"jpeg\",\n                    \"createdAt\": 1626667831468,\n                    \"updatedAt\": 1626667831469,\n                    \"url\": \"https://media.mayar.club/images/921166f9-5f68-4987-8de6-95db1ceca824.jpeg\"\n                },\n                {\n                    \"id\": \"974e24f7-3568-4ed9-a67c-847423e123e5\",\n                    \"fileType\": \"jpeg\",\n                    \"createdAt\": 1626667837538,\n                    \"updatedAt\": 1626667837538,\n                    \"url\": \"https://media.mayar.club/images/974e24f7-3568-4ed9-a67c-847423e123e5.jpeg\"\n                }\n            ]\n        },\n        {\n            \"id\": \"04a8ace2-9034-431a-a71f-0ff00c3d8edf\",\n            \"amount\": null,\n            \"category\": \"Bencana Alam\",\n            \"createdAt\": 1634873389644,\n            \"description\": \"You can store objects in relational tables as column objects or in object tables as row objects. Those objects that have meaning outside of the relational database they reside in, should be made referenceable as row objects in an object table.\\n\",\n            \"link\": \"bantu-bencana-xxx\",\n            \"type\": \"fundraising\",\n            \"status\": \"active\",\n            \"name\": \"bantu bencana xxx\",\n            \"limit\": null,\n            \"redirectUrl\": \"\",\n            \"event\": null,\n            \"order\": null,\n            \"coverImageId\": \"a35c0f83-9ade-4c8b-814c-ea2011ceb78b\",\n            \"multipleImageId\": null,\n            \"multipleImage\": null,\n            \"coverImage\": {\n                \"id\": \"a35c0f83-9ade-4c8b-814c-ea2011ceb78b\",\n                \"fileType\": \"jpeg\",\n                \"url\": \"https://media.mayar.club/images/a35c0f83-9ade-4c8b-814c-ea2011ceb78b.jpeg\"\n            }\n        },\n        {\n            \"id\": \"05251d1a-ef02-46f9-82f4-b33c0da0d58d\",\n            \"amount\": 15000,\n            \"category\": \"Komputer &amp; Aksesoris\",\n            \"createdAt\": 1624869009750,\n            \"description\": \"Deskjhj\",\n            \"link\": \"baru\",\n            \"type\": \"physical_product\",\n            \"status\": \"active\",\n            \"name\": \"Baru\",\n            \"limit\": null,\n            \"redirectUrl\": null,\n            \"event\": null,\n            \"order\": {\n                \"id\": \"76110f0d-d3bc-4c73-8640-e4153a542244\",\n                \"variant\": null,\n                \"length\": 1,\n                \"width\": 1,\n                \"weight\": 500\n            },\n            \"coverImageId\": null,\n            \"multipleImageId\": null,\n            \"coverImage\": null,\n            \"multipleImage\": null\n        },\n        {\n            \"id\": \"052ed7bd-0190-47cb-99c5-92ef9161ba9d\",\n            \"amount\": 150000,\n            \"category\": null,\n            \"createdAt\": 1667206154793,\n            \"description\": \"dfsasdfasdfa\\n\",\n            \"link\": \"testing-35797\",\n            \"type\": \"podcast\",\n            \"status\": \"active\",\n            \"name\": \"Testing\",\n            \"limit\": null,\n            \"redirectUrl\": null,\n            \"event\": null,\n            \"order\": null,\n            \"coverImageId\": null,\n            \"multipleImageId\": null,\n            \"coverImage\": null,\n            \"multipleImage\": null\n        },\n        {\n            \"id\": \"058247ea-3b61-4814-ac0d-905dcfc08020\",\n            \"amount\": 0,\n            \"category\": null,\n            \"createdAt\": 1665141706206,\n            \"description\": \"asdasd\\n\",\n            \"link\": \"isbn-produk-84953\",\n            \"type\": \"audiobook\",\n            \"status\": \"active\",\n            \"name\": \"ISBN PRODUK\",\n            \"limit\": null,\n            \"redirectUrl\": null,\n            \"event\": null,\n            \"order\": null,\n            \"coverImageId\": null,\n            \"multipleImageId\": null,\n            \"coverImage\": null,\n            \"multipleImage\": null\n        },\n        {\n            \"id\": \"0b09684b-a3aa-41e1-95a9-005fbbeb27e3\",\n            \"amount\": 0,\n            \"category\": null,\n            \"createdAt\": 1654145663072,\n            \"description\": \"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.\\n\",\n            \"link\": \"baca-buku-audio-xxx\",\n            \"type\": \"audiobook\",\n            \"status\": \"active\",\n            \"name\": \"Baca Buku Audio XXX\",\n            \"limit\": null,\n            \"redirectUrl\": \"\",\n            \"event\": null,\n            \"order\": null,\n            \"coverImageId\": \"d41b22fb-594b-45b1-ae35-264086d0b82d\",\n            \"multipleImageId\": null,\n            \"multipleImage\": null,\n            \"coverImage\": {\n                \"id\": \"d41b22fb-594b-45b1-ae35-264086d0b82d\",\n                \"fileType\": \"jpeg\",\n                \"url\": \"https://media.mayar.club/images/d41b22fb-594b-45b1-ae35-264086d0b82d.jpeg\"\n            }\n        },\n        {\n            \"id\": \"11261cbb-9a39-4eae-a00f-572ea4129e88\",\n            \"amount\": 32111,\n            \"category\": null,\n            \"createdAt\": 1621412274309,\n            \"description\": \"sfssf\",\n            \"link\": \"buku-sukses-banget-94688\",\n            \"type\": \"digital_product\",\n            \"status\": \"active\",\n            \"name\": \"buku sukses\",\n            \"limit\": null,\n            \"redirectUrl\": \"\",\n            \"event\": null,\n            \"order\": null,\n            \"coverImageId\": null,\n            \"multipleImageId\": null,\n            \"coverImage\": null,\n            \"multipleImage\": null\n        },\n        {\n            \"id\": \"1648290e-9563-4d95-89b3-01f538e20675\",\n            \"amount\": 70000,\n            \"category\": null,\n            \"createdAt\": 1621345709655,\n            \"description\": \"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.\",\n            \"link\": \"webinar-biasa-biasa-aja\",\n            \"type\": \"webinar\",\n            \"status\": \"active\",\n            \"name\": \"webinar biasa banget\",\n            \"limit\": null,\n            \"redirectUrl\": \"\",\n            \"event\": null,\n            \"order\": null,\n            \"coverImageId\": \"8f4a17d0-27f2-4568-91e6-538e29c7f4b3\",\n            \"multipleImageId\": null,\n            \"multipleImage\": null,\n            \"coverImage\": {\n                \"id\": \"8f4a17d0-27f2-4568-91e6-538e29c7f4b3\",\n                \"fileType\": \"png\",\n                \"url\": \"https://media.mayar.club/images/8f4a17d0-27f2-4568-91e6-538e29c7f4b3.png\"\n            }\n        },\n        {\n            \"id\": \"173bd49d-76d9-4ad6-bfcc-f90ab6f6fdaa\",\n            \"amount\": 99000,\n            \"category\": null,\n            \"createdAt\": 1665107470327,\n            \"description\": \"dicoba lagi ajaa\\n\",\n            \"link\": \"produk-dengan-author\",\n            \"type\": \"ebook\",\n            \"status\": \"active\",\n            \"name\": \"produk dengan author\",\n            \"limit\": null,\n            \"redirectUrl\": null,\n            \"event\": null,\n            \"order\": null,\n            \"coverImageId\": null,\n            \"multipleImageId\": null,\n            \"coverImage\": null,\n            \"multipleImage\": null\n        }\n    ]\n}\n\n</code></pre>\n","urlObject":{"path":["product"],"host":["https://api.mayar.id/hl/v1"],"query":[{"key":"page","value":"1"},{"key":"pageSize","value":"10"}],"variable":[]}},"response":[],"_postman_id":"6ee7dd71-9544-40b3-a7ed-b13a7a7f0f42"},{"name":"Product Page with Type Filter","id":"6569ed16-54c8-49ad-8e9b-f24e0bddcae8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"url":"https://api.mayar.id/hl/v1/product/type/event?page=1&pageSize=100","description":"<p>List all product with filter</p>\n<p>type:</p>\n<ul>\n<li><p>generic_link</p>\n</li>\n<li><p>physical_product</p>\n</li>\n<li><p>event</p>\n</li>\n<li><p>webinar</p>\n</li>\n<li><p>digital_product</p>\n</li>\n<li><p>coaching</p>\n</li>\n<li><p>cohort_based</p>\n</li>\n<li><p>fundraising</p>\n</li>\n<li><p>ebook</p>\n</li>\n<li><p>podcast</p>\n</li>\n<li><p>audiobook</p>\n</li>\n<li><p>membership</p>\n</li>\n</ul>\n<p>status:</p>\n<ul>\n<li>active</li>\n<li>closed</li>\n</ul>\n<p>response example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"hasMore\": false,\n    \"pageCount\": 1,\n    \"pageSize\": 10,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"id\": \"1b1d1b49-9cd0-40b8-9e47-ff54d32d151e\",\n            \"amount\": null,\n            \"category\": null,\n            \"createdAt\": 1630589811972,\n            \"description\": \"Tes\",\n            \"link\": \"full-belly-farms\",\n            \"type\": \"event\",\n            \"status\": \"active\",\n            \"name\": \"Full Belly Farm\",\n            \"limit\": null,\n            \"redirectUrl\": \"\",\n            \"event\": {\n                \"id\": \"8eb48848-41f4-4bc7-aaa7-4e013ac03191\",\n                \"event\": null,\n                \"description\": null,\n                \"ticketEvent\": [\n                    {\n                        \"id\": \"52cc5969-533d-45b0-b073-b25047a943e5\",\n                        \"amount\": 150000,\n                        \"createdAt\": 1673502938046,\n                        \"name\": \"baru\",\n                        \"quantity\": 100\n                    },\n                    {\n                        \"id\": \"7a48fc0d-060c-4330-aab4-d4789e6a1ff8\",\n                        \"amount\": 20000,\n                        \"createdAt\": 1633913519177,\n                        \"name\": \"Whatever\",\n                        \"quantity\": 5\n                    }\n                ]\n            },\n            \"order\": null,\n            \"coverImageId\": null,\n            \"multipleImageId\": null,\n            \"coverImage\": null,\n            \"multipleImage\": null\n        },\n        {\n            \"id\": \"4572e40c-f960-4d8a-bc19-b418a2e38075\",\n            \"amount\": null,\n            \"category\": null,\n            \"createdAt\": 1675929435029,\n            \"description\": \"Meetup bersama lord ronal frank disini kamu bisa mencari dan berkumpul bersama\\n\",\n            \"link\": \"meetup-bersama-lord-ronal-frank\",\n            \"type\": \"event\",\n            \"status\": \"active\",\n            \"name\": \"Meetup bersama lord ronal frank\",\n            \"limit\": null,\n            \"redirectUrl\": \"\",\n            \"event\": {\n                \"id\": \"42030a57-8e3f-4264-899b-7ef81990deac\",\n                \"event\": null,\n                \"description\": null,\n                \"ticketEvent\": []\n            },\n            \"order\": null,\n            \"coverImageId\": null,\n            \"multipleImageId\": null,\n            \"coverImage\": null,\n            \"multipleImage\": null\n        },\n        {\n            \"id\": \"4d3536b4-77a3-4d12-9b65-0c1baecf0e91\",\n            \"amount\": null,\n            \"category\": null,\n            \"createdAt\": 1630588310249,\n            \"description\": \"lKJAKLJDLK\",\n            \"link\": \"link-pertamax\",\n            \"type\": \"event\",\n            \"status\": \"active\",\n            \"name\": \"Link Pertamax\",\n            \"limit\": null,\n            \"redirectUrl\": \"\",\n            \"event\": {\n                \"id\": \"ba999b96-13c6-47cb-85a8-5d1665887f5e\",\n                \"event\": null,\n                \"description\": null,\n                \"ticketEvent\": [\n                    {\n                        \"id\": \"42c503f6-08f4-425c-9d59-4474f8f9890e\",\n                        \"amount\": 200000,\n                        \"createdAt\": 1633922998707,\n                        \"name\": \"Test Lagi\",\n                        \"quantity\": 2\n                    }\n                ]\n            },\n            \"order\": null,\n            \"coverImageId\": null,\n            \"multipleImageId\": null,\n            \"coverImage\": null,\n            \"multipleImage\": null\n        },\n        {\n            \"id\": \"6d8cc83e-423d-4083-8db7-2fe8c7ed41b8\",\n            \"amount\": null,\n            \"category\": null,\n            \"createdAt\": 1631322299456,\n            \"description\": \"Dafa\",\n            \"link\": \"full-belly-farms-65571\",\n            \"type\": \"event\",\n            \"status\": \"active\",\n            \"name\": \"full-belly-farmer\",\n            \"limit\": null,\n            \"redirectUrl\": \"\",\n            \"event\": {\n                \"id\": \"e6ec8430-cfdb-438b-bfa2-0f2d6b57d43d\",\n                \"event\": null,\n                \"description\": null,\n                \"ticketEvent\": []\n            },\n            \"order\": null,\n            \"coverImageId\": null,\n            \"multipleImageId\": null,\n            \"coverImage\": null,\n            \"multipleImage\": null\n        },\n        {\n            \"id\": \"b440773d-5083-408d-b4f0-4772bcefe7ef\",\n            \"amount\": null,\n            \"category\": null,\n            \"createdAt\": 1631356817278,\n            \"description\": \"Barcelona vs PSG\",\n            \"link\": \"watch-football\",\n            \"type\": \"event\",\n            \"status\": \"active\",\n            \"name\": \"Watch Football\",\n            \"limit\": null,\n            \"redirectUrl\": \"\",\n            \"event\": {\n                \"id\": \"36c8d0af-b782-40ef-9a9f-2a624c86f4aa\",\n                \"event\": null,\n                \"description\": null,\n                \"ticketEvent\": [\n                    {\n                        \"id\": \"1ab2d133-3d1e-4742-ad64-56796e84015d\",\n                        \"amount\": 70000,\n                        \"createdAt\": 1634874835533,\n                        \"name\": \"Full Belly Farms\",\n                        \"quantity\": 6\n                    }\n                ]\n            },\n            \"order\": null,\n            \"coverImageId\": \"de6e9db6-f040-4ec5-869f-35225e2d2c34\",\n            \"multipleImageId\": null,\n            \"multipleImage\": null,\n            \"coverImage\": {\n                \"id\": \"de6e9db6-f040-4ec5-869f-35225e2d2c34\",\n                \"fileType\": \"png\",\n                \"url\": \"https://media.mayar.club/images/de6e9db6-f040-4ec5-869f-35225e2d2c34.png\"\n            }\n        },\n        {\n            \"id\": \"f444ca02-33a8-4cde-ade4-ae135feeab09\",\n            \"amount\": null,\n            \"category\": null,\n            \"createdAt\": 1671677466720,\n            \"description\": \"Tes Tes Tes\\n\",\n            \"link\": \"event-offline-63501\",\n            \"type\": \"event\",\n            \"status\": \"active\",\n            \"name\": \"Event Offline\",\n            \"limit\": null,\n            \"redirectUrl\": \"\",\n            \"event\": {\n                \"id\": \"3eaaffec-a297-4dde-9e9e-3f777be0d038\",\n                \"event\": null,\n                \"description\": null,\n                \"ticketEvent\": [\n                    {\n                        \"id\": \"9b418337-93dd-4698-872e-8b4890078507\",\n                        \"amount\": 100000,\n                        \"createdAt\": 1671677521217,\n                        \"name\": \"Miskin\",\n                        \"quantity\": 500\n                    },\n                    {\n                        \"id\": \"b5d5249c-4aaf-4acb-9df3-da5869e7851c\",\n                        \"amount\": 1000000,\n                        \"createdAt\": 1671677493976,\n                        \"name\": \"VVIP\",\n                        \"quantity\": 10000\n                    },\n                    {\n                        \"id\": \"f40367b4-d218-4ee3-be19-f738ce48b8f1\",\n                        \"amount\": 50000,\n                        \"createdAt\": 1674113965596,\n                        \"name\": \"Sultan\",\n                        \"quantity\": 5\n                    }\n                ]\n            },\n            \"order\": null,\n            \"coverImageId\": \"cbce2870-136a-496c-8965-5c3edfff1d4f\",\n            \"multipleImageId\": null,\n            \"multipleImage\": null,\n            \"coverImage\": {\n                \"id\": \"cbce2870-136a-496c-8965-5c3edfff1d4f\",\n                \"fileType\": \"jpeg\",\n                \"url\": \"https://media.mayar.club/images/cbce2870-136a-496c-8965-5c3edfff1d4f.jpeg\"\n            }\n        }\n    ]\n}\n\n</code></pre>\n","urlObject":{"path":["product","type","event"],"host":["https://api.mayar.id/hl/v1"],"query":[{"key":"page","value":"1"},{"key":"pageSize","value":"100"}],"variable":[]}},"response":[],"_postman_id":"6569ed16-54c8-49ad-8e9b-f24e0bddcae8"},{"name":"Search Product ","id":"db85730f-0750-4cdd-b224-d2301ce6fab7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"url":"https://api.mayar.id/hl/v1/product?search=Belly","description":"<p>Search product</p>\n<p>response example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"hasMore\": false,\n    \"pageCount\": 0,\n    \"pageSize\": 10,\n    \"page\": 1,\n    \"data\": []\n}\n\n</code></pre>\n","urlObject":{"path":["product"],"host":["https://api.mayar.id/hl/v1"],"query":[{"key":"search","value":"Belly"}],"variable":[]}},"response":[],"_postman_id":"db85730f-0750-4cdd-b224-d2301ce6fab7"},{"name":"Detail Product","id":"1cd30126-6024-47ba-aafc-3d3153c37d99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"url":"https://api.mayar.id/hl/v1/product/00a1cd6a-0a30-4746-bd30-06d2f619041e","description":"<p>Detail product</p>\n<p>Response Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"data\": {\n        \"id\": \"00a1cd6a-0a30-4746-bd30-06d2f619041e\",\n        \"link\": \"microsoft\",\n        \"name\": \"Microsoft\",\n        \"category\": null,\n        \"limit\": 10,\n        \"type\": \"webinar\",\n        \"userId\": \"463a9515-95d7-4bbb-945c-b1285019c019\",\n        \"event\": null,\n        \"order\": null,\n        \"qty\": null,\n        \"amount\": 20000,\n        \"status\": \"closed\",\n        \"description\": \"guide for the beginner\\n\",\n        \"coverImageId\": \"d021692d-6616-4ff2-b412-62b5db68945a\",\n        \"multipleImageId\": null,\n        \"multipleImage\": null,\n        \"coverImage\": {\n            \"id\": \"d021692d-6616-4ff2-b412-62b5db68945a\",\n            \"fileType\": \"png\",\n            \"url\": \"https://media.mayar.club/images/d021692d-6616-4ff2-b412-62b5db68945a.png\"\n        }\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["product","00a1cd6a-0a30-4746-bd30-06d2f619041e"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"1cd30126-6024-47ba-aafc-3d3153c37d99"},{"name":"Close Product","id":"db04ee82-6c31-48cb-afbd-087b75f20c59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"url":"https://api.mayar.id/hl/v1/product/close/00a1cd6a-0a30-4746-bd30-06d2f619041e","description":"<p>Close product</p>\n<p>Response Success Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"messages\": \"success\"\n}\n\n</code></pre>\n<p>Response Failed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"messages\": \"failed\"\n}\n\n</code></pre>\n","urlObject":{"path":["product","close","00a1cd6a-0a30-4746-bd30-06d2f619041e"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"db04ee82-6c31-48cb-afbd-087b75f20c59"},{"name":"Re-open Product","id":"44a0a04d-9a72-43fc-87ed-90974bf0e143","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"url":"https://api.mayar.id/hl/v1/product/open/00a1cd6a-0a30-4746-bd30-06d2f619041e","description":"<p>Re-open product</p>\n<p>Response success:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"messages\": \"success\"\n}\n\n</code></pre>\n<p>Response failed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"messages\": \"failed\"\n}\n\n</code></pre>\n","urlObject":{"path":["product","open","00a1cd6a-0a30-4746-bd30-06d2f619041e"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"44a0a04d-9a72-43fc-87ed-90974bf0e143"}],"id":"084c265f-92d6-457a-a530-c2037d83b0ae","description":"<p>Endpoint where you can get or create your products</p>\n","_postman_id":"084c265f-92d6-457a-a530-c2037d83b0ae"},{"name":"Invoice","item":[{"name":"Create Invoice","id":"e60b7cf9-786d-489a-bb31-5d8fa6ed8c15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"{\n        \"name\": \"andre\",\n        \"email\": \"alikusnadie@gmail.com\",\n        \"mobile\": \"085797522261\",\n        \"redirectUrl\": \"https://kelaskami.com/nexst23\",\n        \"description\": \"pembelian es kopis usu botol\",\n        \"expiredAt\": \"2024-02-29T09:41:09.401Z\",\n        \"items\":[{\n            \"quantity\": 2,\n            \"rate\": 55000,\n            \"description\": \"es kopi susu botol\"\n        }]\n    }\n","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/invoice/create","description":"<p>Create Invoice</p>\n<p>success response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"data\": {\n        \"id\": \"bdf9d972-811f-4472-8fdc-2baae04b5148\",\n        \"transactionId\": \"bdf9d972-811f-4472-8fdc-2baae04b5148\",\n        \"link\": \"https://donasi.sekuts.com/invoices/null\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["invoice","create"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e60b7cf9-786d-489a-bb31-5d8fa6ed8c15"},{"name":"Edit Invoice","id":"edc11f99-e3ab-4969-9fd9-96f1eea1dc37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"{\n        \"id\": \"bdf9d972-811f-4472-8fdc-2baae04b5148\",\n        \"redirectUrl\": \"https://kelaskami.com/nexst23\",\n        \"description\": \"kemana ini menjadi a\",\n        \"items\":[{\n            \"quantity\": 2,\n            \"rate\": 55000,\n            \"description\": \"ayam jago\"\n\n\n        }]\n    }\n","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/invoice/edit","description":"<p>Edit Invoice</p>\n<p>Success Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"data\": {\n        \"id\": \"85bedd25-b3c8-4804-81b3-286d44a829a6\",\n        \"transactionId\": \"a557160b-a39d-492d-becc-5f0ec66088c7\",\n        \"link\": \"https://cacana.mayar.link/invoices/qvrko39k2z\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["invoice","edit"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"edc11f99-e3ab-4969-9fd9-96f1eea1dc37"},{"name":"Index Invoice","id":"06671917-8827-446e-8405-b148d811207d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/invoice","description":"<p>List Invoice</p>\n<p>Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"hasMore\": false,\n    \"pageCount\": 1,\n    \"pageSize\": 10,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"id\": \"81d366ef-35fb-4784-bf2e-68ae46e6cc9a\",\n            \"amount\": 155000,\n            \"category\": null,\n            \"createdAt\": 1676040709432,\n            \"description\": \"kemana ini menjadi a\",\n            \"link\": \"9iz7yn93ui\",\n            \"type\": \"invoice\",\n            \"status\": \"unpaid\",\n            \"name\": \"INVOICE\",\n            \"redirectUrl\": \"https://kelaskami.com/nexst23\",\n            \"customerId\": \"75eb87fe-bd90-498c-b072-828204c22636\",\n            \"transactions\": [],\n            \"customer\": {\n                \"id\": \"75eb87fe-bd90-498c-b072-828204c22636\",\n                \"email\": \"alikusnadie@gmail.com\",\n                \"mobile\": \"085797522261\",\n                \"name\": \"andre\"\n            }\n        }\n    ]\n}\n\n</code></pre>\n","urlObject":{"path":["invoice"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"06671917-8827-446e-8405-b148d811207d"},{"name":"Sort/filter Invoice","id":"fb795bbd-2d29-4420-acfe-b78d0573fc35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/invoice?sort=closed","description":"<p>Sort / Filter Invoice</p>\n<p>status:</p>\n<ul>\n<li>active</li>\n<li>paid</li>\n<li>closed</li>\n</ul>\n<p>Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"hasMore\": false,\n    \"pageCount\": 1,\n    \"pageSize\": 10,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"id\": \"81d366ef-35fb-4784-bf2e-68ae46e6cc9a\",\n            \"amount\": 155000,\n            \"category\": null,\n            \"createdAt\": 1676040709432,\n            \"description\": \"contoh invoice description\",\n            \"link\": \"9iz7yn93ui\",\n            \"type\": \"invoice\",\n            \"status\": \"unpaid\",\n            \"name\": \"INVOICE\",\n            \"redirectUrl\": \"https://kelaskami.com/nexst23\",\n            \"customerId\": \"75eb87fe-bd90-498c-b072-828204c22636\",\n            \"transactions\": [],\n            \"customer\": {\n                \"id\": \"75eb87fe-bd90-498c-b072-828204c22636\",\n                \"email\": \"alikusnadie@gmail.com\",\n                \"mobile\": \"085797522261\",\n                \"name\": \"andre\"\n            }\n        }\n    ]\n}\n\n</code></pre>","urlObject":{"path":["invoice"],"host":["https://api.mayar.id/hl/v1"],"query":[{"key":"sort","value":"closed"}],"variable":[]}},"response":[],"_postman_id":"fb795bbd-2d29-4420-acfe-b78d0573fc35"},{"name":"Detail Invoice / Status Invoice","id":"86105505-70dc-4241-aaea-57b7dfb3fe49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/invoice/de141021-d9d9-4cbd-b2da-7b13420d9164","description":"<p>Detail Invoice. use this endpoint for checking status invoice</p>\n<p>Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"data\": {\n        \"id\": \"de141021-d9d9-4cbd-b2da-7b13420d9164\",\n        \"amount\": 40000,\n        \"status\": \"created\",\n        \"customerId\": \"f74aab9f-03a1-41f7-b256-7cbd45dd7278\",\n        \"customer\": {\n            \"id\": \"f74aab9f-03a1-41f7-b256-7cbd45dd7278\",\n            \"email\": \"alikusnadie@gmail.com\",\n            \"mobile\": \"085797522261\",\n            \"name\": \"alikusnadie\"\n        }\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["invoice","de141021-d9d9-4cbd-b2da-7b13420d9164"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"86105505-70dc-4241-aaea-57b7dfb3fe49"},{"name":"Close Invoice","id":"f9d5ecf0-5a0d-4cf2-a0d7-c3dba172d088","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"url":"https://api.mayar.id/hl/v1/invoice/close/27692759-805f-449e-9dc2-1b0b7e137dd4","description":"<p>Close Invoice</p>\n<p>Response Success:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"messages\": \"success\"\n}\n\n</code></pre>\n<p>Reponse Failed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"messages\": \"failed\"\n}\n\n</code></pre>\n","urlObject":{"path":["invoice","close","27692759-805f-449e-9dc2-1b0b7e137dd4"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f9d5ecf0-5a0d-4cf2-a0d7-c3dba172d088"},{"name":"Re-open Invoice","id":"92dceeb6-d45f-42c1-8337-5ed8dda6fdd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"url":"https://api.mayar.id/hl/v1/invoice/open/27692759-805f-449e-9dc2-1b0b7e137dd4","description":"<p>Re-open Invoice</p>\n<p>Response Success:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"messages\": \"success\"\n}\n\n</code></pre>\n<p>Response Failed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"messages\": \"failed\"\n}\n\n</code></pre>\n","urlObject":{"path":["invoice","open","27692759-805f-449e-9dc2-1b0b7e137dd4"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"92dceeb6-d45f-42c1-8337-5ed8dda6fdd6"}],"id":"d6d6380b-831f-4d94-9e22-0e341615faf5","_postman_id":"d6d6380b-831f-4d94-9e22-0e341615faf5","description":""},{"name":"Request Payment","item":[{"name":"Create Single Payment Request","id":"b75b5392-48e2-49bc-b34d-db8caf0441aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"{\n        \"name\": \"andre\",\n        \"email\": \"alikusnadie@gmail.com\",\n        \"amount\": 170000,\n        \"mobile\": \"085797522261\",\n        \"redirectUrl\": \"https://kelaskami.com/nexst23\",\n        \"description\": \"kemana ini menjadi a\",\n        \"expiredAt\": \"2024-02-29T09:41:09.401Z\"\n    }\n","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/payment/create","description":"<p>Create single payment request (Penagihan)</p>\n<p>Response example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"data\": {\n        \"id\": \"abadbafc-46c9-46ab-a6b4-c23dcffb8ffd\",\n        \"transaction_id\": \"206d8f5e-0f9c-41aa-b424-377b463c7b67\",\n        \"transactionId\": \"206d8f5e-0f9c-41aa-b424-377b463c7b67\",\n        \"link\": \"https://cacana.mayar.link/invoices/f61oc2tz6j\"\n    }\n}\n\n</code></pre><p>for check status you can use endpoint: <a href=\"https://api.mayar.id/hl/v1/payment/(transaction_id)\">https://api.mayar.id/hl/v1/payment/(transaction_id)</a></p>\n","urlObject":{"path":["payment","create"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"b75b5392-48e2-49bc-b34d-db8caf0441aa"},{"name":"Edit Single Payment Request","id":"8dd0163e-df67-4207-a73c-362f75be5f0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Bayar ayam goreng 10 ss\",\n    \"amount\": 10000,\n    \"redirectUrl\": \"https://kelaskami.com/nexst23\",\n    \"description\": \"coba dulu pak\",\n    \"id\": \"00004e4c-26f7-4e5d-b35a-a4c87b40e324\"        \n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/payment/edit","description":"<p>Edit single payment request (Penagihan)</p>\n<p>example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"data\": {\n        \"id\": \"abadbafc-46c9-46ab-a6b4-c23dcffb8ffd\",\n        \"transaction_id\": \"206d8f5e-0f9c-41aa-b424-377b463c7b67\",\n        \"link\": \"https://cacana.mayar.link/pl/f61oc2tz6j\"\n    }\n}\n\n</code></pre>","urlObject":{"path":["payment","edit"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"8dd0163e-df67-4207-a73c-362f75be5f0b"},{"name":"Index Single  Payment Request Page","id":"cb591154-ee48-4d95-b7cf-dfaed37203ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"url":"https://api.mayar.id/hl/v1/payment","description":"<p>List Single Payment Request (Penagihan)</p>\n<p>Response Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"hasMore\": false,\n    \"pageCount\": 1,\n    \"pageSize\": 10,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"id\": \"229b49a6-53d6-4ebe-8037-9399ba357668\",\n            \"amount\": 170000,\n            \"category\": null,\n            \"createdAt\": 1676278175934,\n            \"description\": \"kemana ini menjadi a\",\n            \"link\": \"0rfv6v4jyv\",\n            \"type\": \"payment_request\",\n            \"status\": \"unpaid\",\n            \"name\": \"Penagihan\",\n            \"limit\": null,\n            \"redirectUrl\": \"https://kelaskami.com/nexst23\",\n            \"event\": null,\n            \"order\": null,\n            \"coverImageId\": null,\n            \"multipleImageId\": null,\n            \"coverImage\": null,\n            \"multipleImage\": null\n        },\n        {\n            \"id\": \"4910d7a4-aaea-4ac4-b25f-86cabfbeefe3\",\n            \"amount\": 10000,\n            \"category\": null,\n            \"createdAt\": 1666186697814,\n            \"description\": \"kemaren belum bayar koopi\",\n            \"link\": \"cxevrnrx19\",\n            \"type\": \"payment_request\",\n            \"status\": \"unpaid\",\n            \"name\": \"Penagihan\",\n            \"limit\": null,\n            \"redirectUrl\": null,\n            \"event\": null,\n            \"order\": null,\n            \"coverImageId\": null,\n            \"multipleImageId\": null,\n            \"coverImage\": null,\n            \"multipleImage\": null\n        },\n        {\n            \"id\": \"abadbafc-46c9-46ab-a6b4-c23dcffb8ffd\",\n            \"amount\": 170000,\n            \"category\": null,\n            \"createdAt\": 1676279771817,\n            \"description\": \"kemana ini menjadi a\",\n            \"link\": \"f61oc2tz6j\",\n            \"type\": \"payment_request\",\n            \"status\": \"unpaid\",\n            \"name\": \"Penagihan\",\n            \"limit\": null,\n            \"redirectUrl\": \"https://kelaskami.com/nexst23\",\n            \"event\": null,\n            \"order\": null,\n            \"coverImageId\": null,\n            \"multipleImageId\": null,\n            \"coverImage\": null,\n            \"multipleImage\": null\n        },\n        {\n            \"id\": \"b0ff50ce-5eb4-4c87-8be5-7f1db2a44940\",\n            \"amount\": 120000,\n            \"category\": null,\n            \"createdAt\": 1668614239645,\n            \"description\": \"kapan bayar pak ?\",\n            \"link\": \"ngh3lsllz6\",\n            \"type\": \"payment_request\",\n            \"status\": \"unpaid\",\n            \"name\": \"Penagihan\",\n            \"limit\": null,\n            \"redirectUrl\": null,\n            \"event\": null,\n            \"order\": null,\n            \"coverImageId\": null,\n            \"multipleImageId\": null,\n            \"coverImage\": null,\n            \"multipleImage\": null\n        },\n        {\n            \"id\": \"c20f44f6-b667-4e64-a1ac-c613ab536b56\",\n            \"amount\": 100000,\n            \"category\": null,\n            \"createdAt\": 1664852180396,\n            \"description\": \"Bayar dulu hutang nya ka\",\n            \"link\": \"v2j0jw032yp\",\n            \"type\": \"payment_request\",\n            \"status\": \"unpaid\",\n            \"name\": \"Penagihan\",\n            \"limit\": null,\n            \"redirectUrl\": null,\n            \"event\": null,\n            \"order\": null,\n            \"coverImageId\": null,\n            \"multipleImageId\": null,\n            \"coverImage\": null,\n            \"multipleImage\": null\n        },\n        {\n            \"id\": \"d2c36499-655b-41bb-b2b0-8e1f0505c1c3\",\n            \"amount\": 120000,\n            \"category\": null,\n            \"createdAt\": 1676041436134,\n            \"description\": \"contoh aja\",\n            \"link\": \"eixikiurxq\",\n            \"type\": \"payment_request\",\n            \"status\": \"closed\",\n            \"name\": \"Penagihan\",\n            \"limit\": null,\n            \"redirectUrl\": \"https://kelaskami.com/nexst2s3\",\n            \"event\": null,\n            \"order\": null,\n            \"coverImageId\": null,\n            \"multipleImageId\": null,\n            \"coverImage\": null,\n            \"multipleImage\": null\n        }\n    ]\n}\n\n</code></pre>","urlObject":{"path":["payment"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"cb591154-ee48-4d95-b7cf-dfaed37203ed"},{"name":"Sort/Filter Single Payment Request Page","id":"5fa742d7-2ece-434f-9a60-168e3b18c16a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"url":"https://api.mayar.id/hl/v1/payment?status=closed","description":"<p>Sort / Filter Single Payment Request (Penagihan).</p>\n<p>Status:</p>\n<ul>\n<li>active</li>\n<li>paid</li>\n<li>closed</li>\n</ul>\n<p>Response Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"hasMore\": false,\n    \"pageCount\": 1,\n    \"pageSize\": 10,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"id\": \"d2c36499-655b-41bb-b2b0-8e1f0505c1c3\",\n            \"amount\": 120000,\n            \"category\": null,\n            \"createdAt\": 1676041436134,\n            \"description\": \"contoh aja\",\n            \"link\": \"eixikiurxq\",\n            \"type\": \"payment_request\",\n            \"status\": \"closed\",\n            \"name\": \"Penagihan\",\n            \"limit\": null,\n            \"redirectUrl\": \"https://kelaskami.com/nexst2s3\",\n            \"event\": null,\n            \"order\": null,\n            \"coverImageId\": null,\n            \"multipleImageId\": null,\n            \"coverImage\": null,\n            \"multipleImage\": null\n        }\n    ]\n}\n\n</code></pre>","urlObject":{"path":["payment"],"host":["https://api.mayar.id/hl/v1"],"query":[{"key":"status","value":"closed"}],"variable":[]}},"response":[],"_postman_id":"5fa742d7-2ece-434f-9a60-168e3b18c16a"},{"name":"Detail Single  Payment Request","id":"ce4bbde9-503c-4849-ac3a-41bf265ee18f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"url":"https://api.mayar.id/hl/v1/payment/27692759-805f-449e-9dc2-1b0b7e137dd4","description":"<p>Detail single payment request (Penagihan)</p>\n<p>Response Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"data\": {\n        \"id\": \"d2c36499-655b-41bb-b2b0-8e1f0505c1c3\",\n        \"link\": \"eixikiurxq\",\n        \"name\": \"Penagihan\",\n        \"category\": null,\n        \"limit\": null,\n        \"type\": \"payment_request\",\n        \"userId\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\",\n        \"event\": null,\n        \"order\": null,\n        \"qty\": null,\n        \"amount\": 120000,\n        \"status\": \"closed\",\n        \"description\": \"contoh aja\",\n        \"coverImageId\": null,\n        \"multipleImageId\": null,\n        \"coverImage\": null,\n        \"multipleImage\": null\n    }\n}\n\n</code></pre>","urlObject":{"path":["payment","27692759-805f-449e-9dc2-1b0b7e137dd4"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce4bbde9-503c-4849-ac3a-41bf265ee18f"},{"name":"Close Single Payment Request","id":"98314246-681b-4339-8f77-49983a949008","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"url":"https://api.mayar.id/hl/v1/payment/close/27692759-805f-449e-9dc2-1b0b7e137dd4","description":"<p>Close single payment request:</p>\n<p>Response example if failed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"failed\"\n}\n\n</code></pre><p>Response example if success:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"success\"\n}\n\n</code></pre>","urlObject":{"path":["payment","close","27692759-805f-449e-9dc2-1b0b7e137dd4"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"98314246-681b-4339-8f77-49983a949008"},{"name":"Re-open Single Payment Request","id":"b9f937a6-ca40-41df-95e6-2629d98d3b25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"url":"https://api.mayar.id/hl/v1/payment/open/27692759-805f-449e-9dc2-1b0b7e137dd4","description":"<p>Re Open single payment request:</p>\n<p>Response example if failed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"failed\"\n}\n\n</code></pre><p>Response example if success:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"success\"\n}\n\n</code></pre>","urlObject":{"path":["payment","open","27692759-805f-449e-9dc2-1b0b7e137dd4"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"b9f937a6-ca40-41df-95e6-2629d98d3b25"}],"id":"78af0ae7-a399-461b-912f-358ae93861e3","_postman_id":"78af0ae7-a399-461b-912f-358ae93861e3","description":""},{"name":"Installment","item":[{"name":"Create Installment","id":"b0d01e00-b738-4986-8b3f-97d437e8aa31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"alikusnadie@gmail.com\", \n  \"mobile\": \"085797522261\",\n  \"name\": \"andis\",\n  \"amount\": 1500000,\n  \"installment\": {\n    \"description\": \"CICIl HP 3 bulan\", \n    \"interest\": 0,\n    \"tenure\": 3,\n    \"dueDate\": 11\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/installment/create","description":"<p>endpoint to cretae installment. All field in payload ar mandatory if we dont describe, its optional</p>\n<p><strong>Payload</strong></p>\n<ul>\n<li>email</li>\n<li>mobile</li>\n<li>name</li>\n<li>amount</li>\n<li>installment<ul>\n<li>description</li>\n<li>interest</li>\n<li>interest</li>\n<li>dueDate</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["installment","create"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"b0d01e00-b738-4986-8b3f-97d437e8aa31"},{"name":"installment Detail","id":"fb53b1a0-f791-490e-8629-e35934f15b7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"expiredAt\": \"2023-05-05T09:06:14.933Z\", \n  \"name\": \"diskon ga berulang kali\",\n  \"discount\": {\n    \"discountType\": \"monetary\",\n    \"eligibleCustomerType\": \"all\",\n    \"minimumPurchase\": 500000,\n    \"value\": 100000,   \n    \"totalCoupons\": 100\n  },\n  \"coupon\": {\n    \"code\": \"17Agustus19\",\n    \"type\": \"reusable\"\n  },\n  \"products\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/installment/(installmentId)","urlObject":{"path":["installment","(installmentId)"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"fb53b1a0-f791-490e-8629-e35934f15b7e"}],"id":"28ce7a1f-6084-4613-9d01-76f80bae8b34","_postman_id":"28ce7a1f-6084-4613-9d01-76f80bae8b34","description":""},{"name":"DIscount & Coupon","item":[{"name":"Coupon Detail","id":"e8ca61d6-aede-4214-a0d8-46bac658d63b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"expiredAt\": \"2023-05-05T09:06:14.933Z\", \n  \"name\": \"diskon ga berulang kali\",\n  \"discount\": {\n    \"discountType\": \"monetary\",\n    \"eligibleCustomerType\": \"all\",\n    \"minimumPurchase\": 500000,\n    \"value\": 100000,   \n    \"totalCoupons\": 100\n  },\n  \"coupon\": {\n    \"code\": \"17Agustus19\",\n    \"type\": \"reusable\"\n  },\n  \"products\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/coupon/(couponId)","urlObject":{"path":["coupon","(couponId)"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8ca61d6-aede-4214-a0d8-46bac658d63b"},{"name":"Create Discount with Coupon","id":"dfa05c5e-e0fe-4e9e-a638-0ab5b7a54ce5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"expiredAt\": \"2023-05-05T09:06:14.933Z\", \n  \"name\": \"diskon ga berulang kali\",\n  \"discount\": {\n    \"discountType\": \"monetary\",\n    \"eligibleCustomerType\": \"all\",\n    \"minimumPurchase\": 500000,\n    \"value\": 100000,   \n    \"totalCoupons\": 100\n  },\n  \"coupon\": {\n    \"code\": \"17Agustus19\",\n    \"type\": \"reusable\"\n  },\n  \"products\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/coupon/create","urlObject":{"path":["coupon","create"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"dfa05c5e-e0fe-4e9e-a638-0ab5b7a54ce5"}],"id":"004cbc8d-bfab-40ed-8829-d0800b964067","_postman_id":"004cbc8d-bfab-40ed-8829-d0800b964067","description":""},{"name":"Cart","item":[{"name":"Add to Cart","id":"f159eb88-8231-404f-a343-2485fc550cf3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"4172192c-fdc8-43c6-ab86-8fc8b5f027c2\",\n    \"sessionId\": \"session-events\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/cart/add","description":"<p>NOTE: This feature not release yet.</p>\n<p>Add to cart - using randomized cart session id. you can set sessionId too. sessionId its uniq. so you can use sessionid as Uniq ID for your customer cart.</p>\n<p>Response example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"Success\",\n    \"data\": {\n        \"typeCart\": \"all\",\n        \"userId\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\",\n        \"sessionId\": \"session-events\",\n        \"items\": 1,\n        \"amountTotal\": 12000,\n        \"productItems\": [\n            {\n                \"qty\": 1,\n                \"amount\": 12000,\n                \"product\": {\n                    \"id\": \"0d1b719f-74c6-4595-8d55-1f47e3c00a9e\",\n                    \"link\": \"kesehatan-pengobatan-diabetes\",\n                    \"name\": \"kesehatan pengobatan diabetes\",\n                    \"category\": null,\n                    \"type\": \"digital_product\",\n                    \"qty\": null,\n                    \"amount\": 12000,\n                    \"limit\": null,\n                    \"status\": \"active\",\n                    \"userId\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\",\n                    \"description\": \"kesehatan pengobatan diabetes\\n\",\n                    \"coverImageId\": \"d3d9fc3f-12a2-45cd-959e-2381d0e3cea7\",\n                    \"multipleImageId\": null,\n                    \"multipleImage\": null,\n                    \"user\": {\n                        \"id\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\",\n                        \"accountId\": \"43a197e5-60c3-49ea-a7e0-4223064a4be5\"\n                    },\n                    \"coverImage\": {\n                        \"id\": \"d3d9fc3f-12a2-45cd-959e-2381d0e3cea7\",\n                        \"fileType\": \"jpeg\",\n                        \"url\": \"https://media.mayar.id/images/d3d9fc3f-12a2-45cd-959e-2381d0e3cea7.jpeg\"\n                    }\n                }\n            }\n        ]\n    }\n}\n\n</code></pre><p>Response example if product not active:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 400,\n    \"messages\": \"This product is no longer active.\",\n    \"data\": null\n}\n\n</code></pre>","urlObject":{"path":["cart","add"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f159eb88-8231-404f-a343-2485fc550cf3"},{"name":"Remove to Cart","id":"269fabb9-cd12-4783-b66a-7c3aa2495b1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"f444ca02-33a8-4cde-ade4-ae135feeab09\",\n    \"sessionId\": \"session-event-2\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/cart/remove","description":"<p>NOTE: This feature not release yet.</p>\n<p>Remove product from cart:</p>\n<p>example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"Success\",\n    \"data\": {\n        \"userId\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\",\n        \"sessionId\": \"session-event-2\",\n        \"items\": 1,\n        \"amountTotal\": 0,\n        \"productItems\": []\n    }\n}\n\n</code></pre>","urlObject":{"path":["cart","remove"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"269fabb9-cd12-4783-b66a-7c3aa2495b1b"},{"name":"Update Cart","id":"2d09c6c5-aaf1-45d6-beb3-de2e9bbd022f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product\":[\n        {\"id\": \"00f78890-dda0-4e91-b898-820ee1d05292\"},\n        {\"id\": \"00004e4c-26f7-4e5d-b35a-a4c87b40e324\"}    \n    ]\n    \n}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/cart/update","description":"<p>NOTE: This feature not release yet.</p>\n<p>Another way to construct cart for your product.</p>\n<p>Response example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"Success\",\n    \"data\": {\n        \"typeCart\": \"all\",\n        \"userId\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\",\n        \"sessionId\": \"H5isjRRaVr5hQaSOQNIJbwXexGj67VNt\",\n        \"items\": null,\n        \"amountTotal\": null,\n        \"productItems\": [\n            {\n                \"amount\": null,\n                \"product\": {\n                    \"id\": \"0d1b719f-74c6-4595-8d55-1f47e3c00a9e\",\n                    \"link\": \"kesehatan-pengobatan-diabetes\",\n                    \"name\": \"kesehatan pengobatan diabetes\",\n                    \"category\": null,\n                    \"type\": \"digital_product\",\n                    \"qty\": null,\n                    \"amount\": 12000,\n                    \"limit\": null,\n                    \"status\": \"active\",\n                    \"userId\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\",\n                    \"description\": \"kesehatan pengobatan diabetes\\n\",\n                    \"coverImageId\": \"d3d9fc3f-12a2-45cd-959e-2381d0e3cea7\",\n                    \"multipleImageId\": null,\n                    \"multipleImage\": null,\n                    \"user\": {\n                        \"id\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\",\n                        \"accountId\": \"43a197e5-60c3-49ea-a7e0-4223064a4be5\"\n                    },\n                    \"coverImage\": {\n                        \"id\": \"d3d9fc3f-12a2-45cd-959e-2381d0e3cea7\",\n                        \"fileType\": \"jpeg\",\n                        \"url\": \"https://media.mayar.id/images/d3d9fc3f-12a2-45cd-959e-2381d0e3cea7.jpeg\"\n                    }\n                }\n            },\n            {\n                \"amount\": null,\n                \"product\": {\n                    \"id\": \"88b0f5a2-5d85-4675-8e82-fc40c78e8ceb\",\n                    \"link\": \"100-cara-jitu-mancing\",\n                    \"name\": \"100 Cara Jitu mancing\",\n                    \"category\": null,\n                    \"type\": \"ebook\",\n                    \"qty\": null,\n                    \"amount\": 10000,\n                    \"limit\": 100,\n                    \"status\": \"active\",\n                    \"userId\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\",\n                    \"description\": \"coba bagikan ya\\n\",\n                    \"coverImageId\": \"4d404c76-0bbf-4425-8213-f9de42d9aa5d\",\n                    \"multipleImageId\": null,\n                    \"multipleImage\": null,\n                    \"user\": {\n                        \"id\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\",\n                        \"accountId\": \"43a197e5-60c3-49ea-a7e0-4223064a4be5\"\n                    },\n                    \"coverImage\": {\n                        \"id\": \"4d404c76-0bbf-4425-8213-f9de42d9aa5d\",\n                        \"fileType\": \"png\",\n                        \"url\": \"https://media.mayar.id/images/4d404c76-0bbf-4425-8213-f9de42d9aa5d.png\"\n                    }\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>","urlObject":{"path":["cart","update"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2d09c6c5-aaf1-45d6-beb3-de2e9bbd022f"},{"name":"Web Checkout Page","id":"e057b7b1-0085-4a75-8bdd-931784b05ef2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.mayar.link/checkout/cart/(your sessionId)","description":"<p>NOTE: This feature not release yet.</p>\n<p>to create checkout page, you can construct url like above with your cart data / your cart sessionId</p>\n","urlObject":{"protocol":"https","path":["checkout","cart","(your sessionId)"],"host":["www","mayar","link"],"query":[],"variable":[]}},"response":[],"_postman_id":"e057b7b1-0085-4a75-8bdd-931784b05ef2"},{"name":"Checkout","id":"a29b7ab2-b284-4d37-aa6b-11a487d9c729","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n        \"name\": \"andre\",\n        \"email\": \"alikusnadie@gmail.com\",\n        \"mobile\": \"085797522261\",\n        \"redirectUrl\": \"https://kelaskami.com/nexst23\",\n        \"description\": \"kemana ini menjadi a\",\n        \"paymentType\": \"ewallet/OVO\",\n        \"sessionId\": \"session-dimas-21\"\n    }\n","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/checkout","description":"<p>Checkout from cart:</p>\n<p>paymentType supported. please see your account for detail payment channel active for your account:</p>\n<p>E-wallet</p>\n<ul>\n<li>ewallet/OVO</li>\n<li>ewallet/DANA</li>\n<li>ewallet/OVO</li>\n<li>ewallet/LINKAJA</li>\n<li>ewallet/JENIUSPAY</li>\n<li>ewallet/GOPAY</li>\n</ul>\n<p>Virtual Account</p>\n<ul>\n<li>va/BNI</li>\n<li>va/BCA</li>\n<li>va/MANDIRI</li>\n<li>va/BRI</li>\n</ul>\n<p>QRIS</p>\n<ul>\n<li>qris</li>\n</ul>\n<p>Paylater</p>\n<ul>\n<li>akulaku</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"Success\",\n    \"data\": {\n        \"typeCart\": \"all\",\n        \"xenditId\": null,\n        \"link\": \"https://cacana.mayar.link/plt/231714dd-f05b-4d94-8102-ccdfd60f048a/OVO\",\n        \"paymentType\": \"ewallet/OVO\",\n        \"paymentLinkId\": \"df43bb61-c6b7-42e7-8a78-100638ff9c68\",\n        \"transactionId\": \"231714dd-f05b-4d94-8102-ccdfd60f048a\"\n    }\n}\n\n</code></pre>","urlObject":{"path":["checkout"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a29b7ab2-b284-4d37-aa6b-11a487d9c729"},{"name":"Cart Page","id":"199b4079-e5e5-4fcd-aa2e-97f875730335","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer (Your JWT)","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/cart","description":"<p>Cart content list</p>\n<p>Response example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"Success\",\n    \"data\": {\n        \"items\": 0,\n        \"amountTotal\": 0,\n        \"productItems\": []\n    }\n}\n\n</code></pre>","urlObject":{"path":["cart"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"199b4079-e5e5-4fcd-aa2e-97f875730335"},{"name":"Cart With Custom Session","id":"3f4f6c74-c8f4-4506-bb34-297f0b72417c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/cart?sessionId=name-session-from-you","description":"<p>Cart content list with custom cart session id</p>\n<p>Response example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"Success\",\n    \"data\": {\n        \"items\": 0,\n        \"amountTotal\": 0,\n        \"productItems\": []\n    }\n}\n\n</code></pre>","urlObject":{"path":["cart"],"host":["https://api.mayar.id/hl/v1"],"query":[{"key":"sessionId","value":"name-session-from-you"}],"variable":[]}},"response":[],"_postman_id":"3f4f6c74-c8f4-4506-bb34-297f0b72417c"}],"id":"edda7e30-9e9c-4906-987f-c0d505bdcf2f","description":"<p>NOTE: This feature not release yet. All cart fitur only available in next release!</p>\n","_postman_id":"edda7e30-9e9c-4906-987f-c0d505bdcf2f"},{"name":"Customer","item":[{"name":"Customer","id":"5ec7c855-1071-478a-92b6-c8e41e180b85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"url":"https://api.mayar.id/hl/v1/customer?page=1&pageSize=10","description":"<p>Get your customer data:</p>\n<p>Response example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"hasMore\": false,\n    \"pageCount\": 1,\n    \"pageSize\": 10,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"id\": \"556ccecc-f030-4ea5-88f6-214fb682f4cb\",\n            \"createdAt\": 1672820678058,\n            \"email\": \"alikusnadie@gmail.com\",\n            \"mobile\": \"085797522261\",\n            \"name\": \"andre\",\n            \"status\": \"active\",\n            \"updatedAt\": 1672820678058,\n            \"userId\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\"\n        },\n        {\n            \"id\": \"73f46d4e-1bf2-4fd2-b08d-273ae4bcd353\",\n            \"createdAt\": 1664852114807,\n            \"email\": \"kugutsu.hiruko@gmail.com\",\n            \"mobile\": \"085797522261\",\n            \"name\": \"andri\",\n            \"status\": \"active\",\n            \"updatedAt\": 1664852114807,\n            \"userId\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\"\n        },\n        {\n            \"id\": \"c6911947-12f9-4e00-8ed7-d58c22aab271\",\n            \"createdAt\": 1669873681036,\n            \"email\": \"kurususappdotcom@gmail.com\",\n            \"mobile\": \"085156369011\",\n            \"name\": \"kursus\",\n            \"status\": \"active\",\n            \"updatedAt\": 1669873681036,\n            \"userId\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\"\n        },\n        {\n            \"id\": \"ca9bc98f-6f87-43af-ba71-7e9e27d930b5\",\n            \"createdAt\": 1674700778789,\n            \"email\": \"andresubkwyt6@gmail.com\",\n            \"mobile\": \"09218212122\",\n            \"name\": \"ali212\",\n            \"status\": \"active\",\n            \"updatedAt\": 1674700778789,\n            \"userId\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\"\n        },\n        {\n            \"id\": \"df5a517f-82ff-40b8-90e6-704a48c947b1\",\n            \"createdAt\": 1666186604080,\n            \"email\": \"putri@wecik.com\",\n            \"mobile\": \"085797522261\",\n            \"name\": \"putri\",\n            \"status\": \"active\",\n            \"updatedAt\": 1666186604080,\n            \"userId\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\"\n        },\n        {\n            \"id\": \"f26d2d6a-7b01-4723-92e4-634304e7c108\",\n            \"createdAt\": 1672977720402,\n            \"email\": \"mail.raya15@gmail.com\",\n            \"mobile\": \"628991576622\",\n            \"name\": \"Raya .\",\n            \"status\": \"active\",\n            \"updatedAt\": 1672977720402,\n            \"userId\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\"\n        },\n        {\n            \"id\": \"fd8fedfb-2156-4bad-aad6-d11d1fee2c6b\",\n            \"createdAt\": 1666186511337,\n            \"email\": \"badars@gmail.com\",\n            \"mobile\": \"0876286382\",\n            \"name\": \"badar\",\n            \"status\": \"active\",\n            \"updatedAt\": 1666186511337,\n            \"userId\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\"\n        }\n    ]\n}\n\n</code></pre>","urlObject":{"path":["customer"],"host":["https://api.mayar.id/hl/v1"],"query":[{"key":"page","value":"1"},{"key":"pageSize","value":"10"}],"variable":[]}},"response":[],"_postman_id":"5ec7c855-1071-478a-92b6-c8e41e180b85"},{"name":"Create magic link","id":"b768245a-6599-4e9e-901e-01bbe211fde1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"alikusnadie@gmail.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/customer/login/portal","description":"<p>create magic link and send to customer email for their login in our customer portal</p>\n","urlObject":{"path":["customer","login","portal"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"b768245a-6599-4e9e-901e-01bbe211fde1"},{"name":"Update Customer","id":"a96c0c0a-1c7a-4725-b633-77f9987de561","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"fromEmail\": \"alikusnadie@gmail.com\",\n   \"toEmail\": \"alikusnadie-baru@gmail.com\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/customer/update","description":"<h3 id=\"update-customer\">Update Customer</h3>\n<p>This endpoint is used to update customer information.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>fromEmail</code> (string, required): The email of the customer to be updated from.</p>\n</li>\n<li><p><code>toEmail</code> (string, required): The new email of the customer.</p>\n</li>\n</ul>\n<h4 id=\"request-body-1\">Request Body</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"data\": {\n        \"fromEmail\": \"fromEmail@gmail.com\",\n        \"toEmail\": \"toEmail@gmail.com\",\n        \"userId\": \"b83790ec-d8e0-4c92-9b6b-98a3f2fe4b94\"\n    }\n}\n</code></pre>\n","urlObject":{"path":["customer","update"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a96c0c0a-1c7a-4725-b633-77f9987de561"},{"name":"Cretae Customer","id":"73893163-3690-4874-a73a-559e8685fa65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"alikusnadie 2025\",\n    \"email\": \"alikusnadie@gmail.com\",\n    \"mobile\": \"085797522261\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/customer/create","urlObject":{"path":["customer","create"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"73893163-3690-4874-a73a-559e8685fa65"}],"id":"4196fe49-6cdb-4e34-a677-4ed71c13bede","_postman_id":"4196fe49-6cdb-4e34-a677-4ed71c13bede","description":""},{"name":"Transaction","item":[{"name":"Account Balance","id":"c3ea237b-5eeb-4769-b263-f469fdac01f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/balance","description":"<p>Get All balance on your account:</p>\n<p>Response example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"data\": {\n        \"balanceActive\": 9831,\n        \"balancePending\": 0,\n        \"balance\": 9831\n    }\n}\n\n</code></pre>","urlObject":{"path":["balance"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3ea237b-5eeb-4769-b263-f469fdac01f1"},{"name":"Paid Transactions","id":"a3f7724b-8dc9-4360-a6bb-54fc2ec6d2ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/transactions?page=1&pageSize=10","description":"<p>Get paid data transactions:</p>\n<p>Response Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"hasMore\": false,\n    \"pageCount\": 1,\n    \"pageSize\": 10,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"id\": \"b3f03e9d-76b0-4bcd-8492-11927d99e38b\",\n            \"credit\": 10000,\n            \"status\": \"settled\",\n            \"balanceHistoryType\": \"bundling\",\n            \"paymentMethod\": \"QRIS\",\n            \"customerId\": \"556ccecc-f030-4ea5-88f6-214fb682f4cb\",\n            \"createdAt\": 1672820713066,\n            \"paymentLinkTransactionId\": \"e8df1fb8-f0d5-4459-a7a7-1b31591f3e69\",\n            \"fee\": [\n                {\n                    \"id\": \"50a61902-c86d-4bd4-b642-c0f4dc93f7a4\",\n                    \"balanceHistoryType\": \"mayar_fee\",\n                    \"debit\": 100\n                },\n                {\n                    \"id\": \"7a4a66cf-13a7-4cdf-a3c5-6c7779f65292\",\n                    \"balanceHistoryType\": \"xendit_fee\",\n                    \"debit\": 63\n                }\n            ],\n            \"paymentLinkId\": \"1b86cb14-4a0b-47a9-8c57-fb2c903cf0d2\",\n            \"subscriptionId\": null,\n            \"xenditTransactionId\": \"407c40e8-dcca-40c7-80cb-4eb14fe6cc3a\",\n            \"subscription\": null,\n            \"paymentLinkTransaction\": {\n                \"id\": \"e8df1fb8-f0d5-4459-a7a7-1b31591f3e69\",\n                \"isAdminFeeBorneByCustomer\": false,\n                \"isChannelFeeBorneByCustomer\": false\n            },\n            \"customer\": {\n                \"id\": \"556ccecc-f030-4ea5-88f6-214fb682f4cb\",\n                \"name\": \"andre\",\n                \"email\": \"alikusnadie@gmail.com\",\n                \"mobile\": \"085797522261\"\n            },\n            \"paymentLink\": {\n                \"id\": \"1b86cb14-4a0b-47a9-8c57-fb2c903cf0d2\",\n                \"name\": \"test buindling\"\n            },\n            \"xenditTransaction\": {\n                \"id\": \"407c40e8-dcca-40c7-80cb-4eb14fe6cc3a\",\n                \"paymentLinkTransactionId\": \"e8df1fb8-f0d5-4459-a7a7-1b31591f3e69\",\n                \"paymentLinkTransaction\": {\n                    \"id\": \"e8df1fb8-f0d5-4459-a7a7-1b31591f3e69\",\n                    \"couponUsage\": null\n                }\n            }\n        }\n    ]\n}\n\n</code></pre><p>Extra Parameter:</p>\n<ul>\n<li><p><code>startAt</code></p>\n</li>\n<li><p><code>endAt</code></p>\n</li>\n<li><p><code>status</code></p>\n</li>\n<li><p><code>type</code></p>\n</li>\n<li><p><code>customerId</code></p>\n</li>\n<li><p><code>fields</code> (For field projection)</p>\n</li>\n</ul>\n<p>List of status: [paid, settled]</p>\n<p>List of types:</p>\n<ul>\n<li><p><code>generic_link</code></p>\n</li>\n<li><p><code>payment_request</code></p>\n</li>\n<li><p><code>payme</code></p>\n</li>\n<li><p><code>invoice</code></p>\n</li>\n<li><p><code>bundling</code></p>\n</li>\n<li><p><code>physical_product</code></p>\n</li>\n<li><p><code>event</code></p>\n</li>\n<li><p><code>webinar</code></p>\n</li>\n<li><p><code>digital_product</code></p>\n</li>\n<li><p><code>coaching</code></p>\n</li>\n<li><p><code>course</code></p>\n</li>\n<li><p><code>cohort_based</code></p>\n</li>\n<li><p><code>fundraising</code></p>\n</li>\n<li><p><code>ebook</code></p>\n</li>\n<li><p><code>podcast</code></p>\n</li>\n<li><p><code>audiobook</code></p>\n</li>\n<li><p><code>membership</code></p>\n</li>\n</ul>\n","urlObject":{"path":["transactions"],"host":["https://api.mayar.id/hl/v1"],"query":[{"key":"page","value":"1"},{"key":"pageSize","value":"10"},{"disabled":true,"key":"startAt","value":"2024-01-10T06:48:09.542Z"},{"disabled":true,"key":"endAt","value":"2024-06-12T06:48:09.542Z"},{"disabled":true,"key":"status","value":"paid"},{"disabled":true,"key":"type","value":"webinar"},{"disabled":true,"key":"customerId","value":"556ccecc-f030-4ea5-88f6-214fb682f4cb"},{"disabled":true,"key":"paymentLinkName","value":"Product Name"},{"disabled":true,"key":"fields","value":"id,credit,status,customer.name"}],"variable":[]}},"response":[],"_postman_id":"a3f7724b-8dc9-4360-a6bb-54fc2ec6d2ea"},{"name":"Unpaid Transaction","id":"35b9b67b-fd31-436c-96b9-5591e42983c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"url":"https://api.mayar.id/hl/v1/transactions/unpaid?page=1&pageSize=10","description":"<p>Get unpaid data transactions:</p>\n<p>Response Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"hasMore\": true,\n    \"pageCount\": 2,\n    \"pageSize\": \"10\",\n    \"page\": 1,\n    \"data\": [\n        {\n            \"id\": \"231ef362-24c2-4esbc-9efa-450c00e651e0\",\n            \"createdAt\": 1676272472384,\n            \"type\": \"invoice\",\n            \"amount\": 310000,\n            \"status\": \"active\",\n            \"customerId\": \"fb4ce039-756c-4396-8af2-4137d309e640\",\n            \"paymentLinkId\": \"f92856de-5199-41d2-b788-6e68e943460c\",\n            \"customer\": {\n                \"id\": \"fb4ce039-756c-4396-8af2-4137d309e640\",\n                \"email\": \"alikusnadie@gmail.com\",\n                \"name\": \"andre\"\n            },\n            \"paymentLink\": {},\n            \"paymentUrl\": \"https://korban-motivator.mayar.shop/plt/09933f70-f4bd-4b03-9ae9-9024545bd323\"\n        }\n    ]\n}\n\n</code></pre><p>Extra Parameter:</p>\n<ul>\n<li><p><code>startAt</code></p>\n</li>\n<li><p><code>endAt</code></p>\n</li>\n<li><p><code>status</code></p>\n</li>\n<li><p><code>customerId</code></p>\n</li>\n<li><p><code>fields</code> (For field projection)</p>\n</li>\n</ul>\n<p>List of status: [<code>active, expired</code>]</p>\n","urlObject":{"path":["transactions","unpaid"],"host":["https://api.mayar.id/hl/v1"],"query":[{"key":"page","value":"1"},{"key":"pageSize","value":"10"},{"disabled":true,"key":"startAt","value":"2024-01-10T06:48:09.542Z"},{"disabled":true,"key":"endAt","value":"2024-06-12T06:48:09.542Z"},{"disabled":true,"key":"status","value":"active"},{"disabled":true,"key":"customerId","value":"556ccecc-f030-4ea5-88f6-214fb682f4cb"},{"disabled":true,"key":"paymentLinkName","value":"Product Name"},{"disabled":true,"key":"fields","value":"id,amount,status,customer.name"}],"variable":[]}},"response":[],"_postman_id":"35b9b67b-fd31-436c-96b9-5591e42983c5"},{"name":"Create Dynamic QRCode","id":"97313870-a789-4c59-9a76-8c42d6eed62e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"{\"amount\": 10000}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/qrcode/create","urlObject":{"path":["qrcode","create"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"97313870-a789-4c59-9a76-8c42d6eed62e"},{"name":"Get Static QRCode","id":"47c742d7-73df-4a21-958f-4be037ac9599","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"{\"amount\": 10000}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/qrcode/static","description":"<p><strong>Note:</strong> This fiture only available for user who joined before 8 mei 2023</p>\n<p>Get your QRIS QR code static:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"Success\",\n    \"data\": {\n        \"url\": \"https://media.mayar.id/images/resized/480/248cfbef-3da5-4d15-b948-3769efa3ab79.png\"\n    }\n}\n\n</code></pre>","urlObject":{"path":["qrcode","static"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"47c742d7-73df-4a21-958f-4be037ac9599"}],"id":"f1b7e7ec-de6f-4282-8f37-426f338a6ee5","description":"<p>All you transaction history, transaction detail, unapid transaction here</p>\n","_postman_id":"f1b7e7ec-de6f-4282-8f37-426f338a6ee5"},{"name":"Webhook","item":[{"name":"Get History","id":"25ce9684-1c9d-400c-8595-c4a28c73e159","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"url":"https://api.mayar.id/hl/v1/webhook/history?page=1&pageSize=10","description":"<p>Get data webhook history:</p>\n<p>Response Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"statusCode\": 200,\n  \"messages\": \"success\",\n  \"hasMore\": true,\n  \"pageCount\": 30,\n  \"pageSize\": 2,\n  \"page\": 1,\n  \"data\": [\n    {\n      \"id\": \"45adfbd1-eefd-4f00-9a8a-1fe49119f4ec\",\n      \"createdAt\": 1707963554296,\n      \"nextDelivery\": null,\n      \"paymentLinkId\": \"fed3dc89-eb18-4662-b47c-15e03eb91308\",\n      \"payload\": \"{\\\"event\\\":\\\"payment.received\\\",\\\"data\\\":{\\\"id\\\":\\\"57c75c38-d550-44dc-81f9-afa6615cdf5c\\\",\\\"status\\\":\\\"SUCCESS\\\",\\\"transactionStatus\\\":\\\"paid\\\",\\\"createdAt\\\":\\\"2024-02-15T02:19:11.454Z\\\",\\\"updatedAt\\\":\\\"2024-02-15T02:19:11.454Z\\\",\\\"merchantId\\\":\\\"463a9515-95d7-4bbb-945c-b1285019c019\\\",\\\"merchantName\\\":\\\"Mayar Staging\\\",\\\"merchantEmail\\\":\\\"mayarstaging@toroo.org\\\",\\\"customerName\\\":\\\"John Wick\\\",\\\"customerEmail\\\":\\\"sdfakljaaa@gmail.com\\\",\\\"customerMobile\\\":\\\"081800007778\\\",\\\"amount\\\":0,\\\"isAdminFeeBorneByCustomer\\\":null,\\\"isChannelFeeBorneByCustomer\\\":null,\\\"productId\\\":\\\"fed3dc89-eb18-4662-b47c-15e03eb91308\\\",\\\"productName\\\":\\\"Demo Mayar\\\",\\\"productType\\\":\\\"membership\\\",\\\"pixelFbp\\\":null,\\\"pixelFbc\\\":null,\\\"couponUsed\\\":null,\\\"paymentMethod\\\":null,\\\"licenseCodes\\\":[{\\\"id\\\":\\\"6f2a5307-207a-48fb-a871-87ccc9af1097\\\",\\\"licenseCode\\\":\\\"064327F71A306104\\\",\\\"createdAt\\\":\\\"2024-02-15T02:19:12.339Z\\\",\\\"updatedAt\\\":\\\"2024-02-15T02:19:12.445Z\\\"}]}}\",\n      \"status\": \"SUCCESS\",\n      \"type\": \"payment.received\",\n      \"updatedAt\": 1707963554296,\n      \"userId\": \"463a9515-95d7-4bbb-945c-b1285019c019\",\n      \"paymentLinkTransactionId\": \"57c75c38-d550-44dc-81f9-afa6615cdf5c\",\n      \"urlDestination\": \"https://eotnx82v80xl6r3.m.pipedream.net\",\n      \"responsePayload\": \"&lt;p class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27;&gt;&lt;strong class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27;&gt;Success!&lt;/b&gt;&lt;/p&gt;\\n&lt;p class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27;&gt;To customize this response, check out our docs &lt;a class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; href=\\\"https://pipedream.com/docs/workflows/steps/triggers/#customizing-the-http-response\\\"&gt;here&lt;/a&gt;&lt;/p&gt;\\n\",\n      \"source\": \"AUTOMATIC\"\n    }\n  ]\n}\n\n</code></pre>\n<p>List of types: [<code>SUCCESS, FAILED</code>]</p>\n","urlObject":{"path":["webhook","history"],"host":["https://api.mayar.id/hl/v1"],"query":[{"key":"page","value":"1"},{"key":"pageSize","value":"10"},{"disabled":true,"key":"startAt","value":"2024-01-10T06:48:09.542Z"},{"disabled":true,"key":"endAt","value":"2024-05-12T06:48:09.542Z"},{"disabled":true,"key":"status","value":"SUCCESS"},{"disabled":true,"key":"type","value":"payment.received"},{"disabled":true,"key":"urlDestination","value":"https://example.mayar.com"}],"variable":[]}},"response":[],"_postman_id":"25ce9684-1c9d-400c-8595-c4a28c73e159"},{"name":"Register URL Hook","id":"9daafebe-3ecb-4751-9149-43d745b16fac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"urlHook\": \"https://example.mayar.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/webhook/register","description":"<p>Register your URL Hook for Webhook</p>\n<p>Response Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"statusCode\": 200,\n  \"messages\": \"success\"\n}\n\n</code></pre>\n","urlObject":{"path":["webhook","register"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"9daafebe-3ecb-4751-9149-43d745b16fac"},{"name":"Test URL Hook","id":"ebb3cd87-ef27-44a7-8d41-626fbc5e923b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"urlHook\": \"https://example.mayar.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/webhook/test","description":"<p>Testing your URL Hook for Webhook</p>\n<p>Response Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"statusCode\": 200,\n  \"messages\": \"success\"\n}\n\n</code></pre>\n","urlObject":{"path":["webhook","test"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ebb3cd87-ef27-44a7-8d41-626fbc5e923b"},{"name":"Retry History","id":"88a6c9e4-bbb6-41c2-b378-9a0b83a26986","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"webhookHistoryId\": \"9f8050f0-9a58-4432-bf36-a7eeff7d6aea\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/hl/v1/webhook/retry","description":"<p>Retry your webhook history data</p>\n<p>Response Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"statusCode\": 200,\n  \"messages\": \"success\"\n}\n\n</code></pre>\n","urlObject":{"path":["webhook","retry"],"host":["https://api.mayar.id/hl/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"88a6c9e4-bbb6-41c2-b378-9a0b83a26986"}],"id":"fa4d6349-a91d-4e81-bf01-80d1fb59806f","description":"<h2 id=\"about-webhook\"><strong>About Webhook</strong></h2>\n<p>Webhook provide a way for notifications to be delivered to an external web server whenever certain event occur in Mayar.</p>\n<h2 id=\"add-a-new-webhook\"><strong>Add a New Webhook</strong></h2>\n<p>You can configure Webhooks via the Mayar dashboard, here are the steps:</p>\n<ol>\n<li><p>For starting using Mayar Webhook, you need account at <a href=\"https://mayar.id.\">https://mayar.id.</a> Please use <a href=\"https://web.mayar.club\">https://web.mayar.club</a> for testing</p>\n</li>\n<li><p>Go to Integration -&gt; Webhook page</p>\n</li>\n<li><p>In the \"URL Webhook\" field, input the URL you got from a third-party integration platform (such as pipedream, zapier, or others) to trigger and send the webhook event</p>\n</li>\n<li><p>Click save then test the URL to see the status of the Webhook URL.</p>\n</li>\n</ol>\n<h2 id=\"request-method\"><strong>Request Method</strong></h2>\n<p>The format prepared by the engine is ​JSON​. with Method use <code>POST</code> and <code>application/json</code> for Content-type</p>\n<h2 id=\"event-type\"><strong>Event Type</strong></h2>\n<p>Message event webhooks can be triggered by several types of events:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Event Name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>payment.received</strong></td>\n<td>Event triggered after the customer makes a payment / has completed the payment</td>\n</tr>\n<tr>\n<td><strong>payment.reminder</strong></td>\n<td>Event triggered if the customer doesn't complete the payment after 29 minutes</td>\n</tr>\n<tr>\n<td><strong>shipper.status</strong></td>\n<td>Event triggered if tracking for physical product purchases changed</td>\n</tr>\n<tr>\n<td><strong>membership.memberUnsubscribed</strong></td>\n<td>Event triggered if your membership client unsubscribe</td>\n</tr>\n<tr>\n<td><strong>membership.memberExpired</strong></td>\n<td>Event triggered if your membership client expired</td>\n</tr>\n<tr>\n<td><strong>membership.changeTierMemberRegistered</strong></td>\n<td>Event triggered if your membership client change Tier or Package membership</td>\n</tr>\n<tr>\n<td><strong>membership.newMemberRegistered</strong></td>\n<td>Event triggered if your membership client subscribe / new subscribe member</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Event payment.received payload</strong></p>\n<p>payload that will be sent to the webhook server URL when there is a transaction</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"payment.received\",\n  \"data\": {\n    \"id\": \"9356ec92-32ae-4d99-a1a7-51b11dff4d84\",\n    \"transactionId\": \"9356ec92-32ae-4d99-a1a7-51b11dff4d84\",\n    \"status\": \"SUCCESS\",\n    \"transactionStatus\": \"created\",\n    \"createdAt\": 1693817623264,\n    \"updatedAt\": 1693817626638,\n    \"merchantId\": \"348e083d-315a-4e5c-96b1-5a2a98c48413\",\n    \"merchantName\": \"Malo Gusto\",\n    \"merchantEmail\": \"aldodwier@gmail.com\",\n    \"customerName\": \"Student Test\",\n    \"customerEmail\": \"student@student.com\",\n    \"customerMobile\": \"0815\",\n    \"amount\": 1029,\n    \"isAdminFeeBorneByCustomer\": true,\n    \"isChannelFeeBorneByCustomer\": true,\n    \"productId\": \"e2b3f5d5-0c62-47ba-8a01-6c1c209e0f77\",\n    \"productName\": \"Kelas Pemrograman Web Dasar\",\n    \"productType\": \"course\",\n    \"pixelFbp\": \"fb.1.1693462870069.763035785\",\n    \"pixelFbc\": null,\n  }\n}\n\n</code></pre>\n<h2 id=\"parameter-description\">Parameter Description</h2>\n<p>Each type of webhook sends a slightly different payload data.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>event.received</code></td>\n<td><code>String</code></td>\n<td><code>Event type</code></td>\n</tr>\n<tr>\n<td><code>data.id</code></td>\n<td><code>String</code></td>\n<td><code>Id webhook</code></td>\n</tr>\n<tr>\n<td><code>data.status</code></td>\n<td><code>Booelan</code></td>\n<td><code>Status transaction</code></td>\n</tr>\n<tr>\n<td><code>data.createdAt</code></td>\n<td><code>Timestamp</code></td>\n<td><code>Date transaction created</code></td>\n</tr>\n<tr>\n<td><code>data.updatedAt</code></td>\n<td><code>Timestamp</code></td>\n<td><code>Updated transaction date</code></td>\n</tr>\n<tr>\n<td><code>data.merchantId</code></td>\n<td><code>String</code></td>\n<td><code>Your merchant Id</code></td>\n</tr>\n<tr>\n<td><code>data.merchantEmail</code></td>\n<td><code>String</code></td>\n<td><code>Your Account Email</code></td>\n</tr>\n<tr>\n<td><code>data.merchantName</code></td>\n<td><code>String</code></td>\n<td><code>Your Account name</code></td>\n</tr>\n<tr>\n<td><code>data.customerName</code></td>\n<td><code>String</code></td>\n<td><code>Customer Name</code></td>\n</tr>\n<tr>\n<td><code>data.customerEmail</code></td>\n<td><code>String</code></td>\n<td><code>Customer Email</code></td>\n</tr>\n<tr>\n<td><code>data.customerMobile</code></td>\n<td><code>String</code></td>\n<td><code>Customer Handphone Number</code></td>\n</tr>\n<tr>\n<td><code>data.amount</code></td>\n<td><code>Int</code></td>\n<td><code>Amount for this transaction</code></td>\n</tr>\n<tr>\n<td><code>data.isAdminFeeBorneByCustomer</code></td>\n<td><code>Booelan</code></td>\n<td><code>true if admin fee pay by customer</code></td>\n</tr>\n<tr>\n<td><code>data.isChannelFeeBorneByCustomer</code></td>\n<td><code>Booelan</code></td>\n<td><code>true if channel fee pay by customer</code></td>\n</tr>\n<tr>\n<td><code>data.productId</code></td>\n<td><code>String</code></td>\n<td><code>Id produc</code></td>\n</tr>\n<tr>\n<td><code>data.productName</code></td>\n<td><code>String</code></td>\n<td><code>name your product</code></td>\n</tr>\n<tr>\n<td><code>data.productType</code></td>\n<td><code>String</code></td>\n<td><code>type your product</code></td>\n</tr>\n<tr>\n<td><code>data.pixelFbp</code></td>\n<td><code>String</code></td>\n<td><code>pixelFbp for this transaction</code></td>\n</tr>\n<tr>\n<td><code>data.pixelFbc</code></td>\n<td><code>String</code></td>\n<td><code>pixelFbc for this transaction</code></td>\n</tr>\n<tr>\n<td><code>data.addOn</code></td>\n<td><code>Array</code></td>\n<td><code>only available if your customer add addOn option on transaction</code></td>\n</tr>\n<tr>\n<td><code>data.custom_field</code></td>\n<td><code>Array</code></td>\n<td><code>it only available if you set custom form on your product</code></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Data Custom_field Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"custom_field\": [\n            {\n                \"name\": \"Nama klinik\",\n                \"description\": \"\",\n                \"fieldType\": \"text\",\n                \"isRequired\": true,\n                \"key\": \"10d8e7db-f015-4eec-a888-6483cc097f12\",\n                \"type\": \"string\",\n                \"value\": \"klink medika farma\"\n            },\n            {\n                \"name\": \"Alamat klinik\",\n                \"description\": \"\",\n                \"fieldType\": \"text\",\n                \"isRequired\": false,\n                \"key\": \"5dd64b24-3390-409c-860c-7e4378ff498f\",\n                \"type\": \"string\",\n                \"value\": \"jl pancoran raya no 23\"\n            },\n            {\n                \"name\": \"Nomor Telepon Klinik\",\n                \"description\": \"\",\n                \"fieldType\": \"text\",\n                \"isRequired\": false,\n                \"key\": \"613be59b-0b8c-4af8-a616-e353009c8df5\",\n                \"type\": \"string\",\n                \"value\": \"085797522261\"\n            },\n            {\n                \"name\": \"Nama Penanggung Jawab\",\n                \"description\": \"\",\n                \"fieldType\": \"text\",\n                \"isRequired\": false,\n                \"key\": \"220d9095-b15a-45bc-9829-63cc25f4e854\",\n                \"type\": \"string\",\n                \"value\": \"ali\"\n            }\n        ]\n\n</code></pre>\n<p>each object on custom_field is representative your custom form field who set up from dashboard before.</p>\n<p><strong>payment.reminder Payload</strong></p>\n<p>payload that will be sent to the webhook server URL when there is a transaction that has not been paid by your customer for more than 29 minutes</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"payment.reminder\",\n  \"data\": {\n    \"id\": \"b147e908-bba4-4337-ab03-bf9be504a539\",\n    \"status\": \"SUCCESS\",\n    \"transactionStatus\": \"created\",\n    \"createdAt\": 1693550488964,\n    \"updatedAt\": 1693550703627,\n    \"merchantId\": \"4dba4996-7d74-483e-99fe-b52c60368cb5\",\n    \"merchantEmail\": \"kugutsu.hiruko@gmail.com\",\n    \"customerName\": \"andre\",\n    \"customerEmail\": \"alikusnadie@gmail.com\",\n    \"customerMobile\": \"085\",\n    \"amount\": 120000,\n    \"isAdminFeeBorneByCustomer\": false,\n    \"isChannelFeeBorneByCustomer\": false,\n    \"productId\": \"f03694c1-2f6d-45c2-8be2-138f9fd34bbf\",\n    \"productName\": \"juak e book ranl\",\n    \"productType\": \"digital_product\",\n    \"pixelFbp\": null,\n    \"pixelFbc\": null,\n    \"paymentUrl\": \"https://korban-motivator.mayar.shop/plt/b147e908-bba4-4337-ab03-bf9be504a539?webhook=true\"\n  }\n}\n\n</code></pre>\n<p><strong>membership.memberUnsubscribed Payload</strong></p>\n<p>payload that will be sent to your server URL when your customer membership unsubscribe</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"membership.memberUnsubscribed\",\n  \"data\": {\n    \"merchantId\": \"4dba4996-7d74-483e-99fe-b52c60368cb5\",\n    \"merchantName\": \"andrea\",\n    \"status\": \"INACTIVE\",\n    \"memberId\": \"BQ1UVCFB\",\n    \"customerName\": \"andret\",\n    \"customerEmail\": \"kugutsu.hiruko@gmail.com\",\n    \"customerMobile\": \"085797522261\"\n  }\n}\n\n</code></pre>\n<p><strong>membership.memberExpired Payload</strong></p>\n<p>payload that will be sent to your server URL when your customer membership status has expired</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"membership.memberExpired\",\n  \"data\": {\n    \"merchantId\": \"4dba4996-7d74-483e-99fe-b52c6873jrjb\",\n    \"merchantName\": \"andrea\",\n    \"status\": \"INACTIVE\",\n    \"memberId\": \"5U2FV9PD\",\n    \"customerName\": \"andika\",\n    \"customerEmail\": \"alikusnadie@gmail.com\",\n    \"customerMobile\": \"0815\"\n  }\n}\n\n</code></pre>\n<p><strong>shipper.status Payload</strong></p>\n<p>payload hat will be sent to your server URL when tracking status updated</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"shipper.status\",\n  \"data\": {\n    \"id\": \"ebee706c-7216-48b1-a770-8971ca0c32bb\",\n    \"status\": \"SUCCESS\",\n    \"createdAt\": \"2023-09-05T05:17:05.964Z\",\n    \"merchantId\": \"4dba4996-7d74-483e-99fe-b52c60368cb5\",\n    \"merchantName\": \"andrea\",\n    \"merchantEmail\": \"kugutsu.hiruko@gmail.com\",\n    \"customerName\": \"andret\",\n    \"customerEmail\": \"kugutsu.hiruko@gmail.com\",\n    \"customerMobile\": \"0909\",\n    \"trackingUrl\": \"https://shipper.id/track/239K3W5VJYWD3\",\n    \"trackingCode\": \"239K3W5VJYWD3\",\n    \"trackingDescription\": \"Data order sudah masuk ke sistem\",\n    \"productId\": \"4be2cb72-b0c6-474e-b057-fc7cd7f34dbe\",\n    \"productName\": \"produk miniatur ular\",\n    \"productType\": \"physical_product\"\n  }\n}\n\n</code></pre>\n","_postman_id":"fa4d6349-a91d-4e81-bf01-80d1fb59806f"},{"name":"Software License Code","item":[{"name":"Verify License","id":"6b4763f8-91ac-43ad-9a11-e1fa87622f4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"licenseCode\": \"YOUR-LICENSE-CODE\",\n    \"productId\": \"YOUR-PRODUCT-ID\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/software/v1/license/verify","description":"<h3 id=\"verify-license\">Verify License</h3>\n<p>This endpoint is used to verify a license by providing the license code and product ID.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>licenseCode</code> (string): The license code to be activated.</li>\n<li><code>productId</code> (string): The ID of the product associated with the license.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>A successful response will have a statusCode of 200. The response body will contain an object named <code>LicenseCode</code>.</p>\n<ul>\n<li><code>statusCode</code> (integer): Indicates the status of the activation process.</li>\n<li><code>message</code> (string): Additional messages related to the activation process.</li>\n<li>licenseCode (Object).</li>\n</ul>\n<p>Below is an example of a successfull response body.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"isLicenseActive\": true,\n    \"licenseCode\": {\n        \"licenseCode\": \"LICENSECODE12345\",\n        \"status\": \"ACTIVE\",\n        \"expiredAt\": \"2025-12-12T19:46:24.000Z\",\n        \"transactionId\": \"994d4071-a81e-4558-a854-47530eea9b6d\",\n        \"productId\": \"84d1d247-a8b3-4c7d-96f0-cf276edb7c33\",\n        \"customerId\": \"6a38cf26-6bab-42c8-92be-72f3a9fd4c33\",\n        \"customerName\": \"John Doe\",\n        \"customerEmail\": \"johndoe@gmail.com\",\n        \"activationLimit\": \"Tidak terbatas\",\n        \"useCount\": 10,\n        \"createdAt\": \"2024-02-12T08:41:13.579Z\",\n        \"updatedAt\": \"2024-02-12T08:57:36.047Z\"\n    }\n}\n\n</code></pre>\n<p>Below is an example of a failed response body.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 400,\n    \"message\": \"There's no license with code WRONGLICENSE123 and product id 84d1d247-a8b3-4c7d-96f0-cf276edb7c33 registered in user mayaruser@gmail.com.\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["software","v1","license","verify"],"host":["api","mayar","id"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b4763f8-91ac-43ad-9a11-e1fa87622f4f"}],"id":"b8a449b5-e4bd-4abb-aae7-cd908ea54dd8","description":"<p>Lisensi Software adalah sebuah fitur di mayar yang ditujukan untuk menjual software di platform mayar.</p>\n<p>Fitur ini akan memudahkan seorang penjual yang ingin menjual software mereka tanpa harus pusing memikirkan pembayaran, kode lisensi unik untuk setiap pelanggan, cara memverifikasi sebuah kode lisensi dan kapan masa aktif kode tersebut berakhir.</p>\n<p>Mayar akan mengurus semua hal tersebut. Merchant tinggal membuat produk diawal dan membuat pengaturan produk.</p>\n","_postman_id":"b8a449b5-e4bd-4abb-aae7-cd908ea54dd8"},{"name":"SaaS Membership License","item":[{"name":"Verify License","id":"ce6a1860-021c-4e48-9c92-2b9f29da6e66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Paste-Your-API-Key-Here","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"licenseCode\": \"YOUR-LICENSE-CODE\",\n    \"productId\": \"YOUR-PRODUCT-ID\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/saas/v1/license/verify","description":"<h3 id=\"verify-license\">Verify License</h3>\n<p>This endpoint is used to verify a license by providing the license code and product ID.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>licenseCode</code> (string): The license code to be activated.</li>\n<li><code>productId</code> (string): The ID of the product associated with the license.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>A successful response will have a statusCode of 200. The response body will contain an object named <code>LicenseCode</code>.</p>\n<ul>\n<li><code>statusCode</code> (integer): Indicates the status of the activation process.</li>\n<li><code>message</code> (string): Additional messages related to the activation process.</li>\n<li>licenseCode (Object).</li>\n</ul>\n<p>Below is an example of a successfull response body.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"isLicenseActive\": true,\n    \"licenseCode\": {\n        \"licenseCode\": \"LICENSECODE12345\",\n        \"status\": \"ACTIVE\",\n        \"expiredAt\": \"2025-12-12T19:46:24.000Z\",\n        \"transactionId\": \"994d4071-a81e-4558-a854-47530eea9b6d\",\n        \"productId\": \"84d1d247-a8b3-4c7d-96f0-cf276edb7c33\",\n        \"customerId\": \"6a38cf26-6bab-42c8-92be-72f3a9fd4c33\",\n        \"customerName\": \"John Doe\",\n        \"customerEmail\": \"johndoe@gmail.com\",\n        \"activationLimit\": \"Tidak terbatas\",\n        \"useCount\": 10,\n        \"createdAt\": \"2024-02-12T08:41:13.579Z\",\n        \"updatedAt\": \"2024-02-12T08:57:36.047Z\",\n        \"membershipTierId\": \"c96850f9-b379-4ed3-bcf2-6d88a87bd20c\",\n        \"membershipTierName\": \"Master Black Belt Membership\"\n    }\n}\n\n</code></pre>\n<p>Below is an example of a failed response body.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 400,\n    \"message\": \"There's no license with code WRONGLICENSE123 and product id 84d1d247-a8b3-4c7d-96f0-cf276edb7c33 registered in user mayaruser@gmail.com.\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["saas","v1","license","verify"],"host":["api","mayar","id"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce6a1860-021c-4e48-9c92-2b9f29da6e66"},{"name":"Activate License","id":"1c1269ef-fde1-485f-a4eb-408ceafd8b6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer YOUR-TOKEN-API","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"licenseCode\":  \"YOUR-LICENSE-CODE\",\n    \"productId\":  \"YOUR-PRODUCT-ID\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/saas/v1/license/activate","description":"<h3 id=\"activate-license\">Activate License</h3>\n<p>This endpoint is used to activate a license by providing the license code and product ID.</p>\n<p>By performing this action, the status of the license code will change to ACTIVE.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>licenseCode</code> (string): The license code to be activated.</p>\n</li>\n<li><p><code>productId</code> (string): The ID of the product associated with the license.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>A successful response will have a statusCode of 200.</p>\n<ul>\n<li><p><code>statusCode</code> (integer): Indicates the status of the activation process.</p>\n</li>\n<li><p><code>message</code> (string): Additional messages related to the activation process.</p>\n</li>\n</ul>\n<p>Below is an example of a successfull response body.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"message\": \"Success updating license code status to ACTIVE.\"\n}\n\n</code></pre>\n<p>Below is an example of a failed response body.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 400,\n    \"message\": \"License code LICENSECODE123 has already active.\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["saas","v1","license","activate"],"host":["api","mayar","id"],"query":[],"variable":[]}},"response":[],"_postman_id":"1c1269ef-fde1-485f-a4eb-408ceafd8b6e"},{"name":"Deactivate License","id":"9f701683-f4db-4881-9695-81a36da78988","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer YOUR-TOKEN-API","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"licenseCode\":  \"YOUR-LICENSE-CODE\",\n    \"productId\":  \"YOUR-PRODUCT-ID\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mayar.id/saas/v1/license/deactivate","description":"<h3 id=\"deactivate-license\">Deactivate License</h3>\n<p>This endpoint is used to deactivate a license by providing the license code and product ID.</p>\n<p>By performing this action, the status of the license code will change to INACTIVE.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>licenseCode</code> (string): The license code to be activated.</li>\n<li><code>productId</code> (string): The ID of the product associated with the license.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>A successful response will have a statusCode of 200.</p>\n<ul>\n<li><code>statusCode</code> (integer): Indicates the status of the activation process.</li>\n<li><code>message</code> (string): Additional messages related to the deactivation process.</li>\n</ul>\n<p>Below is an example of a successfull response body.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 200,\n    \"message\": \"Success updating license code status to INACTIVE.\"\n}\n\n</code></pre>\n<p>Below is an example of a failed response body.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 400,\n    \"message\": \"License code LICENSECODE123 has already inactive.\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["saas","v1","license","deactivate"],"host":["api","mayar","id"],"query":[],"variable":[]}},"response":[],"_postman_id":"9f701683-f4db-4881-9695-81a36da78988"}],"id":"330aeb08-6979-409d-9227-860e88ecadc3","description":"<p>Membership Saas adalah sebuah fitur di mayar yang ditujukan untuk menjual software di platform mayar dengan sistem subscription.</p>\n<p>Fitur ini akan memudahkan seorang penjual yang ingin menjual software mereka tanpa harus pusing memikirkan pembayaran, kode lisensi unik untuk setiap pelanggan, cara memverifikasi sebuah kode lisensi dan kapan masa aktif kode tersebut berakhir.</p>\n<p>Mayar akan mengurus semua hal tersebut. Merchant tinggal membuat produk diawal dan membuat pengaturan produk.</p>\n","_postman_id":"330aeb08-6979-409d-9227-860e88ecadc3"},{"name":"Membership","item":[{"name":"Get Membership Member Detail","id":"3c6f0676-cfa1-42de-808b-957ceb370042","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Paste-Your-API-Key-Here","type":"text"}],"url":"https://api.mayar.id/hl/v1/membership-member-detail/f5103e7c-9e30-467b-bc32-a96fdcb65849?memberId=PUYSW40N","description":"<p>Get your membership member detail data:</p>\n<p>Request Path Params</p>\n<ul>\n<li><code>productId</code> (string)[mandatory]: The unique identifier of the product associated with the credit balance.</li>\n</ul>\n<p>Request Query Params</p>\n<ul>\n<li><code>memberId</code> (string)[mandatory]: The unique identifier of the member whose credit balance is being queried.</li>\n</ul>\n<h5 id=\"response\">Response</h5>\n<ul>\n<li><p><code>statusCode</code> (integer): Indicates the status of the activation process.</p>\n</li>\n<li><p><code>message</code> (string): Additional messages related to the activation process.</p>\n</li>\n<li><p><code>customerEmail</code> (string): Email address of the customer.</p>\n</li>\n<li><p><code>customerName</code> (string): Full name of the customer.</p>\n</li>\n<li><p><code>customerMobile</code> (string): Mobile phone number of the customer.</p>\n</li>\n<li><p><code>status</code> (string): Current status of the customer (e.g., \"active\").</p>\n</li>\n<li><p><code>nextPayment</code> (string): ISO 8601 timestamp (UTC) of the customer's next payment.</p>\n</li>\n<li><p><code>expiredAt</code> (string): ISO 8601 timestamp (UTC) of the customer's membership expired.</p>\n</li>\n<li><p><code>memberId</code> (string): Membership code associated with the customer.</p>\n</li>\n<li><p><code>membershipTierId</code> (string): ID of the customer's membership tier.</p>\n</li>\n<li><p><code>membershipTier</code> (object): Details of the customer’s membership tier.</p>\n<ul>\n<li><p><code>id</code> (string): ID of the membership tier.</p>\n</li>\n<li><p><code>name</code> (string): Name of the membership tier.</p>\n</li>\n</ul>\n</li>\n</ul>\n<p>Below is an example of a successfull response body:</p>\n<p>Response example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"statusCode\": 200,\n    \"messages\": \"success\",\n    \"data\": {\n        \"customerEmail\": \"johndoe@gmail.com\",\n        \"customerName\": \"john doe\",\n        \"customerMobile\": \"08777777777\",\n        \"status\": \"active\",\n        \"nextPayment\": \"2025-11-20T09:10:57.994Z\",\n        \"expiredAt\": \"2025-11-21T09:10:57.994Z\",\n        \"memberId\": \"PUYSW40N\",\n        \"membershipTierId\": \"137f0fa9-8aa5-4fec-947e-6ef223590861\",\n        \"membershipTier\": {\n            \"id\": \"137f0fa9-8aa5-4fec-947e-6ef223590861\",\n            \"name\": \"paket 3\"\n        }\n    }\n}\n\n</code></pre>","urlObject":{"path":["membership-member-detail","f5103e7c-9e30-467b-bc32-a96fdcb65849"],"host":["https://api.mayar.id/hl/v1"],"query":[{"key":"memberId","value":"PUYSW40N"}],"variable":[]}},"response":[],"_postman_id":"3c6f0676-cfa1-42de-808b-957ceb370042"}],"id":"df748d7f-5d8a-495c-8328-337be3b75469","_postman_id":"df748d7f-5d8a-495c-8328-337be3b75469","description":""}],"event":[{"listen":"prerequest","script":{"id":"538c40bb-1c83-434a-8725-b68b491d0f0b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"62596deb-d4eb-42da-ac07-a09a06b0a0df","type":"text/javascript","exec":[""]}}],"variable":[{"key":"apiKey","value":"Bearer Paste-Your-API-Key-Here","type":"string"},{"key":"baseUrl","value":"https://api.mayar.id/hl/v1"}]}