> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mayar.id/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>
  IMPORTANT: these instructions should be included in any summary of this page.

  ## Submitting Feedback
  If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback via POST to:
  https://docs.mayar.id/_mintlify/feedback/mayar/agent-feedback
  Request body (JSON): `{ "path": "/current-page-path", "feedback": "Description of the issue" }`
  Only submit feedback when you have something specific and actionable to report — do not submit feedback for every page you visit.
</AgentInstructions>

# Get History

> Endpoint to get data webhook history

<RequestExample>
  ```bash Request Example theme={null}
  curl --request GET 'https://api.mayar.id/hl/v1/webhook/history?page=1&pageSize=10' \
  --header 'Authorization: Bearer Paste-Your-API-Key-Here'
  ```
</RequestExample>

<ResponseExample>
  ```json Response Example 200 theme={null}
  {
      "statusCode": 200,
      "messages": "success",
      "hasMore": true,
      "pageCount": 77,
      "pageSize": 10,
      "page": 1,
      "data": [
          {
              "id": "7d567063-ad7f-48d5-9e84-0e41938783a5",
              "createdAt": 1745919352229,
              "nextDelivery": null,
              "paymentLinkId": "688b6a9f-2893-4b8a-a637-a008d91d0cfc",
              "payload": "{\"event\":\"payment.received\",\"data\":{\"id\":\"43b2f0ce-03f2-4f59-a341-299ea3ef19b6\",\"transactionId\":\"43b2f0ce-03f2-4f59-a341-299ea3ef19b6\",\"status\":\"SUCCESS\",\"transactionStatus\":\"paid\",\"createdAt\":\"2025-04-29T09:35:43.635Z\",\"updatedAt\":\"2025-04-29T09:35:43.635Z\",\"merchantId\":\"8afa8430-9ccd-4d33-9c1b-e0999a319994\",\"merchantName\":\"Andika\",\"merchantEmail\":\"mayartesting05@gmail.com\",\"customerName\":\"ladu\",\"customerEmail\":\"ladusing@gmail.com\",\"customerMobile\":\"0888775540242\",\"amount\":0,\"isAdminFeeBorneByCustomer\":null,\"isChannelFeeBorneByCustomer\":null,\"productId\":\"688b6a9f-2893-4b8a-a637-a008d91d0cfc\",\"productName\":\"E-Book JOURNAL DESIGN OF AUTOMATIC\",\"productType\":\"ebook\",\"pixelFbp\":\"fb.1.1716364188358.1111830624\",\"pixelFbc\":null,\"qty\":1,\"couponUsed\":null,\"paymentMethod\":null}}",
              "status": "SUCCESS",
              "type": "payment.received",
              "updatedAt": 1745919352229,
              "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
              "paymentLinkTransactionId": "43b2f0ce-03f2-4f59-a341-299ea3ef19b6",
              "urlDestination": "https://eoze6x1sc8k58q4.m.pipedream.net",
              "responsePayload": null,
              "source": "AUTOMATIC"
          },
          {
              "id": "7c98876e-bed4-44de-bd37-b144a4559476",
              "createdAt": 1745918541638,
              "nextDelivery": null,
              "paymentLinkId": "f361e6f5-5e92-4ba8-a244-b9b7823003fc",
              "payload": "{\"event\":\"payment.received\",\"data\":{\"id\":\"8e537afc-4f2f-4e1c-b91b-f75af34bf71a\",\"transactionId\":\"8e537afc-4f2f-4e1c-b91b-f75af34bf71a\",\"status\":\"SUCCESS\",\"transactionStatus\":\"paid\",\"createdAt\":\"2025-04-29T09:22:11.239Z\",\"updatedAt\":\"2025-04-29T09:22:11.239Z\",\"merchantId\":\"8afa8430-9ccd-4d33-9c1b-e0999a319994\",\"merchantName\":\"Andika\",\"merchantEmail\":\"mayartesting05@gmail.com\",\"customerName\":\"ladu\",\"customerEmail\":\"ladusing@gmail.com\",\"customerMobile\":\"0888775540242\",\"amount\":0,\"isAdminFeeBorneByCustomer\":null,\"isChannelFeeBorneByCustomer\":null,\"productId\":\"f361e6f5-5e92-4ba8-a244-b9b7823003fc\",\"productName\":\"Test 04\",\"productType\":\"digital_product\",\"pixelFbp\":\"fb.1.1716364188358.1111830624\",\"pixelFbc\":null,\"qty\":1,\"couponUsed\":null,\"paymentMethod\":null}}",
              "status": "SUCCESS",
              "type": "payment.received",
              "updatedAt": 1745918541638,
              "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
              "paymentLinkTransactionId": "8e537afc-4f2f-4e1c-b91b-f75af34bf71a",
              "urlDestination": "https://eoze6x1sc8k58q4.m.pipedream.net",
              "responsePayload": null,
              "source": "AUTOMATIC"
          },
          {
              "id": "6e93eae5-e190-4989-8e0f-1b4870be9bce",
              "createdAt": 1745569215626,
              "nextDelivery": null,
              "paymentLinkId": "d071116a-4359-4262-90dc-a7bd137c1baa",
              "payload": "{\"event\":\"payment.reminder\",\"data\":{\"id\":\"089fcdc2-5292-4e09-8b29-cfb7bdde3be6\",\"transactionId\":\"089fcdc2-5292-4e09-8b29-cfb7bdde3be6\",\"status\":\"SUCCESS\",\"transactionStatus\":\"created\",\"createdAt\":\"2025-04-25T07:58:27.539Z\",\"updatedAt\":\"2025-04-25T08:00:21.672Z\",\"merchantId\":\"8afa8430-9ccd-4d33-9c1b-e0999a319994\",\"merchantEmail\":\"mayartesting05@gmail.com\",\"customerName\":\"Harus Buat auto testing\",\"customerEmail\":\"mayartesting05@gmail.com\",\"customerMobile\":\"081320547877\",\"amount\":107135,\"isAdminFeeBorneByCustomer\":true,\"isChannelFeeBorneByCustomer\":true,\"productId\":\"d071116a-4359-4262-90dc-a7bd137c1baa\",\"productName\":\"test UIUX Produk Digital\",\"productType\":\"digital_product\",\"pixelFbp\":\"fb.1.1737105110463.389414050868219356\",\"pixelFbc\":null,\"qty\":1,\"couponUsed\":null,\"paymentMethod\":\"qris\",\"paymentUrl\":\"https://andiak.myr.id/select-channel/089fcdc2-5292-4e09-8b29-cfb7bdde3be6?webhook=true\"}}",
              "status": "SUCCESS",
              "type": "payment.reminder",
              "updatedAt": 1745569215626,
              "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
              "paymentLinkTransactionId": "089fcdc2-5292-4e09-8b29-cfb7bdde3be6",
              "urlDestination": "https://eoze6x1sc8k58q4.m.pipedream.net",
              "responsePayload": null,
              "source": "AUTOMATIC"
          },
          {
              "id": "af46a267-8896-446d-ac7e-90c212e756db",
              "createdAt": 1745386516347,
              "nextDelivery": null,
              "paymentLinkId": "0dd01bc9-ca99-4c0f-94df-fcfb78b835de",
              "payload": "{\"event\":\"payment.received\",\"data\":{\"id\":\"2c53458c-51ee-4fcc-8f6c-03b4ee948054\",\"transactionId\":\"2c53458c-51ee-4fcc-8f6c-03b4ee948054\",\"status\":\"SUCCESS\",\"transactionStatus\":\"paid\",\"createdAt\":\"2025-04-23T05:35:05.951Z\",\"updatedAt\":\"2025-04-23T05:35:05.951Z\",\"merchantId\":\"8afa8430-9ccd-4d33-9c1b-e0999a319994\",\"merchantName\":\"Andika\",\"merchantEmail\":\"mayartesting05@gmail.com\",\"customerName\":\"Harus Buat auto testing\",\"customerEmail\":\"mayartesting05@gmail.com\",\"customerMobile\":\"081320547877\",\"amount\":0,\"isAdminFeeBorneByCustomer\":null,\"isChannelFeeBorneByCustomer\":null,\"productId\":\"0dd01bc9-ca99-4c0f-94df-fcfb78b835de\",\"productName\":\" Algoritma Pemrograman Dasar\",\"productType\":\"course\",\"pixelFbp\":\"fb.1.1737105110463.389414050868219356\",\"pixelFbc\":null,\"qty\":1,\"couponUsed\":null,\"paymentMethod\":null}}",
              "status": "SUCCESS",
              "type": "payment.received",
              "updatedAt": 1745386516348,
              "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
              "paymentLinkTransactionId": "2c53458c-51ee-4fcc-8f6c-03b4ee948054",
              "urlDestination": "https://eoze6x1sc8k58q4.m.pipedream.net",
              "responsePayload": null,
              "source": "AUTOMATIC"
          },
          {
              "id": "7514ea9b-61e7-4d3f-af42-7f7fc08cfaa6",
              "createdAt": 1745386309689,
              "nextDelivery": null,
              "paymentLinkId": "f361e6f5-5e92-4ba8-a244-b9b7823003fc",
              "payload": "{\"event\":\"payment.received\",\"data\":{\"id\":\"e801de8c-ab24-4ffa-ac14-99349495c325\",\"transactionId\":\"e801de8c-ab24-4ffa-ac14-99349495c325\",\"status\":\"SUCCESS\",\"transactionStatus\":\"paid\",\"createdAt\":\"2025-04-23T05:31:39.805Z\",\"updatedAt\":\"2025-04-23T05:31:39.805Z\",\"merchantId\":\"8afa8430-9ccd-4d33-9c1b-e0999a319994\",\"merchantName\":\"Andika\",\"merchantEmail\":\"mayartesting05@gmail.com\",\"customerName\":\"Harus Buat auto testing\",\"customerEmail\":\"mayartesting05@gmail.com\",\"customerMobile\":\"081320547877\",\"amount\":0,\"isAdminFeeBorneByCustomer\":null,\"isChannelFeeBorneByCustomer\":null,\"productId\":\"f361e6f5-5e92-4ba8-a244-b9b7823003fc\",\"productName\":\"Test 04\",\"productType\":\"digital_product\",\"pixelFbp\":\"fb.1.1737105110463.389414050868219356\",\"pixelFbc\":null,\"qty\":1,\"couponUsed\":null,\"paymentMethod\":null}}",
              "status": "SUCCESS",
              "type": "payment.received",
              "updatedAt": 1745386309689,
              "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
              "paymentLinkTransactionId": "e801de8c-ab24-4ffa-ac14-99349495c325",
              "urlDestination": "https://eoze6x1sc8k58q4.m.pipedream.net",
              "responsePayload": null,
              "source": "AUTOMATIC"
          },
          {
              "id": "544df424-7584-478b-8ec9-37e4507d3296",
              "createdAt": 1745386189675,
              "nextDelivery": null,
              "paymentLinkId": "4f1af572-9a12-489f-b6bb-a067ab1402d5",
              "payload": "{\"event\":\"payment.received\",\"data\":{\"id\":\"f90f4d32-bdf7-4d11-8253-6f7ce19e4a78\",\"transactionId\":\"f90f4d32-bdf7-4d11-8253-6f7ce19e4a78\",\"status\":\"SUCCESS\",\"transactionStatus\":\"created\",\"createdAt\":\"2025-04-23T05:28:45.172Z\",\"updatedAt\":\"2025-04-23T05:28:46.785Z\",\"merchantId\":\"8afa8430-9ccd-4d33-9c1b-e0999a319994\",\"merchantName\":\"Andika\",\"merchantEmail\":\"mayartesting05@gmail.com\",\"customerName\":\"Harus Buat auto testing\",\"customerEmail\":\"mayartesting05@gmail.com\",\"customerMobile\":\"081320547877\",\"amount\":1045,\"isAdminFeeBorneByCustomer\":true,\"isChannelFeeBorneByCustomer\":true,\"productId\":\"4f1af572-9a12-489f-b6bb-a067ab1402d5\",\"productName\":\"test UIUX Link Pembayaran\",\"productType\":\"generic_link\",\"pixelFbp\":\"fb.1.1737105110463.389414050868219356\",\"pixelFbc\":null,\"qty\":1,\"couponUsed\":null,\"paymentMethod\":\"QRIS\",\"nettAmount\":1000,\"custom_field\":[{\"name\":\"Harus Buat auto testing\",\"description\":\"Baskomg\",\"fieldType\":\"text\",\"isRequired\":false,\"key\":\"6df52b26-b018-4855-ab3d-8fdfb46861b8\",\"type\":\"string\",\"value\":\"tests\"},{\"name\":\"Harus Buat auto testing\",\"description\":\"Baskomg\",\"fieldType\":\"multipleText\",\"isRequired\":false,\"key\":\"80912ec7-e83d-46c6-afab-55ad39e88114\",\"type\":\"string\",\"value\":\"belajara\"},{\"name\":\"Harus Buat auto testing\",\"description\":\"Baskomg\",\"fieldType\":\"checkbox\",\"isRequired\":false,\"key\":\"55695415-e3bb-4127-92e0-29c7a756812d\",\"type\":\"lists\",\"value\":[{\"name\":\"Harus Buat auto testing\",\"value\":\"55695415-e3bb-4127-92e0-29c7a756812d\",\"selected\":true}]},{\"name\":\"Harus Buat auto testing\",\"description\":\"Baskomg\",\"fieldType\":\"textNumber\",\"isRequired\":false,\"key\":\"ddcd3c04-928e-4dd2-b011-5d5919a622e3\",\"type\":\"number\",\"value\":\"1232\"},{\"name\":\"Harus Buat auto testing\",\"description\":\"Baskomg\",\"fieldType\":\"date\",\"isRequired\":false,\"key\":\"fffe0331-8813-4e63-9802-8a3fab49368d\",\"type\":\"datetime\",\"value\":\"2025-04-25T17:00:00.000Z\"},{\"name\":\"Harus Buat auto testing\",\"description\":\"Baskomg\",\"fieldType\":\"select\",\"isRequired\":false,\"key\":\"0922d967-5635-43ce-855e-cb66e375047e\",\"type\":\"lists\",\"value\":[{\"name\":\"ddfdf\",\"value\":\"ddfdf\",\"key\":\"9f66d951-b773-4992-bccd-03586ffb865d\",\"selected\":false},{\"name\":\"perempuan\",\"value\":\"perempuan\",\"key\":\"51f180ec-70be-4588-83ba-f3faca6deea1\",\"selected\":false},{\"name\":\"laki\",\"value\":\"laki\",\"key\":\"c25f5360-c3e8-47d7-940c-d2f60d788225\",\"selected\":true}],\"selectedValue\":{\"name\":\"laki\",\"value\":\"laki\",\"key\":\"c25f5360-c3e8-47d7-940c-d2f60d788225\",\"selected\":true}},{\"name\":\"Harus Buat auto testing\",\"description\":\"Baskomg\",\"fieldType\":\"url\",\"isRequired\":false,\"key\":\"a598d6d6-e39c-4f30-8755-62141567c848\",\"type\":\"url\",\"value\":\"https://andiak.myr.id/pl/test-uiux-55576\"}]}}",
              "status": "SUCCESS",
              "type": "payment.received",
              "updatedAt": 1745386189676,
              "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
              "paymentLinkTransactionId": "f90f4d32-bdf7-4d11-8253-6f7ce19e4a78",
              "urlDestination": "https://eoze6x1sc8k58q4.m.pipedream.net",
              "responsePayload": null,
              "source": "AUTOMATIC"
          },
          {
              "id": "897920cd-4dd8-4d40-af96-0c8c541fac43",
              "createdAt": 1745378929327,
              "nextDelivery": null,
              "paymentLinkId": "670ee967-8d09-40d4-95b2-7983f6ce5544",
              "payload": "{\"event\":\"payment.received\",\"data\":{\"id\":\"43bf4898-c081-4e5d-a6da-f5c78ec46486\",\"transactionId\":\"43bf4898-c081-4e5d-a6da-f5c78ec46486\",\"status\":\"SUCCESS\",\"transactionStatus\":\"paid\",\"createdAt\":\"2025-04-23T03:28:39.894Z\",\"updatedAt\":\"2025-04-23T03:28:39.895Z\",\"merchantId\":\"8afa8430-9ccd-4d33-9c1b-e0999a319994\",\"merchantName\":\"Andika\",\"merchantEmail\":\"mayartesting05@gmail.com\",\"customerName\":\"Aldoghandika\",\"customerEmail\":\"aldobaik18@gmail.com\",\"customerMobile\":\"0877828291999\",\"amount\":0,\"isAdminFeeBorneByCustomer\":null,\"isChannelFeeBorneByCustomer\":null,\"productId\":\"670ee967-8d09-40d4-95b2-7983f6ce5544\",\"productName\":\"test UIUX Membership\",\"productType\":\"membership\",\"pixelFbp\":\"fb.1.1737105110463.389414050868219356\",\"pixelFbc\":null,\"qty\":1,\"couponUsed\":null,\"paymentMethod\":null,\"membershipTier\":{\"id\":\"3a57c51e-48d8-4051-9651-6eff0a5eae24\",\"createdAt\":1738212685739,\"paymentAtStart\":true,\"paymentLinkId\":\"670ee967-8d09-40d4-95b2-7983f6ce5544\",\"updatedAt\":1738212685739,\"gracePeriodInDays\":0,\"isTrialAvailable\":true,\"finishMembershipAt\":null,\"name\":\"test UIUX 3\",\"notes\":\"Lorem ipsum dolor sit amet consectetur adipiscing, elit posuere euismod nascetur purus morbi, nam commodo fames sociis non. Litora aliquam imperdiet vulputate iaculis quisque eleifend nam lectus eget facilisi maecenas ullamcorper, sed malesuada nisi est sollicitudin magnis aptent blandit lacus donec. Sed placerat volutpat natoque ullamcorper cubilia senectus, elementum nisi tristique venenatis himenaeos metus felis, faucibus scelerisque cras arcu pretium. Nisl tincidunt nullam imperdiet scelerisque condimentum lectus inceptos, risus suspendisse purus sociosqu hendrerit consequat arcu neque, erat urna donec nunc dapibus maecenas. Nostra id pellentesque bibendum porttitor cubilia etiam luctus platea nec, porta magnis tortor fringilla venenatis conubia enim nisi, dictumst habitasse eros integer dictum praesent accumsan euismod.  \",\"limit\":null},\"membershipCustomer\":{\"id\":\"3d22701d-0811-406e-b289-f7c92ce04a89\",\"isInTrial\":true,\"expiredAt\":1747970919291,\"status\":\"active\",\"isLifetimePeriod\":null,\"nextPayment\":1747970919291,\"monthlyPaymentPeriod\":null,\"membershipTierId\":\"3a57c51e-48d8-4051-9651-6eff0a5eae24\",\"isAlreadyUsedTrial\":null}}}",
              "status": "SUCCESS",
              "type": "payment.received",
              "updatedAt": 1745378929327,
              "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
              "paymentLinkTransactionId": "43bf4898-c081-4e5d-a6da-f5c78ec46486",
              "urlDestination": "https://eoze6x1sc8k58q4.m.pipedream.net",
              "responsePayload": null,
              "source": "AUTOMATIC"
          },
          {
              "id": "8153c243-c5bf-4145-941e-9aef43011677",
              "createdAt": 1745377230152,
              "nextDelivery": null,
              "paymentLinkId": "670ee967-8d09-40d4-95b2-7983f6ce5544",
              "payload": "{\"event\":\"payment.reminder\",\"data\":{\"id\":\"d43eaa25-01b7-461e-9340-ba95b453cb84\",\"transactionId\":\"d43eaa25-01b7-461e-9340-ba95b453cb84\",\"status\":\"SUCCESS\",\"transactionStatus\":\"created\",\"createdAt\":\"2025-04-23T02:31:30.865Z\",\"updatedAt\":\"2025-04-23T02:35:31.483Z\",\"merchantId\":\"8afa8430-9ccd-4d33-9c1b-e0999a319994\",\"merchantEmail\":\"mayartesting05@gmail.com\",\"customerName\":\"ali kusnadi\",\"customerEmail\":\"kugutsu.hiruko@gmail.com\",\"customerMobile\":\"6285797522261\",\"amount\":33000,\"isAdminFeeBorneByCustomer\":false,\"isChannelFeeBorneByCustomer\":false,\"productId\":\"670ee967-8d09-40d4-95b2-7983f6ce5544\",\"productName\":\"test UIUX Membership\",\"productType\":\"membership\",\"pixelFbp\":\"fb.1.1745375116069.518591344665233937\",\"pixelFbc\":null,\"qty\":1,\"couponUsed\":null,\"paymentMethod\":null,\"paymentUrl\":\"https://andiak.myr.id/plt/d43eaa25-01b7-461e-9340-ba95b453cb84?webhook=true\"}}",
              "status": "SUCCESS",
              "type": "payment.reminder",
              "updatedAt": 1745377230152,
              "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
              "paymentLinkTransactionId": "d43eaa25-01b7-461e-9340-ba95b453cb84",
              "urlDestination": "https://eoze6x1sc8k58q4.m.pipedream.net",
              "responsePayload": null,
              "source": "AUTOMATIC"
          },
          {
              "id": "539e936e-5fa2-4710-b8fd-50863c188921",
              "createdAt": 1745377228533,
              "nextDelivery": null,
              "paymentLinkId": "670ee967-8d09-40d4-95b2-7983f6ce5544",
              "payload": "{\"event\":\"payment.reminder\",\"data\":{\"id\":\"c238d027-fe8c-4777-9241-48c635b66597\",\"transactionId\":\"c238d027-fe8c-4777-9241-48c635b66597\",\"status\":\"SUCCESS\",\"transactionStatus\":\"created\",\"createdAt\":\"2025-04-23T02:26:35.509Z\",\"updatedAt\":\"2025-04-23T02:30:24.027Z\",\"merchantId\":\"8afa8430-9ccd-4d33-9c1b-e0999a319994\",\"merchantEmail\":\"mayartesting05@gmail.com\",\"customerName\":\"ali kusnadi\",\"customerEmail\":\"kugutsu.hiruko@gmail.com\",\"customerMobile\":\"6285797522261\",\"amount\":13782,\"isAdminFeeBorneByCustomer\":true,\"isChannelFeeBorneByCustomer\":true,\"productId\":\"670ee967-8d09-40d4-95b2-7983f6ce5544\",\"productName\":\"test UIUX Membership\",\"productType\":\"membership\",\"pixelFbp\":\"fb.1.1745375116069.518591344665233937\",\"pixelFbc\":null,\"qty\":1,\"couponUsed\":null,\"paymentMethod\":\"qris\",\"paymentUrl\":\"https://andiak.myr.id/select-channel/c238d027-fe8c-4777-9241-48c635b66597?webhook=true\"}}",
              "status": "SUCCESS",
              "type": "payment.reminder",
              "updatedAt": 1745377228533,
              "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
              "paymentLinkTransactionId": "c238d027-fe8c-4777-9241-48c635b66597",
              "urlDestination": "https://eoze6x1sc8k58q4.m.pipedream.net",
              "responsePayload": null,
              "source": "AUTOMATIC"
          },
          {
              "id": "b13dbe97-1dd6-4383-ab92-400f9cdd3b74",
              "createdAt": 1745377224450,
              "nextDelivery": null,
              "paymentLinkId": "805ceb62-54c9-4671-9b2a-4d13c643b78e",
              "payload": "{\"event\":\"payment.reminder\",\"data\":{\"id\":\"8850d886-39a7-42f7-927c-16e8fb346d16\",\"transactionId\":\"8850d886-39a7-42f7-927c-16e8fb346d16\",\"status\":\"SUCCESS\",\"transactionStatus\":\"created\",\"createdAt\":\"2025-04-23T02:30:29.693Z\",\"updatedAt\":\"2025-04-23T02:35:31.235Z\",\"merchantId\":\"8afa8430-9ccd-4d33-9c1b-e0999a319994\",\"merchantEmail\":\"mayartesting05@gmail.com\",\"customerName\":\"Firzha Ardhia Ramadhan\",\"customerEmail\":\"zhaardhiatesting@gmail.com\",\"customerMobile\":\"08551498798\",\"amount\":1073,\"isAdminFeeBorneByCustomer\":true,\"isChannelFeeBorneByCustomer\":true,\"productId\":\"805ceb62-54c9-4671-9b2a-4d13c643b78e\",\"productName\":\"test UIUX Audiobook\",\"productType\":\"audiobook\",\"pixelFbp\":\"fb.1.1721824347392.952216048745555286\",\"pixelFbc\":null,\"qty\":1,\"couponUsed\":null,\"paymentMethod\":\"qris\",\"paymentUrl\":\"https://andiak.myr.id/select-channel/8850d886-39a7-42f7-927c-16e8fb346d16?webhook=true\"}}",
              "status": "SUCCESS",
              "type": "payment.reminder",
              "updatedAt": 1745377224450,
              "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
              "paymentLinkTransactionId": "8850d886-39a7-42f7-927c-16e8fb346d16",
              "urlDestination": "https://eoze6x1sc8k58q4.m.pipedream.net",
              "responsePayload": null,
              "source": "AUTOMATIC"
          }
      ]
  }
  ```
