Webhooks

Kickstart API has implemented the following stripe webhook events

  • invoice.paid
  • invoice.payment_failed
  • customer.subscription.deleted
  • customer.subscription.created

Login to stripe console to set up the webhook endpoint

Add a webhook endpoint

Reveal webhook secret

Record down the following settings:

  • Webhooks secret

Configure Webhooks secret into the api/.env

STRIPE_WEBHOOK_SECRET=YOUR_STRIPE_WEBHOOK_SECRET

Disable the text mode and repeat the same steps to create the webhook for the production environment.