Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.realtoraai.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Receive and process Stripe webhook events for subscription lifecycle management.

Endpoint

POST /functions/v1/stripe-webhook

Authentication

Stripe signature verification.

Events Handled

  • checkout.session.completed — New subscription
  • invoice.paid — Successful payment
  • invoice.payment_failed — Failed payment
  • customer.subscription.updated — Plan change
  • customer.subscription.deleted — Cancellation