API Objects Reference

Comprehensive documentation of all API objects and their fields

OrderRequestObject

Used for creating new orders

FieldTypeDescription
waypointsArray of WaypointObjectGeodata of pickup, intermediate, and drop-off points like coordinates, addresses, etc. Up to 5 points can be mentioned.
extraOptionsArray of EnumAIR_CONDITION, NON_SMOKING, SMOKING_ALLOWED, EXTRA_LUGGAGE_SPACE, CHILD_SEAT, DISABLED_PEOPLE, PETS_ALLOWED, BIKE_MOUNT
clientCustomerObjectCustomer info like name, UUID, image, etc.
notesStringText notes for an order.
unitOfLengthEnumMETER, KILOMETER, MILE
specialCostNumberSpecial price for the order
tripDistanceNumberTrip distance in units specified in "unitOfLength" param for price estimation.
tripDurationIntegerTrip duration in milliseconds for price estimation.
pickupTimeStringPick up time for arrival according to RFC3339 standard
numberOfSeatsIntegerNumber of seats needed
vehicleTypeEnumECONOMY, CLASSIC, BUSINESS, LUXURY, etc.
tariffTypeEnumPRECISE, HOURLY
paymentMethodsEnumCASH, TERMINAL, THIRD_PARTY
prepaidBooleanIf true - the trip was paid before it started (currently not supported)
tariffIdStringService type UUID
manualAssignDriverStringDriver Id that is used for manual assign
orderSourceEnumPASSENGER_APP, DISPATCH_PANEL, DISPATCH_API

WaypointObject

Contains location information for a point in the trip

FieldTypeDescription
exactLatLngLatLngObjectCoordinates of the customer
premiseStringA named location, usually a building or collection of buildings with a common name
houseNumberStringHouse number
streetStringStreet name
subLocalityStringA first-order civil entity below a locality
localityStringAn incorporated city or town political entity
cityStringCity name
districtStringDistrict (a subdivision of city)
provinceStringProvince name
countryStringCountry name
postalCodeStringPostal code
countryCodeStringTwo-letter country code ISO 3166-1 alpha-2
poiNameStringA named point of interest
placeLatLngLatLngObjectCoordinates of the place which are used for further geocoding

LatLngObject

Geographic coordinates

FieldTypeDescription
latNumberLatitude data
lngNumberLongitude data

CustomerObject

Customer information

FieldTypeDescription
clientIdStringCustomer UUID
nameStringCustomer name
phoneStringCustomer mobile phone number
imageUrlStringCustomer profile image
emailStringCustomer email (from Customer app)

OrderResponseObject

Response after creating an order

FieldTypeDescription
orderIdStringOrder UUID

CompanyObject

Company information

FieldTypeDescription
idStringUnique identifier for the company
nameStringCompany name
logoStringCompany profile image URL
statusStringCurrent status of the company
createdAtStringCompany creation timestamp in RFC3339 format
updatedAtStringLast update timestamp in RFC3339 format

OrderOfferObject

Information about an accepted order

FieldTypeDescription
etaStringEstimated time of arrival according to RFC3339 standard
driverDriverObjectDriver info like name, UUID, profile image, etc.
carCarObjectDriver's car info like model, colour, year, etc.
tariffTariffObjectService type info like name, UUID, currency, etc.

DriverObject

Driver information

FieldTypeDescription
driverIdStringDriver UUID
nameStringDriver name
phoneStringDriver mobile phone number
emailStringDriver email
imageUrlStringDriver profile image

CarObject

Vehicle information

FieldTypeDescription
modelStringCar model
colorStringCar color
yearIntegerCar issue year
imageUrlStringCar image
plateNumberStringCar number
numberOfSeatsIntegerNumber of seats
vehicleTypeEnumAvailable vehicle types: ECONOMY, CLASSIC, BUSINESS, LUXURY, RICKSHAW, MOTO, TESLA, BLACK_CAR, BLACK_CAB, SUV, MINIVAN, VAN, BUS, LIMOUSINE, HELICOPTER, SPEED_BOAT, YACHT, TOW_TRUCK, AMBULANCE, PARATRANSIT, DELIVERY_TRUCK, MOTO_XL, COURIER, PEDICAB, TOW_TRUCK_SMALL, TOW_TRUCK_INDUSTRIAL, ELECTRIC_VEHICLE, HANDYMAN, PLUMBER, ELECTRICIAN, LOCKSMITH, DOCTOR, NURSE, MAID, BABYSITTER, LAWYER, INSURANCE_INSPECTOR, CLAIMS_ADJUSTER
optionsArray of EnumAIR_CONDITION, NON_SMOKING, SMOKING_ALLOWED, EXTRA_LUGGAGE_SPACE, CHILD_SEAT, DISABLED_PEOPLE, PETS_ALLOWED, BIKE_MOUNT

TariffObject

Service type and pricing information

