RideKit
Docs/Reference/Driver cooperatives and commission-free operating models

Driver cooperatives and commission-free operating models

Built: 2026-11-04.

This is for operators who sell to driver unions, cooperatives and "driver-first" challengers, and for whoever maintains the code.

Overview

Some buyers do not want a per-ride commission:

Who Model
Bharat Taxi (Sahakar Taxi, India, launched Feb 2026); the state apps (Kerala Savaari, Yatri Sathi) Drivers buy ₹500 of share capital. No commission, no surge, and the surplus goes back to the members.
The Drivers Cooperative (NYC, 6,000+ members); the Colorado driver co-op A small fee to run the service, and up to 30% higher pay.
Empower (DC) Drivers pay a subscription and keep their fares. Its 2025–26 contempt orders show this model still needs a TNC or base licence.

RideKit supports two models:

  1. A flat driver subscription instead of commission. This already exists as the driver pass: ride types on the pass model, weekly or monthly plans, and auto-renewal from the wallet. See drivers/driver-pass.ts. No new code was needed for it.
  2. A driver-owned cooperative, set up with the market config cooperative. This is what was built here, and the rest of this page covers it.

Settings

Admin → Markets → (country) → Pricing → Cooperative.

Field Default Meaning
enabled off A cooperative runs this market.
commissionBps 0 One commission for every ride, instead of each ride type's own. null ("keep each ride type's commission") leaves the types unchanged. Tier discounts and commission offers still apply on top. Pass-model types stay at zero.
surgeOff on No surge multiplier. Zone surcharges and regulated fares are unaffected.
shareMinor ₹500 in India, $100 in the US, 500.00 elsewhere The price of one share.
minShares / maxShares 1 / 100 The shares needed to join, and the most one member may hold.
membersOnly off Drivers without the minimum shares cannot go online (coop_membership_required).
dividendBasis trips The default way to share out the surplus: by trips, by earnings or equally.

Members and share capital

There are two ways to buy shares:

  • In the app. Under Driver app → Menu → Co-op, the driver sees the terms, their membership (number, shares and amount paid) and their dividends. They buy shares from their wallet. The money moves from the driver's wallet to the co-op's share-capital account (coop_capital, ledger reason coop_share). It is the members' money, not revenue.
  • Recorded by the operator. Admin → Cooperative → Record shares paid outside the app covers cash paid at a meeting or a bank transfer. No ledger entry is made, because the money was not paid through the platform. Each recording is audited as coop.shares.record.

Admin → Cooperative shows the members' register: member number, shares, amount paid and join date, with total shares and total capital.

Sharing out the surplus

Admin → Cooperative → Share out a surplus:

  1. Choose the period, the surplus and the basis, then Preview.

  2. Each member's line is worked out in whole minor units. The lines always add up exactly to the surplus: leftover cents go to the largest remainders.

    • By trips: completed trips in the period.
    • By earnings: the ride-fare credits to the member's wallet in the period.
    • Equally: the same share for each member.
    • When no member has anything to count, the surplus is shared equally.
  3. Pay. Each line is paid into the member's wallet (ledger reason coop_dividend, debited from platform revenue).

    • Each payment is idempotent per distribution and member.
    • A period can be paid only once (coop_already_paid).
    • Each payment is audited as coop.dividends.pay.
  4. Every past distribution has a CSV report for the co-op's books and its general meeting. It has one row per member, with these columns:

    Column
    member_no
    name
    phone
    shares
    trips
    earnings
    dividend
    currency
    period_from
    period_to
    basis

Confirm locally.

India:

  • A cooperative registered under the Multi-State Co-operative Societies Act, or under a state act, has statutory rules on the share-capital limits per member, the dividend cap and the reserve-fund transfer that come before any distribution.
  • Set the amounts to match the society's by-laws.

US:

  • Patronage dividends of $10 or more are reported on Form 1099-PATR.
  • A worker co-op may need its own TNC or base licence. Empower's DC case is the warning.

Everywhere: the surplus figure is the co-op's own decision, taken after its accounts are approved.

Code

Area Where
Rules (no I/O) backend/src/cooperative/cooperative.ts (+ spec): config, commission, dividend split
Members, shares, dividends cooperative/cooperative.service.ts: GET /driver/coop, POST /driver/coop/shares, /admin/coop/members (GET, POST), /admin/coop/distributions (GET, POST preview, POST), GET /admin/coop/distributions/:id/report.csv
Data Migration 1700000207000-Cooperative: coop_members, coop_share_purchases, coop_distributions, coop_distribution_lines; account type coop_capital; ledger reasons coop_share and coop_dividend
Commission rides/dispatch.service.ts: coopCommissionBps at settlement, in the earnings preview and on the rate card
No surge pricing/pricing.service.ts clampSurge
Members only drivers/drivers.service.ts goOnline
Driver app app/(app)/coop.tsx, plus a menu row
Admin components/markets/CooperativeCard.tsx, app/(dashboard)/coop/page.tsx, nav entry Cooperative

Tested

  • Unit tests: cooperative.spec.ts.
  • End to end (coop-e2e, 17 checks):
    • members only, with a non-member refused;
    • share limits;
    • 2 shares bought: R$ 100 from the wallet into share capital;
    • a cash member recorded;
    • a member going online;
    • a 1.5× surge rule doing nothing;
    • a full trip with no commission leg, the driver credited with everything the rider (and the subscription discount) paid;
    • a dividend split adding up to the cent, paid into wallets;
    • a second payment for the same period refused;
    • the report;
    • the driver's view;
    • permissions;
    • switching off.
  • Android driver app: the Co-op screen, and buying 2 shares through the UI.
  • Chrome:
    • the market card (5% commission and R$ 25 a share, saved);
    • the register;
    • recording cash shares;
    • previewing and paying R$ 12,34 to the cent;
    • the CSV.
source: docs/driver-cooperative.md (ships identically in the product zip)