uuidpath · stringRequiredMandatory toll voucher UUID returned at issuance (/vale-pedagio/comprar).
Constraints
{
"type": "string",
"format": "uuid"
}Parameters, data structure and responses from the versioned contract.
/vale-pedagio/{uuid}/cancelarTechnical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
Cancels the toll voucher with ANTT and the accredited operator.
Strict 3-hour rule: Cancellation is accepted strictly within the regulatory window of up to 3 hours after issuance and before use at a toll plaza. The debited amount is refunded in full to the company's Swap Operational Account.
[
{
"oauth2": []
},
{
"chaveApi": []
}
]uuidpath · stringRequiredMandatory toll voucher UUID returned at issuance (/vale-pedagio/comprar).
{
"type": "string",
"format": "uuid"
}Optional
200 HTTP ResponseToll voucher successfully canceled and balance refunded
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.
422 HTTP ResponseCancellation rejected (3-hour deadline expired or already used)
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": "Cancelar Vale-Pedágio Obrigatório",
"operationId": "cancelarValePedagio",
"description": "Cancela o Vale-Pedágio perante a ANTT e a operadora credenciada.\n\n**Regra estrita de 3 horas:** O cancelamento é aceito estritamente dentro da janela regulamentar de\naté 3 horas após a emissão e antes do uso em praça de pedágio. O saldo debitado é estornado integralmente\nna Conta Operacional Swap da empresa.\n",
"parameters": [
{
"$ref": "#/components/parameters/VpoUuid"
}
],
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CancelarVpoRequest"
}
}
}
},
"responses": {
"200": {
"description": "Vale-Pedágio cancelado com sucesso e saldo estornado",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CancelarVpoResponse"
}
}
}
},
"401": {
"$ref": "#/components/responses/Erro401"
},
"403": {
"$ref": "#/components/responses/Erro403"
},
"404": {
"description": "Vale-Pedágio não encontrado",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Erro"
}
}
}
},
"422": {
"description": "Cancelamento recusado (prazo de 3 horas expirado ou já utilizado)",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Erro"
}
}
}
},
"429": {
"$ref": "#/components/responses/Erro429"
},
"500": {
"$ref": "#/components/responses/Erro500"
}
},
"method": "POST",
"path": "/vale-pedagio/{uuid}/cancelar"
}