FieldTypeDescription
tariffIdStringService type UUID
nameStringService type name
companyNameStringDriver company name
vehicleTypeEnumECONOMY, CLASSIC, BUSINESS, LUXURY, etc.
tariffTypeEnumPRECISE, HOURLY
numberOfSeatsIntegerNumber of passenger seats
paymentMethodsArray of EnumAvailable payment methods: CASH, CREDIT_CARD, TERMINAL, THIRD_PARTY Important Notes: - The payment method 'CREDIT_CARD' is not available when creating orders via Operator API - For 'THIRD_PARTY' payment method, use a Partner access operator and their API token
currencyEnumCurrency code according to ISO 4217 standard
unitOfLengthEnumMETER, KILOMETER, MILE
minimumChargeNumberMinimum trip cost
maximumChargeNumberMaximum trip cost
flagDownFeeNumberFlag down fee (seat price)
perDistanceUnitFeeNumberCost of a kilometer (mile) of a trip
perHourFeeNumberCost of an hour of a trip
taximeterModeEnumTIME_AND_MILEAGE, TIME_OR_MILEAGE, TIME_HOURLY
speedBreakPointNumberSpeed threshold (for taximeterMode = TIME_OR_MILEAGE)
tariffModeEnumDISABLED, AUTO, AUTO_FIXED_COST
driverCanSetCostBooleanAllow driver to add extra expenses
fixedFaresAvailableBooleanIf true - prepared prices will be applied for fixed zones
fixedFareNameStringFixed fare name
costNumberEstimated trip cost
fixedCostBooleanFixed trip cost option
prepaidSupportedBooleanIf true - the trip was paid before it started (currently not supported)
asapBookingBooleanASAP booking option
preBookingBooleanPre-booking option
minimumPreBookingDelayIntegerThe minimum period for preorder (milliseconds)

OrderUpdateObject

Order status and driver location update

FieldTypeDescription
driverIdStringDriver UUID
driverLocationLocationObjectDriver location info like coordinates, speed, etc.
statusStringCANCELLED_BY_DISPATCH, CANCELLED_BY_DRIVER, CANCELLED_NO_PASSENGER, etc.

LocationObject

Location information

FieldTypeDescription
accuracyNumberObject estimated location radius, in meters
timeStringTime of location calculation according to RFC3339 standard
bearingNumberThe horizontal direction of the mobile device in degrees (0.0, 360.0]
speedNumberObject speed (meters per second)
latNumberObject latitude
lngNumberObject longitude

TripSummaryObject

Trip summary information

FieldTypeDescription
createTimeStringOrder creation time according to RFC3339 standard
pickupTimeStringCustomer pickup time according to RFC3339 standard
dropoffTimeStringCustomer dropoff time according to RFC3339 standard
currencyEnumCurrency code according to ISO 4217 standard
unitOfLengthEnumMETER, KILOMETER, MILE
tripDistanceNumberTrip distance in units specified in "unitOfLength" field
tripDurationIntegerTrip duration in milliseconds
tripCostNumberEstimated trip cost
extraCostNumberAdditional fees
finalCostNumberTotal trip cost with fees
paymentsArray of PaymentObjectTrip payment info like payment method, amount, etc.
ratingByDriverIntegerCustomer's rating by the driver
pickupLocationLatLngObjectPassenger pickup coordinates
dropoffLocationLatLngObjectPassenger final dropoff coordinates
orderSourceEnumPASSENGER_APP, DISPATCH_PANEL, DISPATCH_API

PaymentObject

Payment information

FieldTypeDescription
timeStringTime of payment according to RFC3339 standard
amountNumberAmount of money paid
methodEnumCASH, CREDIT_CARD, TERMINAL, THIRD_PARTY

OrderStatusObject

Order status information

FieldTypeDescription
statusStringCANCELLED_BY_DISPATCH, CANCELLED_BY_DRIVER, CANCELLED_NO_PASSENGER, etc.

VehicleObject

Vehicle information with location

FieldTypeDescription
locationLocationObjectDriver location info like coordinates, accuracy, etc.
vehicleTypeEnumECONOMY, CLASSIC, BUSINESS, LUXURY, etc.

OrderPrepareRequestObject

Request to prepare a new order

FieldTypeDescription
waypointsArray of WaypointObjectGeodata of pickup, intermediate, and drop-off points
unitOfLengthEnumMETER, KILOMETER, MILE
pickupTimeStringPick up time for arrival according to RFC3339 standard
currencyEnumCurrency code according to ISO 4217 standard
specialCostNumberSpecial price for the order
includedDistanceNumberIncluded in special price distance
includedDurationIntegerIncluded in special price duration in millis

OrderPrepareResponseObject

Response from preparing a new order

FieldTypeDescription
orderIdStringOrder UUID
confirmationIdStringIdentifier of the operation
orderPreparationDataOrderPreparationDataObjectPrepared data for order creation

OrderPreparationDataObject

Prepared data for order creation

FieldTypeDescription
allTariffsTripEstimationsArray of TripEstimationObjectTrip estimations for different tariffs

TripEstimationObject

Trip estimation information

FieldTypeDescription
costNumberEstimated trip cost
fixedCostBooleanFixed trip cost option
priceMultiplierNumberPrice multiplier
tariffIdStringService type UUID

TopupRequestObject

Request object for driver account topup

FieldTypeDescription
moneyObjectMoney amount details
commentStringAdditional information about the topup transaction

WithdrawRequestObject

Request object for driver account withdrawal

FieldTypeDescription
moneyObjectMoney amount details
commentStringReason for the withdrawal

CommitInvoiceRequestObject

Request object for committing a pending invoice

FieldTypeDescription
invoiceIdStringUnique identifier of the invoice to commit

InvoiceObject

Invoice information

FieldTypeDescription
invoiceIdStringUnique identifier for the invoice
statusStringCurrent status of the invoice (e.g. pending, committed)
typeStringType of invoice (topup or withdraw)
amountNumberInvoice amount
currencyStringCurrency code (e.g. EUR)
commentStringAdditional information or reason for the invoice
createdAtStringInvoice creation timestamp in RFC3339 format
updatedAtStringLast update timestamp in RFC3339 format