Events
A Webhook Event represents something that happened in the Nayax Energy Core system. Events are created once and contain:id- Unique identifier for the eventeventType- The type of event (e.g.,ocpp.message)createdAt- When the event occurredpayload- The event data
Deliveries
A Webhook Delivery represents an attempt to send an event to a specific endpoint. One event can have multiple deliveries if you have multiple webhook endpoints subscribed to the same event type. Deliveries contain:id- Unique identifier for the deliveryeventId- The event this delivery is foreventType- The type of eventpayload- The event datastatus- Current status:success, orfailedattempts- Array of delivery attempts with timestamps and any errors
Relationship
- See the original event data regardless of delivery status
- Track delivery attempts independently for each endpoint
- Resend failed deliveries without creating duplicate events