Webhooks

DayZero receives real-time event notifications from external services via webhooks. All webhooks verify signatures before processing.

Supported Integrations

Source Endpoint Events
Stripe /api/v1/webhooks/stripe Payments, subscriptions, invoices, payouts
Shopify /api/v1/webhooks/shopify Orders, products, inventory
Plaid /api/v1/webhooks/plaid Bank connection updates, transactions

How Webhooks Work

  1. External service sends a POST to the webhook endpoint
  2. DayZero verifies the request signature
  3. The event is processed (journal entries created, statuses updated, etc.)
  4. A 200 OK response confirms receipt

Stripe Webhook Events

Event Action
invoice.finalized Creates AR/Sales journal entry
invoice.paid Creates payment journal entry
invoice.voided Validates void journal entry
payout.paid Creates payout journal entry
customer.subscription.* Updates subscription status

Shopify Webhook Events

Event Action
orders/create Creates revenue journal entry
orders/paid Records payment
refunds/create Creates refund journal entry
products/update Syncs inventory data

Security

All webhook endpoints are unauthenticated (no Bearer token) but verified:

  • Stripe: Signature verification via Stripe-Signature header
  • Shopify: HMAC-SHA256 verification
  • Plaid: Webhook verification token