Skip to navigation Skip to main content
  • Home
  • Price
  • Docs
  • Learn
  • Contact us

Technical & Architecture

19
  • Control vs. Data Plane Architecture: Decoupling Web Dashboard from Client Engine
  • Client Core Architecture: TUN Interface & Split Tunneling Specs
  • Webhook Event Pipeline for Automation & Billing Platforms
  • BEX Reseller REST API Specification & OAuth Authentication
  • Automated Top-Up Market & Crypto Instant Settlement Architecture
  • Sub-Reseller Hierarchy & Multi-Tier Credit Allocation Engine
  • Tokenized Bandwidth Economics & Balance Solvency Architecture
  • Edge Rate-Limiting & Traffic Anti-Abuse Architecture
  •  Zero-Log Edge Telemetry & Real-Time Gateway Health Monitoring
  • Cryptographic Key Exchange & DNS/IPv6 Leak Prevention
  • Zero-Log Pipeline & RAM-Only Server Operating Environment
  • BEX Global Routing Infrastructure & Gateway Node Distribution
  • Shared Bandwidth Pools & Multi-Device Volume Allocation in Gigify
  •  Cumulative Quota Engine & Validity Rollover Protocol
  • Gigify Real-Time Metering Engine & Per-GB Bandwidth Accounting
  • Priority Routing & Dedicated Gateway Bandwidth Allocation
  • Concurrent Device Handshake & Hardware ID Allocation
  • Premiume Subscription Lifecycle & Fixed Timeframe Engine
  • Active vs. Inactive Session Detection Protocols

Legal & Transparency

8
  • Refund Eligibility & Balance Adjustment Terms
  • Cryptocurrency Billing & Wallet Top-Up Terms
  • Sub-Reseller Hierarchy Regulations & Compliance Guidelines
  • Reseller Partner Agreement & Token Ownership Rules
  • Service Availability & SLA Commitments
  • End User Lisense Agreement (EULA) & Acceptable Use Policy
  • RAM-Only Processing & Non-Retention Policy Specs
  • BEX Strict Zero-Logs Privacy Policy & Data Handling Specifications

Frequently Asked Questions

16
  • What should I do if I experience connection timeouts or speed degradation?
  • What encryption algorithms and routing protocols are implemented?
  • How does BEX prevent DNS, WebRTC, and IPv6 leaks?
  • Does BEX VPN log my browsing activity, IP address, or traffic data?
  • Can I integrate BEX services with Telegram bots or custom WHMCS platforms?
  • How does instant settlement work in the automated Top-Up market?
  • How do I configure Sub-Reseller accounts and commission tiers?
  • How do bandwidth tokens work in the BEX Reseller ecosystem?
  • What cryptocurrency payment methods are accepted for top-ups?
  • Does unused bandwidth expire in Gigify plans?
  • How is bandwidth usage calculated and tracked in Premium and Gigify plans?
  • What is the difference between Premium and Gigify plans?
  • Can I use my account across multiple devices simultaneously?
  • How do I create and secure my BEX account?
  • Do I connect to the network from the web dashboard or the client app?
  • What is BEX VPN and how does it differ from traditional VPNs?
  • Home
  • Docs
  • Technical & Architecture
  • Webhook Event Pipeline for Automation & Billing Platforms
View Categories

Webhook Event Pipeline for Automation & Billing Platforms

1 min read

1. Overview & Event Architecture #

The BEX Webhook Event Pipeline provides an asynchronous, real-time event-driven push architecture that bridges network activities with external management software, billing platforms (e.g., WHMCS, Blesta), custom ERPs, and automation platforms (e.g., Zapier, Make). By eliminating the need for inefficient HTTP polling, BEX streams state transitions, usage alerts, and account events instantaneously, enabling distributors and partners to trigger automated billing, customer notifications, and provisioning workflows with zero latency.

2. Webhook Event Types & Payload Protocols #

BEX dispatches structured, versioned JSON event payloads over secure HTTPS POST channels. Event types are categorized by functional domain:

  • Account & Balance Events:
    • account.balance.low — Triggered when a reseller or user balance drops below set thresholds.
    • account.balance.depleted — Dispatched immediately upon balance exhaustion.
    • account.topup.success — Confirms successful cryptographic or manual top-ups.
  • Session & Usage Events:
    • session.bandwidth.capped — Fired when an active connection hits a allocated quota.
    • session.anomaly.detected — Indicates suspicious traffic spikes or security flags.
  • Reseller Lifecycle Events:
    • subreseller.created — Dispatched when a new downstream sub-account is provisioned.
    • subreseller.status.changed — Emitted upon suspension, reactivation, or privilege modification.

Payload structure format (raw text JSON):

{“event_id”: “evt_98f41a02”, “event_type”: “account.balance.low”, “timestamp”: 1758882000, “data”: {“reseller_id”: “res_88201”, “remaining_tokens”: 150, “threshold_tokens”: 200, “currency_equivalent_usd”: 15.00}}

3. HMAC-SHA256 Signature Verification & Security #

To prevent webhook spoofing, payload tampering, and replay attacks over public networks, BEX enforces strict cryptographic verification headers on all outgoing webhook payloads:

  • Cryptographic Signatures: Every HTTP POST request includes an X-BEX-Signature header generated using HMAC-SHA256 with the partner’s unique webhook secret key.
  • Anti-Replay Timestamping: Payloads include an X-BEX-Timestamp header. Receiving servers validate that the request timestamp is within a 300-second window to reject replayed requests.
  • IP Whitelisting & TLS 1.3: Webhooks originate exclusively from dedicated, static BEX delivery IP clusters using mandatory TLS 1.3 encryption.

4. Exponential Backoff, Dead Letter Queues (DLQ) & Idempotency #

To guarantee reliable event delivery even during receiving server downtime or network degradation, BEX operates a resilient queue delivery pipeline:

  • At-Least-Once Delivery & Retries: If an endpoint fails to return a 2xx HTTP status, BEX initiates an automated retry strategy using exponential backoff with jitter across 24 hours (e.g., retries at 10s, 1m, 5m, 1h, 6h, 24h).
  • Dead Letter Queue (DLQ): Messages failing all retry attempts are safely quarantined into a Dead Letter Queue. Resellers can inspect failed events and execute manual replay triggers via the BEX portal or API.
  • Consumer Idempotency: Receiving platforms use the unique event_id key to ensure idempotent processing, preventing duplicate actions if a webhook is delivered more than once.

5. Key Strategic Benefits #

  • Real-Time Automated Billing: Instant synchronization with external platforms for suspended access, top-ups, and overage invoicing.
  • Elimination of Polling Overhead: Saves network bandwidth and server resources by replacing high-frequency API polling with event pushes.
  • Cryptographic Integrity: Zero-trust signature verification ensures received events are authentic and unmodified.
Still stuck? How can we help?

How can we help?

Updated on October 4, 2026
Client Core Architecture: TUN Interface & Split Tunneling SpecsBEX Reseller REST API Specification & OAuth Authentication

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Table of Contents
  • 1. Overview & Event Architecture
  • 2. Webhook Event Types & Payload Protocols
  • 3. HMAC-SHA256 Signature Verification & Security
  • 4. Exponential Backoff, Dead Letter Queues (DLQ) & Idempotency
  • 5. Key Strategic Benefits
Based on WoodMart theme© 2026 WooCommerce Themes.
payments
Close
  • Home
  • Price
  • Docs
  • Learn
  • Contact us
  • Languages
    • You need WPML plugin for this to work. You can remove it from Header builder.
Shop