CORE SERVICES
The services behind each trip
Booking and fare services maintain transaction records. The telemetry service handles frequent GPS updates. Dispatch brings the two together when a passenger requests a vehicle.

Booking & channel APIs
Versioned REST APIs expose fare estimation, booking creation, amendments, cancellation and trip status. Apps, super apps, kiosks and contact centres use the same interfaces. Webhooks return booking updates to subscribed channels.

Geospatial indexing & telemetry
An in-memory Redis geospatial index holds each driver’s latest coordinates and availability. Fresh GPS pings update the index. Dispatch queries nearby eligible drivers, while coordinates linked to an active trip contribute to its route record.

Dispatch & policy engine
Allocation rules combine proximity, vehicle class, accessibility requirements, zone eligibility and rank queue position. Configurable search radii, offer timeouts, retry limits and fallback rules govern which driver receives the next offer.

Event-driven trip lifecycle
Publish/subscribe messaging distributes assignment, arrival, pickup, completion and cancellation events. The dispatch audit records each offer and response, so an operator can distinguish time spent finding a driver from time spent reaching the passenger.

Tariffs & settlement
Versioned fare rules apply by booking channel, vehicle class, time window, toll gate and pricing zone. Component-level records support estimate-to-actual comparison, reconciliation and split settlement across participating operators and service providers.

AI in Tanthim & predictive modelling
Forecasting models combine historical trip patterns with current demand and available supply to identify potential shortages by zone. AI in Tanthim can query records within the user’s permissions, assemble supporting trip evidence and trigger a configured follow-up.