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 Subscriptionwebhook.canceled_subscription
    Triggers when a Stripe subscription is canceled.

  • Checkout Session Completedwebhook.checkout_session_completed
    Triggers when a Stripe checkout session completes.

  • Failed Paymentwebhook.failed_payment
    Triggers when a Stripe payment fails.

  • Invoice Payment Failedwebhook.invoice_payment_failed
    Triggers when a Stripe invoice payment fails.

  • New Chargewebhook.new_charge
    Triggers when a Stripe charge succeeds.

  • New Customerwebhook.new_customer
    Triggers when a Stripe customer is created.

  • New Disputewebhook.new_dispute
    Triggers when a Stripe charge dispute is created.

  • New Paymentwebhook.new_payment
    Triggers when a Stripe payment intent is created.

  • New Refundwebhook.new_refund
    Triggers when a Stripe charge is refunded.

  • New Subscriptionwebhook.new_subscription
    Triggers when a Stripe subscription is created.

  • Updated Subscriptionwebhook.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].