curl --location 'https://api.nomba.com/v1/webhooks/event-logs' \ --header 'Authorization: Bearer <token> \ --header 'Content-Type: application/json' \ --header 'accountId: <accountId>' \ --data '{ "accountId": "6703XXXd1-158a-42XX-8f0b-XXXXXXXXX", "limit": 1, "eventType": "payment_success", "startDateTime": "2025-03-03", "endDateTime": "2025-03-12" }'
{ "code": "200", "description": "Webhook events fetched successfully", "data": { "list": [ { "webhookUrl": "https://hip-namsj.preme.ngrok-free.app/api/v1/nomba-hook", "eventId": 257, "eventType": "payment_success", "hookRequestId": "ff99274c-58f7-4da4-b20f-XXXXXXXX", "responsePayload": "This URL has no default content configured. <a href=\"https://webhook.site/#!/edit/7604-6372-41ee-8f89-d28b8d21944b\">Change response in Webhook.site</a>.", "responseHttpStatus": 200 }, ], "pageToken": "MjEyOTY3MThzM2NyM3Q=" } }
Learn how to track failed webhooks via insightful logs.
POST /v1/webhooks/event-logs
payment_success
Hide object
Hide event object