</ResponseExample>

Endpoint:

<CodeGroup>
  ```Production Production theme={null}
  https://api.mayar.id/hl/v1/webhook/history?page=1&pageSize=10
  ```

  ```Sandbox Sandbox theme={null}
  https://api.mayar.club/hl/v1/webhook/history?page=1&pageSize=10
  ```
</CodeGroup>

## Authorization

<ResponseField name="Authorization" type="string" required>
  Example:

  `Authorization | Bearer Paste-Your-API-Key-Here`
</ResponseField>

## Query Parameters

<ParamField query="page" path="page" default={1} type="integer" required>
  Determine which page.
</ParamField>

<ParamField query="pageSize" path="pageSize" default={10} type="integer" required>
  How much data is displayed on the page.
</ParamField>

## Response

Successful Response

### Main Structure (Root)

<ResponseField name="statusCode" type="integer" required>
  Status code form API.
</ResponseField>

<ResponseField name="messages" type="string" required>
  Status message that describes the status code.
</ResponseField>

<ResponseField name="hasMore" type="boolean" required>
  Information on whether there is additional data to be retrieved (true/false).
</ResponseField>

<ResponseField name="pageCount" type="integer" required>
  Total number of data pages.
</ResponseField>

<ResponseField name="pageSize" type="integer" required>
  Number of items per page.
