Overview
Webhooks allow TXCloud to push real-time notifications to your server when events occur. Instead of polling our API, you receive updates automatically.How Webhooks Work
Setting Up Webhooks
Step 1: Create a Webhook Endpoint
Create an endpoint on your server to receive webhook events:Step 2: Register Your Webhook
Webhook Events
Identity Events
Fraud Events
Transaction Events
Lending Events
Watchlist Events
Event Payload
All webhook events follow this structure:Signature Verification
TXCloud signs all webhook payloads using HMAC-SHA256:X-TXCloud-Signature header:
Retry Policy
If your endpoint fails to respond with a 2xx status, TXCloud will retry:
After 7 failed attempts, the webhook is marked as failed and we’ll notify you via email.
Best Practices
Respond Quickly
Respond Quickly
Return a 200 response immediately, then process asynchronously:
Handle Duplicates
Handle Duplicates
Events may be delivered more than once. Use the event
id for idempotency:Use a Queue
Use a Queue
For high-volume webhooks, push events to a queue:
- Amazon SQS
- Redis Queue
- RabbitMQ
Monitor Delivery
Monitor Delivery
Check webhook delivery status in your dashboard. Failed webhooks are logged with error details.
Testing Webhooks
Send a Test Event
Local Development
Use a tunneling service for local testing:Webhook Logs
View delivery logs in the dashboard or via API:Webhook Dashboard
View and manage webhooks in your dashboard