Overview
The admin dashboard provides real-time financial summaries and platform statistics. These endpoints power the main admin dashboard interface.Financial Summary
Get aggregated financial data including passenger balances, platform profit, and driver balances grouped by currency.Response
Operation status
Status message
Financial summary data
Example Response
Dashboard Metrics
The financial summary provides key metrics for administrators:Passenger Balances
Total amount of money held in passenger wallets across all currencies. This represents:- Pre-loaded wallet funds
- Refunds from cancelled bookings
- Admin deposits
Platform Profit
Total commission revenue collected by the platform. This includes:- Commission from driver trips
- Commission from company public trips
- Revenue from completed bookings
Driver Balances
Total amount of money in driver wallets across all currencies. This represents:- Earnings from completed trips
- Pending withdrawals
- Admin deposits
Multi-Currency Support
All financial data is grouped by currency to provide accurate reporting across different markets:- SAR - Saudi Riyal (primary currency)
- USD - US Dollar
- EGP - Egyptian Pound
- Other configured currencies
- Track performance in each market
- Monitor currency-specific trends
- Manage settlements by currency
Real-Time Data
The dashboard endpoints provide real-time data by querying:- Current wallet balances from the Trips service
- Commission records from booking transactions
- Aggregated totals across all user types
Data is calculated on-demand to ensure accuracy. For historical analysis and trends, use the Reports Overview endpoint.
Access Control
The financial summary endpoint is currently marked as
AllowAnonymous in the source code, but it should be protected with AdminPolicy authorization in production. Ensure proper authentication is enforced at the API gateway level.