MyEZToll

Partner API

A REST API for rental operators that bill their own renters and need our data and management surface: priced tolls and violations per vehicle, plus cars, drivers, bookings, transponders and GPS devices.

Base URLs

https://owner.myeztoll.com

Production. Partner endpoints are served under the branded host — no raw API host to configure.

https://dev-owner.myeztoll.com

Sandbox for integration testing. Same surface, separate data, separate API keys.

Build against the sandbox first: same surface, separate data, separate keys. Nothing you create there is billed or charged.

Response envelope

Every endpoint answers with the same three fields, so one wrapper in your client handles all of them.

Paging

Every list endpoint returns a page, never a bare array: data is { items, page, pageSize, total, hasMore }. Pass ?page=1&pageSize=100 — pages are 1-based, pageSize defaults to 100 and is capped at 1000. total counts the whole filtered set, so keep asking for the next page while hasMore is true. The short reference lists (/car-types, /states, /toll-providers) stay plain arrays.

Money

Toll and violation rows separate the road cost from our fee: agencyAmount (tolls) and amount (violations) are exactly what the agency charged — the figure you bill your renter — while serviceFee is our flat per-transaction fee, never folded into the road cost. Amounts are in currency (USD unless stated).

Dates

All timestamps are UTC instants in ISO-8601 (2026-07-31T14:05:00Z). In range queries from is inclusive and to is exclusive; omit them and you get the last 30 days.

GPS & telematics

If your cars carry a GPS device — ours, or one we read from your telematics provider — the /gps endpoints hand you the same feed our own fleet map uses: where every car is right now, the track and the mileage of a car or of a single rental, and whether a device is still healthy. Raw positions are kept for 30 days, so read a rental track or mileage while it is fresh; the priced GPS tolls derived from those tracks are permanent and live with the rest of the money data at /tolls?source=gps.

Your own ids

Create calls accept an optional externalId — your own identifier for the car, driver or booking. Once set, you can pass your id anywhere ours is accepted, and responses carry it back, so you never have to store a second id map.

Get started

There are two ways to use the API, and the first one is smaller than most integrators expect. Pick the track that matches how much of the rental you want us to know about.

Track A — cars only, no bookings and no drivers

You keep the rental in your own system and only ask us what a plate cost.

  1. 1Ask support for a sandbox key and a production key.
  2. 2Register your cars — or match them to existing ones — with POST /cars.
  3. 3Read GET /cars/{carId}/tolls?from=&to= and GET /cars/{carId}/violations?from=&to= for one vehicle, or GET /tolls?from=&to= and GET /violations?from=&to= for the whole fleet. Bill your renters from the amounts.
Track B — add bookings so tolls land on the right rental

Worth it when you want us to say WHO was driving, and when you want GPS tolls.

  1. 1Do steps 1 and 2 above.
  2. 2Create drivers with POST /drivers and rentals with POST /bookings.
  3. 3Read GET /bookings/{bookingId}/tolls per rental, and still poll GET /tolls / GET /violations for anything outside a booking.
Booking tolls vs. period tolls — what actually differs
Both return the same row shape and the same money. A period read (/tolls, /cars/{carId}/tolls) answers “what did this plate cost between these dates” and returns AGENCY tolls only — the ones the toll operator billed to the vehicle. A booking read (/bookings/{bookingId}/tolls) answers “what did this rental cost”: the agency tolls inside the rental window PLUS the GPS tolls computed from the vehicle track, which exist only inside a booking. So the period route never contains GPS tolls — not because they are filtered out, but because without a rental there is nothing to attribute them to.
Partner accounts charge their own renters: our automatic charging stays off for your owner account, and we never touch your customers' cards.

Make your first call: list tolls