The Betterez Webhooks are used to be notified about events that happen in the platform.
Betterez will send a webhook that notify your application any time an event happens on your account. Like when a transaction is completed or a ticket cancelled. Our webhooks retries 5 times, with 10 seconds between each.
You can register one or more URLs that will be listening (POSTs) to our notifications in real-time. Every event sent has an object with all the needed information, metadata and a signature to guarantee security.
In this documentation you will find different views of the webhooks, you can choose any model and see the associated webhooks and the payload they are sending or given a scenario (ex: after a Ticket cancellation) you may want to see the webhooks fired.
Here you will find some code examples for receiving the Betterez webhooks.
Testing and exploring webhooks
We recommend the use of https://webhook.site/ to test and explore webhooks without the need to setup any infrastructure in your end.
When you go to the site the first time you will be provided with a unique URL that you can use to register webhooks on Betterez. More information available in the webhook.site documentation