Documentation Index
Fetch the complete documentation index at: https://docs.txcloud.thetekcircle.io/llms.txt
Use this file to discover all available pages before exploring further.
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
| Event | Description |
|---|---|
identity.verification.completed | Verification finished successfully |
identity.verification.failed | Verification failed |
identity.session.expired | Session expired before completion |
Fraud Events
| Event | Description |
|---|---|
fraud.signal.detected | Fraud signal detected |
fraud.device.blocked | Device added to blocklist |
fraud.rule.triggered | Custom rule was triggered |
Transaction Events
| Event | Description |
|---|---|
transaction.scored | Transaction was scored |
transaction.review_required | Manual review needed |
transaction.fraud_detected | Fraud confirmed |
Lending Events
| Event | Description |
|---|---|
lending.assessment.completed | Credit assessment finished |
lending.statement.analyzed | Bank statement analysis complete |
lending.monitor.alert | Monitoring alert triggered |
Watchlist Events
| Event | Description |
|---|---|
watchlist.screening.completed | Screening finished |
watchlist.match.found | Potential match found |
watchlist.monitor.alert | Ongoing monitoring alert |
Event Payload
All webhook events follow this structure:| Field | Type | Description |
|---|---|---|
id | string | Unique event ID |
type | string | Event type |
created_at | datetime | When event was created |
api_version | string | API version used |
data | object | Event-specific payload |
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:| Attempt | Delay |
|---|---|
| 1 | Immediate |
| 2 | 1 minute |
| 3 | 5 minutes |
| 4 | 30 minutes |
| 5 | 2 hours |
| 6 | 12 hours |
| 7 | 24 hours |
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