Get Deliver Logs

Nomba offers a smooth method for tracking down or debugging earlier webhooks that were sent to your system. The URL or event type of webhooks sent within a given timeframe can be obtained by querying the event log API if you wish to verify whether a webhook was actually sent to your system. When a problem occurs and you need to go back and confirm that you have received notifications of all payment events via webhooks, this can be helpful. To do this, send a POSTrequest to thisβ€œ; this will return a detailed list of events that have been sent to your system. See a sample request and response data below:
curl --request POST \ 
--url https://api.nomba.com/v1/webhooks/event-logs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'accountId: <accountid>' \
--data '{
        "coreUserId": "6703XXXd1-158a-42XX-8f0b-XXXXXXXXX",
        "limit": 1,
        "eventType": "payment_success",
        "startDateTime": "2025-03-03",
        "endDateTime": "2025-03-12"
   }'

Repush

After carefully reviewing the webhook via the event log API, you may want to do a single webhook repush or bulk repush; this will trigger a resend of the event back to your system. To do a repush, send a POST request to v1/webhooks/re-push, copy the hooksRequestId of the event to repush from the event log list, and pass it as the request payload. See a sample request and response data below:
curl --request POST \ 
--url https://api.nomba.com/v1/webhooks/re-push \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'accountId: <accountId>'\
--data '{
    "hooksRequestId": "6703XXXd1-158a-42XX-8f0b-XXXXXXXXX"
  }'

Bulk Repush

Trigger a bulk webhook repush by passing an array of hooksRequestIds selected from your delivery logs. See a sample request and response data below:
curl --request POST \ 
--url https://api.nomba.com/v1/webhooks/bulk-re-push \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'accountId: <accountId>' \
--data '{
    "hooksRequestIds": [
      "6703XXXd1-158a-42XX-8f0b-XXXXXXXXX",
      "703XXXd1-158a-42XX-8f0b-XXXXXXXXX",
      "8703XXXd1-158a-42XX-8f0b-XXXXXXXXX"
    ]
  }'

Webhook Events

You can also query all events that were sent to your system. See a sample request and response data below:
curl --request POST \ 
--url https://api.nomba.com/v1/webhooks/events \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'accountId: <accountId>'\
--data '{
    "coreUserId": "6703XXXd1-158a-42XX-8f0b-XXXXXXXXX",
    "limit": 20
  }'