Get journey
GET
/journeys/{id}Auth: X-API-Key headerhttps://warpdrive.staging.transferz.com/transfercompanies
Retrieves a specific journey by id
Returns one journey assigned to your company with everything needed to perform it: pickup time and locations, traveller and contact details, add-ons, meeting point, fare, driver and vehicle. Fetch it after a journeyFleetAssignedEvent or any update event.
Guides: Meet and greet, Handle changes and cancellations, How a journey reaches you
Path parameters
Headers
Responses
OK
Current status of the journey.
NOT_PAID- The booking exists but has not been paid; the journey is not yet sent to a transfer company.
AWAITING_APPROVAL- Paid, waiting for an internal Transferz approval before it is processed.
PENDING- Paid and being processed; Transferz is looking for a transfer company.
CONFIRMED- A transfer company has been assigned and confirmed the journey.
PLANNED- A driver has been assigned.
DRIVER_UNDERWAY- The driver is on the way to the pickup point.
Errors this endpoint can return
- 403, failedINSUFFICIENT_PERMISSIONS
When: The journey is not assigned to your company (also returned for an unknown id).
What to do: Check that the id belongs to your company and that you use the key of the right user. Ask Transferz to check the account's permissions if the id is correct.