Skip to main content

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

Always verify webhook signatures to ensure events are from TXCloud.
TXCloud signs all webhook payloads using HMAC-SHA256:
The signature is sent in the 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.
Return a 2xx response as quickly as possible. Process events asynchronously to avoid timeouts.

Best Practices

Return a 200 response immediately, then process asynchronously:
Events may be delivered more than once. Use the event id for idempotency:
For high-volume webhooks, push events to a queue:
  • Amazon SQS
  • Redis Queue
  • RabbitMQ
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