origemstringRequiredPostal code (with or without a hyphen) or departure city name/address.
minLength3maxLength150Parameters, data structure and responses from the versioned contract.
/vale-pedagio/cotacaoTechnical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
Alias of the routing endpoint for toll voucher cost simulation and quotation.
[
{
"oauth2": []
},
{
"chaveApi": []
}
]No parameters declared for this operation.
Required
application/jsonorigemstringRequiredPostal code (with or without a hyphen) or departure city name/address.
minLength3maxLength150destinostringRequiredPostal code (with or without a hyphen) or destination city name/address.
minLength3maxLength150eixosintegerRequiredTotal axle count of the commercial vehicle or vehicle combination.
minimum2maximum10placastring | nullOptionalCommercial vehicle license plate (Mercosur or legacy Brazilian format).
maxLength10modalidadestring | nullOptionalRequested route option (planejada: optimized direct route; estendida: route allowing detours; customizada: specific toll plazas).
"planejada" · "estendida" · "customizada"pontos_paradaarray | nullOptionalIntermediate waypoints, in the order the vehicle visits them, between origem and destino. The operator does not accept a polyline: the route is defined by waypoints. Each waypoint can be a city (cidade, in "City, State" format) or a latitude/longitude pair in decimal degrees (for example, relevant vertices of your own route). If a waypoint includes both a city and coordinates, the city takes precedence. Use this field to route through a specific highway or reproduce a route from your routing engine. Without this field, the operator chooses the route between origin and destination.
maxItems20tipo_rotastring | nullOptionalOperator's criterion for determining the main route between the points.
"mais_rapida" · "mais_curta"200 HTTP ResponseQuote calculated successfully
401 HTTP ResponseUnauthenticated (autenticacao): missing, invalid or expired credentials, including an API key used in the wrong environment. A sandbox key is not valid in production, nor a production key in the sandbox; the error message indicates the expected environment.
429 HTTP ResponseRequest limit exceeded (limite_requisicoes). Wait for the interval specified in the Retry-After header before retrying. This may be a limit forwarded from the provider or FleetPay's own anti-abuse limit, counted per authenticated company and route group, with a short window for bursts and a long window for slower automated traffic. Limits are intentionally generous: genuine integrations, including large batches processed at once, should remain well below them. If yours reaches a limit, contact FleetPay.
{
"tags": [
"Vale-Pedágio (VPO)"
],
"summary": "Cotação de rotas e tarifas de Vale-Pedágio",
"operationId": "cotarValePedagio",
"description": "Alias do endpoint de roteirização para simulação e cotação de custos do Vale-Pedágio.\n",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CotarVpoRequest"
}
}
}
},
"responses": {
"200": {
"description": "Cotação calculada com sucesso",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CotarVpoResponse"
}
}
}
},
"400": {
"$ref": "#/components/responses/Erro400"
},
"401": {
"$ref": "#/components/responses/Erro401"
},
"403": {
"$ref": "#/components/responses/Erro403"
},
"429": {
"$ref": "#/components/responses/Erro429"
},
"500": {
"$ref": "#/components/responses/Erro500"
}
},
"method": "POST",
"path": "/vale-pedagio/cotacao",
"parameters": []
}