Handle Memberful webhooks for subscription lifecycle events

domain: memberful.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Configure a webhook endpoint URL and select event types under Settings > Webhooks in the Memberful dashboard
  2. Handle events such as subscription.created, subscription.activated, subscription.renewed, subscription.deactivated, subscription.deleted, and order.purchased/order.refunded
  3. Parse the JSON body, which is keyed by an event field alongside the affected object (e.g. {"event":"subscription.created","subscription":{...}})
  4. Verify the X-Memberful-Webhook-Signature header (an HMAC-SHA256 of the raw request body using the webhook secret) with a constant-time comparison
  5. Re-fetch current state via the GraphQL API rather than trusting webhook payload freshness, since delivery order isn't guaranteed

Known gotchas

Related routes

Manage Stora webhook endpoints programmatically and subscribe to lifecycle events across contracts, invoices, and units
docs.stora.co · 6 steps · unrated
JobAdder API: create and manage webhooks for entity lifecycle events
jobadder.com · 6 steps · unrated
register webhooks for Ghost member lifecycle events (added/edited/deleted)
ghost.org · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans