Skip to main content
curl --request POST 'https://api.mayar.id/hl/v2/webhooks/retry' \
--header 'Authorization: Bearer Paste-Your-API-Key-Here' \
--data '{
    "webhookHistoryId": "a1b2c3d4-e5f6-4789-a012-3456789abcde"
}'
{
  "statusCode": 200,
  "messages": "success"
}
Endpoint:
https://api.mayar.id/hl/v2/webhooks/retry

Authorization

Authorization
string
required
Example:Authorization | Bearer Paste-Your-API-Key-Here

Request Body

webhookHistoryId
string
required
Unique ID for the webhook delivery history log to retry.

Response

Successful Response

Main Structure (Root)

statusCode
integer
Status code form API.
messages
string
Status message that describes the status code.

Errors

400 — no registered URL hook
object
Returned when no webhook URL is registered yet: { "statusCode": 400, "messages": "Url tidak ditemukan. Silahkan register url webhook anda terlebih dahulu." }.
404 — Webhook history not found
object
Returned when the supplied webhookHistoryId does not match any record: { "statusCode": 404, "messages": "Webhook history not found" }.