Webhook Endpoints API
Webhook endpoints receive normalized billing events from the Subscriptions Engine.POST /auth/set-webhook-url
Set the webhook URL for a tenant.Request body
| Field | Type | Required | Description |
|---|---|---|---|
webhookUrl | string | Yes | Public HTTPS endpoint that receives webhooks. |
Response
Delivery headers
Webhook deliveries include:| Header | Description |
|---|---|
x-nombasub-event | Event type, such as invoice.paid. |
x-nombasub-webhook-id | Unique delivery ID. |
x-nombasub-tenant-id | Tenant ID. |
x-nombasub-timestamp | Delivery timestamp. |
x-nombasub-signature | Signature when a webhook secret is configured. |
