Partner Webhooks
Partner webhooks let you receive notifications about events in your account. These webhooks are essential for building integrations and keeping your systems synchronized with data.
What are Partner Webhooks?
Partner webhooks are HTTP callbacks that sends to your specified endpoints when certain events occur in your account. They enable real-time notifications and help you build powerful integrations.
Key Benefits
Receive instant notifications when events occur in your account
Trigger automated processes based on events
Keep your systems in sync with data changes
Build custom integrations with third-party services
How It Works
- Configure your webhook endpoint
- Subscribe to specific events you want to monitor
- Receive HTTP POST requests when events occur
- Process the webhook payload in your application
Setting Up Partner Webhooks
Step 1: Create Your Webhook Endpoint
Create an HTTP endpoint in your application that can receive POST requests. This endpoint should:
- Accept HTTP POST requests
- Validate the webhook signature for security
- Process the webhook payload
- Return a 2xx status code to acknowledge receipt
app.post('/webhook/create-merchant', (req, res) => {
// Validate signature
// Process webhook data
res.status(200).send('OK');
});Testing Tools
For testing and development, you can use services like webhook.site to create temporary webhook endpoints that help you inspect the payloads ReadMe sends.
