Get toll transaction

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

The Retrieve Toll Transaction by ID API endpoint allows you to retrieve detailed information about a specific toll transaction using its unique ID. This endpoint provides comprehensive data about the toll transaction, facilitating effective tracking and management within the Alvys system.

Request Parameters

The following parameters are required in the URL path:

ParameterTypeRequiredDescription
versionStringYesThe API version to use.
idStringYesThe unique identifier of the toll transaction.

Example CURL request

curl --location 'https://integrations.alvys.com/api/p/v{version}/tolls/{id}' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Replace {version} with the API version number, {id} with the actual toll ID, and YOUR_ACCESS_TOKEN with your actual Bearer token:

curl --location 'https://integrations.alvys.com/api/p/v1/tolls/00c8d000-00c0-0000-ba60-000e0f0e0ae0' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ....'

Response Parameters

The following table lists the parameters included in the response for toll transaction-related requests:

ParameterTypeRequiredDescription
IdStringYesThe unique identifier of the toll transaction.
SubsidiaryIdStringNoThe subsidiary ID associated with the transaction.
TransactionIdStringNoThe external transaction ID from the toll provider.
TransponderIdStringNoThe transponder ID associated with the transaction.
SourceStringYesThe toll provider (e.g., PrePass, BestPass, IPass).
AgencyStringYesThe tolling agency that issued the transaction.
UnitIdStringNoThe Alvys unit ID associated with the transaction.
UnitNumberStringNoThe unit number associated with the transaction.
LicenseStateStringNoThe state where the vehicle is licensed.
LicensePlateStringNoThe license plate of the vehicle.
PrePaidBooleanYesIndicates whether the toll was prepaid.
ServiceStringNoThe toll road or service (e.g., Texas Toll Roads, PA Turnpike).
CostCenterStringNoThe cost center associated with the transaction.
EntryLaneStringNoThe lane used at entry.
EntryPlazaIdStringNoThe identifier of the entry plaza.
EntryPlazaNameStringNoThe name of the entry plaza.
EntryTimeString (Date-Time)NoThe date and time of entry.
ExitLaneStringNoThe lane used at exit.
ExitPlazaIdStringNoThe identifier of the exit plaza.
ExitPlazaNameStringNoThe name of the exit plaza.
ExitTimeString (Date-Time)NoThe date and time of exit.
FormattedLocationStringNoThe formatted location of the toll transaction.
AmountObjectYesThe toll amount.
Amount.AmountNumberYesThe monetary value of the toll.
Amount.CurrencyIntegerYesThe currency identifier of the toll amount.
RunningBalanceObjectNoThe running account balance after the transaction.
RunningBalance.AmountNumberNoThe monetary value of the running balance.
RunningBalance.CurrencyIntegerNoThe currency identifier of the running balance.
FeeObjectNoThe fee charged for the transaction.
Fee.AmountNumberNoThe monetary value of the fee.
Fee.CurrencyIntegerNoThe currency identifier of the fee.
PostedAtString (Date-Time)NoThe date and time when the transaction was posted.
TransactionDateString (Date-Time)YesThe date and time when the toll transaction occurred.

Example Response

On the right side, you can see examples of different error codes by clicking "Example" and selecting the response code.


Rate Limits

All endpoints are subject to rate limits to protect the API from traffic spikes. For detailed information on rate limits, please refer to the Rate Limits section.

This page is interactive, allowing you to try a request by providing the toll transaction ID in the URL path. As you fill out the parameters, the Curl command on the right side of the page will be automatically updated. Alternatively, you can directly edit the Curl command. Make sure to authorize yourself before trying a request.

Path Params
string
required
string
required
Defaults to 1.0

API version (e.g., 1.0)

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json