Skip to main content
Webhooks let Vayu push notifications to your server when billing events occur. You subscribe per event type with a callback URL, and Vayu sends a signed POST request whenever that event fires.

Subscribing

Endpoint: POST /webhook

Available event types

Webhook payloads

Overage

AnonymousCustomer

UpcomingRenewal

InvoiceApproved

InvoicePaymentStatusChanged

TierCrossed

CommitmentCrossed

FinalTierExceeded

UnchargedEvents

Handling webhook events

A minimal server that receives Vayu webhooks, routes by event type, and reads the payload:
In production, always verify the webhook signature before processing the payload.

Webhook security

All Vayu webhook requests include headers for signature verification: The signed message is: ${timestamp}.${JSON.stringify(payload)} Only HTTPS callback URLs are supported.

Verifying signatures

The TypeScript SDK provides a built-in helper. Built-in verification for the Python and Go SDKs is coming soon — in the meantime, verify manually using Vayu’s public key.