Once you've set up the API keys for both Live and Test modes, the next step is to add the Webhook.

What does the webhook do?

A webhook is a way for the payment system (like Stripe or Fatgalah's API) to send real-time updates to your system. For example, when a payment is successful, failed, refunded, or a customer updates their details, the webhook automatically sends that information to your server.

Think of it like this:
Instead of your system constantly asking, "Has anything happened yet?" , the webhook just pushes the update as soon as something happens.

Why it's important:

  • It keeps your system in sync with real-time events.
  • It helps you automatically trigger actions (e.g. update order status, send emails, or show payment confirmations).
  • It works even if your website or app isn’t open.


  1. Go to Webhook
  2. Click on  + Add Endpoint
  3.  Type in the Endpoint URL the following: ie: https://yourdomainname.com.au/webhooks/stripe

  4. Click on the Add endpoint Button

That's it the Webhook is done