REST API for vouchers, routers, and payments.
Log in with email and password. Returns a session cookie.
Register a new user or agent.
End the current session.
List all available vouchers for the current agent.
Generate new vouchers from a plan.
Redeem a voucher and grant internet access.
Router status ping sent by MikroTik devices every 2 minutes.
List all routers currently accepting new connections.
Initiate an M-Pesa STK Push payment.
Webhook for M-Pesa payment confirmations.
Check the status of a payment by ID.
Basic health check — returns status of the platform.
Detailed system status and service availability.