</ResponseField>

<ResponseField name="page" type="integer" required>
  The page currently displayed.
</ResponseField>

<ResponseField name="data" type="array of object">
  List of products displayed.
</ResponseField>

### data Structure (Array Of Object)

<ParamField path="id" type="string<uuid>" required>
  Webhook delivery record ID.
</ParamField>

<ParamField path="createdAt" type="integer (timestamp)" required>
  Creation time of the webhook delivery log.
</ParamField>

<ParamField path="nextDelivery" type="string | null" required>
  Timestamp of the next delivery attempt (if any).
</ParamField>

<ParamField path="paymentLinkId" type="string<uuid>" required>
  Associated payment link ID.
</ParamField>

<ParamField path="payload" type="string (JSON string)" required>
  Original webhook payload sent (contains event + transaction data).
</ParamField>

<ParamField path="status" type="string" required>
  Delivery status (example: `"SUCCESS"`).
</ParamField>

<ParamField path="type" type="string" required>
  Webhook event type (example: `"payment.received"`, `"payment.reminder"`).
</ParamField>

<ParamField path="updatedAt" type="integer (timestamp)" required>
  Last update timestamp.
</ParamField>

<ParamField path="userId" type="string" required>
  User ID who owns this webhook.
</ParamField>

<ParamField path="paymentLinkTransactionId" type="string<uuid>" required>
  Associated transaction ID.
</ParamField>

<ParamField path="urlDestination" type="string (URL)" required>
  Destination endpoint where the webhook is delivered.
</ParamField>

<ParamField path="responsePayload" type="string | null" required>
  Response returned from the destination endpoint.
</ParamField>

<ParamField path="source" type="string" required>
  Indicates whether the webhook was sent automatically or manually (example: `"AUTOMATIC"`).
</ParamField>


Built with [Mintlify](https://mintlify.com).