Skip to content

Booking Flow ​

From a confirmed match to a completed shared journey.

Confirmation ​

text
PENDING_CONFIRMATION
        ↓
   both parties confirm
        ↓
CONFIRMED

A booking exists only from an eligible, accepted, non-expired match whose compliance status is ALLOW. The booking always names the match that justified it.

Before departure ​

  1. Both parties see pickup and dropoff points — generalised commute hubs, not exact addresses.
  2. The driver starts the journey.
  3. Live location is shared over WebSocket.
text
CONFIRMED → IN_PROGRESS

During ​

text
PICKUP_CONFIRMED
JOURNEY_IN_PROGRESS
DROPOFF_CONFIRMED
JOURNEY_COMPLETED

Live updates fall back to POST /journeys/{id}/location when a client cannot hold a WebSocket. The fallback is degraded but not blocked.

Completion ​

text
IN_PROGRESS → COMPLETED

Timestamps are recorded: confirmed, started, picked up, dropped off, completed. The result is the event history shown in RTA Proposal §9.

After ​

  • Rate the other party
  • Report an incident if needed
  • Raise a contribution, only if the active policy enables it

A low rating does not alter a compliance outcome and cannot suspend anyone. Ratings are feedback; safety reporting is a separate path with its own workflow.

Contribution ​

text
GET  /bookings/{id}/contribution
POST /bookings/{id}/contribution

Inert unless the active policy enables a mode. There is no demand, time, distance or availability scaling, and no bidding. If the policy is later found to disapprove of the arrangement, historical contributions remain interpretable because each records the policy version in force when it was created.

KHAWI — same route, go together.