Skip to content

Contribution Policy ​

The contribution system is entirely policy-driven. Nothing about cost sharing is built into the application as a default.

Modes ​

text
DISABLED
APPROVED_COST_SHARE
PETROL_CONTRIBUTION
FIXED_APPROVED_AMOUNT
OTHER_APPROVED_MODEL

DISABLED is the default state. A contribution cannot be created unless the active policy enables a mode and lists it in contribution.approvedModes.

Why PETROL_CONTRIBUTION is retained ​

The mode is deliberately kept in the enum so the policy gate has something to reject.

Naming a payment a "petrol contribution" does not change its legal treatment. If the enum value were removed, there would be no value to run the check against, and the prohibition would become unenforceable documentation. Retaining it as a rejected-by-default mode makes the gate real.

FIXED_APPROVED_AMOUNT ​

The amount is fixed and approved. It is not a platform default. The word "approved" is the load-bearing part: it means the figure came from the approved operating framework, not from the codebase.

The policy gate ​

No contribution is created without passing through it:

text
Contribution Request
        ↓
Policy Check
        ↓
   ┌────┴────┐
   ▼         ▼
 ALLOW     BLOCK
json
{
  "contribution": {
    "enabled": false,
    "approvedModes": []
  }
}

With enabled: false, every attempt returns CONTRIBUTION_NOT_AVAILABLE.

Regulatory caution ​

Dubai's regulations distinguish passenger transport provided for consideration, and separately regulate on-demand transport requested through electronic media and smart applications.

It follows that relabelling a payment does not change its legal treatment. A payment described as petrol, a contribution, a cost share or a fixed amount is evaluated the same way: against the approved operating model. This is the reason the mode name carries no weight in the decision.

See Cost Sharing for the legal-review questions and Dubai RTA for the regulatory position.

Dynamic pricing prohibition ​

The architecture must not contain dynamic pricing.

The following identifiers do not exist in the schema, the API or the domain model:

text
surgeMultiplier
dynamicFare
driverBid
passengerBid
auctionPrice

These may only be introduced if explicitly approved under the applicable regulatory model. The initial product must not be designed around fare optimisation, because once the pricing surface exists it shapes every other decision — matching order, driver behaviour, and what the platform appears to be.

A contribution amount is not a fare. It does not scale with demand, time, distance or availability, and adding a mechanism that allows it to scale is how a cost sharing feature becomes a transport service.

API behaviour ​

text
GET  /api/v1/bookings/{bookingId}/contribution
POST /api/v1/bookings/{bookingId}/contribution

The API rejects any contribution mode not enabled by the active policy.

Every contribution records the policy_version in force when it was created, so a later change to the contribution policy does not change how historical contributions are interpreted.

KHAWI — same route, go together.