RideKit
Docs/Reference/US: driver minimum pay

US: driver minimum pay

Built: 2026-11-04. Written for US operators and whoever maintains the code.

Several US cities and states set a minimum that a ride driver must earn:

  • Seattle
  • New York City
  • Minnesota
  • California, under Prop 22

These minimums are written the same way: a rate per engaged minute and per engaged mile. They differ in two ways:

Per trip Per pay period
Examples Seattle, Minnesota, New York City California Prop 22
How it is checked Every trip must pay at least the rate × its minutes and miles, and at least a per-trip minimum All of the week's minutes and miles at the rate, compared with all of the week's earnings
A well-paid trip covers a poorly paid one No Yes
"Engaged" means Used by
From accepting the trip until drop-off Seattle, Prop 22
With the passenger only Minnesota

Each rule is set by choosing these options and entering the rates. Nothing is hard-coded.

The rates change every year, sometimes mid-year. Copy them from the city's or state's current notice and confirm them with local counsel. Seattle, for example, adjusts its rates every January.

Setting a rule (Admin → Configuration → Minimum pay)

Field
Name For example "Seattle minimum pay 2026". Drivers see it on their weekly summary.
Applies in The whole market, or a region zone (draw the city or state under Zones first)
Measured Per trip, or per pay period
Engaged time From accepting the trip, or with the passenger
Per engaged minute Enter it as written in the notice, e.g. 0.68. The form shows the hourly equivalent and stores the rate per hour, so a rate like $20.28/h stays exact.
Per engaged mile For example 1.65
Minimum per trip Per-trip rules only, for example 5.97
In force from Trips completed before this date are not covered

A trip is measured under the rule for where it started. A region's rule applies before the market-wide one. Changes are recorded in the audit log (min_pay_rule.create / .update, permission pricing.manage).

What counts

  • Earnings: the driver's side of each trip's settled fare, as posted to the ledger (driver plus fleet owner). Tips never count. Incentives and other promotions are not counted either, so the top-up never falls short of what the driver is owed.
  • Minutes: from accepting the trip, or from the start of the trip, until drop-off.
  • Miles: from the trip's GPS track over the same stretch, or from the trip's measured distance when there is no track. A jump between two fixes faster than 155 mph is treated as a GPS glitch and left out, so a bad fix cannot pay for miles that were never driven. The same guard protects the insurance period miles.
  • Currency: only trips in the installation's currency are counted.

Settling the week

Every hour, once the market week (Monday to Sunday) has ended, each driver who drove that week is settled once:

  1. Their trips are grouped by rule, and the floor and the top-up are worked out.
  2. The total top-up is paid from the platform's commission into the driver's wallet as one ledger entry (min-pay-<driver>-<week>, cause min_pay).
  3. The arithmetic is kept per rule, with the rates as they were that week: trips, minutes, miles, earned, floor and top-up, plus each trip's line.
  4. The driver gets a push notification saying "Minimum pay: R$… added".

A settled week is never recomputed, so editing a rule applies from the next week. Settle last week now on the admin page runs the same process immediately. It is idempotent.

What people see

  • Driver: Earnings → weekly summary has a Minimum pay top-up card showing the amount, the rule, and the trips, minutes and miles with the floor against what they earned.
  • Operator and regulator: the Weekly settlements report on the same page shows each driver's week by rule, with totals, plus a CSV download (audited as min_pay.export).

Interaction with the weekly share guarantee

weeklyShare (a promise that drivers keep at least N% of fares) is a commercial promise, separate from this one. Both are worked out from the week's trip earnings, and each tops up on its own.

Code

  • backend/src/drivers/min-pay.ts: validation, the floors and settlePeriod (no I/O).
  • backend/src/drivers/min-pay.service.ts: rules, the hourly settlement, reports, and the driver and admin endpoints.
  • wallet.service creditMinPay. drivers/driver-hours.ts trackMiles contains the glitch guard.
  • Migration 1700000185000-DriverMinPay, which creates min_pay_rules, min_pay_weeks and min_pay_lines.
  • Push key min_pay_topup, in 11 languages.
  • Driver app: app/(app)/week-summary.tsx. Admin: app/(dashboard)/min-pay/page.tsx.
source: docs/us-driver-min-pay.md (ships identically in the product zip)