Skip to main content

BillingWebhookEvent

Ledger of accepted webhook deliveries.

Tablebilling_webhook_event
Tenant-scopedNo — global table
Columns9
Relationships0
Sourcebackend/src/main/java/com/motorph/payroll/model/BillingWebhookEvent.java
Not tenant-scoped

This entity does not extend TenantOwned, so its rows are shared across every tenant. TenantCoverageTest allows that only for tables deliberately declared global.

Columns​

FieldTypeColumnNullNotes
billingWebhookEventIdIntegerbilling_webhook_event_id—primary key, generated
providerStringprovider——
eventIdStringevent_id—The provider's own delivery id -- for Standard Webhooks, the webhook-id header.
eventTypeStringevent_type——
payloadStringpayloadYes—
processedbooleanprocessed——
processingErrorStringprocessing_errorYes—
receivedDateLocalDateTimereceived_date——
processedDateLocalDateTimeprocessed_dateYes—

Repository​

BillingWebhookEventRepository​

Declared over BillingWebhookEvent with id type Integer. Source: backend/src/main/java/com/motorph/payroll/repository/BillingWebhookEventRepository.java

MethodReturnsNotes
existsByProviderAndEventId(String provider, String eventId)booleanderived

Reached by​

These controllers hold — directly or through a service they depend on — a repository over BillingWebhookEvent.

ControllerBase pathEndpointsModule
BillingController/api/billing2Billing & Platform
BillingWebhookController/api/webhooks1Billing & Platform

Generated page

This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.