Skip to main content

Stripe Webhooks

Stripe webhooks enable real-time notifications for key events in your Stripe account, such as payments, subscriptions, and customer updates. These webhooks allow automated workflows and integrations to react instantly to changes in your Stripe environment.

Getting Started​

Before using the Stripe Webhooks, you'll need to complete a few setup steps.

Prerequisites​

  • Stripe Account: Sign up at the Stripe website if you don’t already have an account.
  • Webhook Endpoint: Create and configure your webhook endpoint in the Stripe Dashboard.
  • Stripe API Key: Obtain your secret key from the API Keys section of your Stripe Dashboard.

Supported Authentication Methods​

  • API Key: Authenticate webhook requests securely using your Stripe secret API key.

Webhook Triggers​

Below are the supported webhook triggers for Stripe:

  • Canceled Subscription — webhook.canceled_subscription
    Triggers when a Stripe subscription is canceled.

  • Checkout Session Completed — webhook.checkout_session_completed
    Triggers when a Stripe checkout session completes.

  • Failed Payment — webhook.failed_payment
    Triggers when a Stripe payment fails.

  • Invoice Payment Failed — webhook.invoice_payment_failed
    Triggers when a Stripe invoice payment fails.

  • New Charge — webhook.new_charge
    Triggers when a Stripe charge succeeds.

  • New Customer — webhook.new_customer
    Triggers when a Stripe customer is created.

  • New Dispute — webhook.new_dispute
    Triggers when a Stripe charge dispute is created.

  • New Payment — webhook.new_payment
    Triggers when a Stripe payment intent is created.

  • New Refund — webhook.new_refund
    Triggers when a Stripe charge is refunded.

  • New Subscription — webhook.new_subscription
    Triggers when a Stripe subscription is created.

  • Updated Subscription — webhook.updated_subscription
    Triggers when a Stripe subscription is updated.

Conclusion​

Stripe webhooks provide reliable, real-time notifications to help you automate financial workflows and maintain up-to-date system states across your applications.

For assistance, please contact Boltic support at [email protected].