Skip to main content

Get Earnings

Retrieve driver earnings for a specific time period.

Query Parameters

integer
required
Driver ID
string
required
Time period for earnings reportPossible values:
  • hoy - Today’s earnings
  • semana - This week’s earnings
  • mes - This month’s earnings
  • total - All-time earnings

Response

boolean
Request success status
object
Earnings data for the period

Request Example

Response Example


Earnings Breakdown

Earnings are calculated based on:
  • Base Fare: Starting price for the trip
  • Distance Rate: Price per kilometer
  • Time Rate: Price per minute (if applicable)
  • Service Fee: Platform commission (deducted)

Example Calculation


Payment Methods

Drivers receive earnings through:
  • Cash: Collected directly from passengers
  • Digital Wallet: Platform wallet for cashless payments
  • Bank Transfer: Weekly/monthly transfers to bank account
Earnings are typically paid out weekly or monthly, depending on the driver’s preference and platform policy.

Error Responses

Bad Request
Invalid period parameter
Not Found
Driver not found
Internal Server Error
Server error

See Also