Webhook Setup
Part 1: Creating a Webhook Subscriber
const express = require('express');
const app = express();
const port = 3000;
app.post('/webhook', (req, res) => {
const requestPayload = req.body;
console.log('Received webhook payload:', requestPayload);
// Process the webhook payload here
res.status(200).send('Webhook Received');
});
app.listen(port, () => {
console.log(`Webhook subscriber listening at http://localhost:${port}/webhook`);
});Part 2: Setting Up Webhook in the Dashboard
Navigate to Webhook Section
Head over to the Your Webhook section:
Paste your Webhook Subscriber URL in the input field
Click on "Confirm or Update Webhook" button to save the webhook URL
Test Your Webhook:
Your webhook subscriber should receive a test notification from the ticketing system.
This test notification confirms that your webhook is correctly set up and able to receive data
View Notifications in Webhook Dashboard:
All the notifications that are being sent to your webhook subscriber are also visible on your ticketing dashboard.
Sample Transaction Payload:
Last updated