Commission offers
Built: 2026-11-03. Written for operators and for whoever maintains the code.
Drivers choose the app that takes the least. In Mexico, inDrive sets the bar at about 10%. An offer lowers the commission for a while, for example:
- "0% this weekend";
- "8% in Polanco from 22:00 to 02:00";
- "half commission on Moto in December".
Setting one up
Admin → Markets → (country) → Pricing → Commission offers → Add offer.
| Field | Meaning |
|---|---|
| Name drivers see | Shown on the driver's rate card ("Weekend 10%"). |
| Commission | The offer's rate, 0 to 100%. |
| First day / Last day | Both included, in the market's time. |
| Only these hours each day | Optional. Hours can run past midnight (22:00 to 02:00). |
| Where | Everywhere, or one Region zone (Admin → Zones). |
| Ride types | Optional. None ticked means every type. |
Save the card. Removing an offer and saving ends it at once.
How a trip is charged
- The ride type's own rate (or the platform default).
- If an offer matches the trip, its rate is used, but only when it is lower. When several match, the lowest one applies. An offer can only lower the commission, never raise it.
- The market's cap (and any region's cap) applies after that.
A trip is matched against:
- the time it ends, in market time;
- its ride type;
- its pickup point (for a region offer).
Three places use the same rule:
- settlement;
- the "you'd earn" figure on a ride offer;
- the driver's rate card.
So a driver is never shown a number that the trip will not pay.
The ledger entry for the trip records the rate (commissionBps) and the
offer (commissionPromoId).
What drivers see
Menu → How trips and pay work → What the platform keeps:
- the offer's rate for each ride type it covers;
- the offer's name, its daily hours and its last day, e.g. "🎉 Fin de semana 8% · 00:00–23:59 daily until Nov 3".
Each trip's line in Earnings shows the commission actually taken.
Code
backend/src/rides/commission-promos.ts: validation and matching (no I/O);rides/dispatch.service.ts:commissionPromoAt;- settlement;
driverEarningsPreview;commissionRates;
markets/markets.service.ts: thecommissionPromossection, replaced whole on save;- admin:
components/markets/CommissionPromosCard.tsx; - driver app:
app/(app)/how-it-works.tsx.
Check locally
Some markets cap commission by law (India's aggregator guidelines). An offer cannot go above that cap. Advertising an offer can also count as a promise to drivers, so keep its terms matching what you announce.