RideKit
Docs/Reference/US: drivers' paid sick time

US: drivers' paid sick time

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

Some US states give ride drivers paid sick time:

  • Washington. Drivers earn 1 hour for every 40 hours of passenger platform time, counted from accepting a trip to drop-off. They can use it after 90 days. Up to 40 unused hours carry into the next year. It is paid at the driver's own average hourly earnings.
  • Massachusetts (2024 settlement). Drivers earn 1 hour for every 30 engaged hours, up to 40 hours a year. It is paid at the engaged-time minimum.

A rule holds one place's numbers. The platform works out each driver's balance from their completed trips. The driver asks for sick time in the app and is paid into their wallet at once.

Rules (Admin → Configuration → Paid sick time)

Field Meaning
Applies in A region from Zones (a state or city), or the whole market.
Hours on trips per hour earned Washington 40, Massachusetts 30.
Time on trips Counted from accepting the trip, or only with the passenger.
Most earned a year A cap in hours, or blank for no limit.
Most carried over Unused hours taken into the next year, or blank for all of them.
Days before it can be used Counted from the driver's first trip under the rule.
Paid at The driver's average, or a fixed rate. The average is the driver's earnings per engaged hour under the rule over the last 365 days, from the ledger, with tips excluded. With the average, the rate field sets a floor.
Smallest request / most a day Requests go in half-hour steps.
In force from Trips before this date earn nothing.

How a balance is worked out

  • Each completed trip counts under the rule where it started. A region's rule is used before the market-wide one, just as for minimum pay.
  • Only trips in the installation's currency count.
  • The year is the calendar year in the market's time zone.
  • Each year's balance is worked out from the first year with any activity, so the carry-over is exact, including through a year with no activity.
  • Switching a rule off stops it: no accrual, no use, and it is hidden from drivers. Nothing is deleted, so switching it back on restores the balances.

Creating or changing a rule needs pricing.manage and is audited (sick_time_rule.create / sick_time_rule.update).

The driver's side

The driver app has Account → Paid sick time. It appears only when a rule applies to the driver, either because they drove under it or because it covers where they are now. The screen shows:

  • what is available;
  • this year's earned, carried-over and used time;
  • how much more driving earns the next hour;
  • the rate;
  • the date sick time becomes usable, if the waiting period has not ended.

To use sick time, the driver picks:

  • a day: today or up to 6 days back on screen (the API accepts up to 30 days back), this year only, and not before the waiting period ends;
  • how long, in half hours, up to the day's limit and the balance;
  • why: their own illness or care, caring for a family member, domestic violence or stalking, or a closure by health officials.

The app shows the pay before the driver sends the request. It is then paid straight into the wallet from the platform's commission, as ledger entry sick-pay-<use id>.

Requests are taken one at a time per driver (advisory lock), so two requests sent together cannot spend the same balance. The server refuses a request with one of these codes, each translated in the app:

  • sick_reason;
  • sick_date;
  • sick_min_use;
  • sick_waiting_period;
  • sick_day_cap;
  • sick_balance.

The weekly summary also shows the sick time available, so the driver sees their balance with every pay statement.

Operator records

The same page shows:

  • Balances this year: each driver under each rule, with time on trips, carried over, earned, used and available.
  • Sick time used: the month's uses, with day, driver, reason, time, rate and amount paid. Download CSV downloads the month and is audited as sick_time.export.

Each state's rules differ and change: accrual rate, caps, waiting period, pay rate, documentation for longer absences, and how long records are kept. The values here are configuration. Copy them from the state's current rules and confirm them with local counsel.

Code

  • backend/src/drivers/sick-time.ts: validateSickRule, accruedMinutes, sickYears (carry-over), minutesToNextHour, sickRate, sickPay and useProblem. Spec: sick-time.spec.ts.
  • backend/src/drivers/sick-time.service.ts: rules, balances, the request (transaction with an advisory lock, then the wallet credit; the use is removed if the payment fails), uses and CSV. Routes:
    • /admin/sick-time/*;
    • /driver/sick-time, and POST /driver/sick-time/use.
  • WalletService.creditSickPay.
  • Weekly summary: trip-receipts.service.ts returns sickTime.
  • Migration 1700000192000-SickTime adds the sick_time_rules and sick_time_uses tables.
  • Admin: app/(dashboard)/sick-time/page.tsx.
  • Driver:
    • app/(app)/sick-time.tsx;
    • the menu entry;
    • the weekly summary card.
source: docs/us-driver-sick-time.md (ships identically in the product zip)