Skip to main content

Setup

Required env vars:

Webhooks

Enable these events in your Stripe dashboard:
  • checkout.session.completed
  • customer.created
  • customer.updated
  • customer.deleted
  • customer.subscription.created
  • customer.subscription.updated
  • customer.subscription.deleted
  • payment_intent.created
  • payment_intent.succeeded
  • payment_intent.canceled
  • payment_intent.processing
  • payment_intent.requires_action
  • payment_intent.amount_capturable_updated
  • payment_intent.payment_failed
  • invoice.paid
  • refund.created

Raw Stripe events

Opt into any native Stripe event — fully typed against the Stripe SDK types:
All Stripe event types (stripe.<Stripe.Event.Type>) are available and typed. A subset also emit a standard PayKit event: Everything else — including stripe.charge.* — is available as a raw event only.

provider_metadata

provider_metadata for Stripe operations is typed directly against the Stripe SDK params: