Automating MikroTik RouterOS: Dynamic Bandwidth Queues & Instant M-Pesa Billing
Internet Service Providers (ISPs), hoteliers, and regional hotspot operators face a common dilemma: manual voucher creation and disconnected billing systems lead to revenue leakage and poor subscriber experiences.
Direct RouterOS API Integration Without Cloud Latency
Rather than relying on brittle web scraping or manual WinBox entries, Fortune Devs interfaces directly with RouterOS v6 and v7 via high-speed API sockets. This enables real-time subscriber registration, automated IP pool assignment, and instantaneous captive portal authentication.
/ip hotspot user profile
add name="10Mbps-Business-Plan" rate-limit="10M/10M 15M/15M 8M/8M 15/15" shared-users=3 session-timeout=30d
/queue simple
add name="sub-254700000001" target=10.50.12.44/32 max-limit=10M/10M burst-limit=15M/15M burst-time=15s/15sWhen a guest connects to a Wi-Fi hotspot and submits an M-Pesa STK push payment, the webhook triggers an automated transaction confirmation. Within milliseconds, the MikroTik router provisions a user session with exact bandwidth limiters, burst thresholds, and session expiry timers.
Thermal & A4 Bulk Voucher Printing
For retail distribution networks and cyber cafes, physical vouchers remain an essential revenue stream. Our billing engine generates encrypted, batch-numbered voucher codes ready for instant thermal receipt printing or high-density A4 PDF cut-out distribution, complete with custom QR codes that allow users to scan-to-connect without typing passwords.