Boost My AgentGet Boost OS
RevenueCat

RevenueCat starter module

Purchase webhooks

Receives trusted purchase lifecycle events and processes repeat deliveries once.

Files
5
Lines
602
Languages
TypeScript

Included files

This page lists paths and purposes, not source contents.

  • src/webhooks/handle-webhook-event.ts

    Claims RevenueCat events, reconciles current state, and records the outcome.

    TypeScript

    127 lines

  • src/webhooks/reconcile-cli.ts

    Fetches and optionally records one customer's current RevenueCat state.

    TypeScript

    105 lines

  • src/webhooks/reconcile.ts

    Rebuilds a customer's billing state from RevenueCat's current server truth.

    TypeScript

    196 lines

  • src/webhooks/replay-local.ts

    Proves the webhook flow on your machine: no deployed URL, no dashboard,

    TypeScript

    140 lines

  • src/webhooks/verify-authorization.ts

    Verifies the static Authorization value attached to RevenueCat webhooks.

    TypeScript

    34 lines