Driver Management
This module is responsible for the administration of drivers (Direct Users) linked to the B2B company. The API allows detailed monitoring of behavior, assigned groups, and accumulated expenses.
List Drivers and LTV
Returns the complete list of users associated with the authenticated company.
The highlight of this endpoint is the dynamic calculation of the total_spent property (Life-Time Value), which correlates the driver's identifier with the global history of billed recharges in the Core System.
Method: GET
Route: /users
Authentication: Required (Bearer JWT)
Success Response (200 OK)
Returns a paginated collection of user resources.
{
"data": [
{
"id": 1,
"email": "condutor@exemplo.com",
"status": "active",
"total_spent": 15050,
"last_charge": "2026-03-15T14:30:00Z",
"tags": ["Premium", "Frota-A"],
"groups": ["VIP"]
}
]
}