Skip to main content

BillingWebhookController

Provider webhook intake.

Base path/api/webhooks
ModuleBilling & Platform
Endpoints1
OpenAPI tagBilling Webhooks
Sourcebackend/src/main/java/com/motorph/payroll/controller/BillingWebhookController.java

Endpoints​

MethodPathRequiresHandler
POST/api/webhooks/{provider}Public — no authenticationreceive()

Notes​

  • POST /api/webhooks/{provider} — rawBody is bound as a String on purpose: signatures cover the exact bytes sent, and the body can only be read once, so letting Jackson parse first would make verification impossible.

Call chain​

Dependencies​

Constructor-injected by Lombok's @RequiredArgsConstructor: BillingService.

Tables reached​

EntityTableTenant-scoped
BillingSubscriptionbilling_subscription—
BillingWebhookEventbilling_webhook_event—

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/.