BillingWebhookEvent
Ledger of accepted webhook deliveries.
| Table | billing_webhook_event |
| Tenant-scoped | No — global table |
| Columns | 9 |
| Relationships | 0 |
| Source | backend/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
| Field | Type | Column | Null | Notes |
|---|---|---|---|---|
billingWebhookEventId | Integer | billing_webhook_event_id | — | primary key, generated |
provider | String | provider | — | — |
eventId | String | event_id | — | The provider's own delivery id -- for Standard Webhooks, the webhook-id header. |
eventType | String | event_type | — | — |
payload | String | payload | Yes | — |
processed | boolean | processed | — | — |
processingError | String | processing_error | Yes | — |
receivedDate | LocalDateTime | received_date | — | — |
processedDate | LocalDateTime | processed_date | Yes | — |
Repository
BillingWebhookEventRepository
Declared over BillingWebhookEvent with id type Integer. Source: backend/src/main/java/com/motorph/payroll/repository/BillingWebhookEventRepository.java
| Method | Returns | Notes |
|---|---|---|
existsByProviderAndEventId(String provider, String eventId) | boolean | derived |
Reached by
These controllers hold — directly or through a service they depend on — a repository over BillingWebhookEvent.
| Controller | Base path | Endpoints | Module |
|---|---|---|---|
| BillingController | /api/billing | 2 | Billing & Platform |
| BillingWebhookController | /api/webhooks | 1 | Billing & 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/.