← HomeFleetPay / API

Cancel Mandatory Cargo Insurance (RCTR-C / RC-DC) report

Parameters, data structure and responses from the versioned contract.

POST/seguro-carga/averbacoes/{id}/cancelar
cancelarAverbacaoSeguroCargaSandbox Base: https://api.fleetpay.site/v1

Technical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.

Requests cancellation at AT&M for the Mandatory Cargo Insurance (RCTR-C and RC-DC — Law 14.599/2023) filing.

Authentication

Required Scope
operacao — Operations
Module
Mandatory Cargo Insurance (RCTR-C / RC-DC)
Target Profiles
Transport Manager · Dedicated Fleet Contractor · Shipper · Fleet Carrier
Schemes
OAuth2 client_credentials (POST /oauth/token) or API Key via Authorization: Bearer / X-Api-Key
[
  {
    "oauth2": []
  },
  {
    "chaveApi": []
  }
]
Availability depends on the environment, enabled scopes and provider. This reference does not execute requests or collect credentials.

Parameters

idpath · integerRequired

Numeric ID of the insurance filing.

Constraints
{
  "type": "integer"
}

Request Body

Optional

Cancellation justification.

application/json

Responses

200 HTTP Response

Operation processed successfully.

application/json

data—Optional
metaobject | nullOptional
additionalPropertiestrue
ambientestringOptional
"homologacao" · "producao"
401 HTTP Response

Missing, invalid or cross-environment credential.

403 HTTP Response

Dashboard scope not enabled or resource outside company scope.

Complete Operation Definition
{
  "tags": [
    "Seguro de Carga"
  ],
  "operationId": "cancelarAverbacaoSeguroCarga",
  "summary": "Cancelar averbação de Seguro Obrigatório de Carga (RCTR-C / RC-DC)",
  "description": "Solicita o cancelamento junto à AT&M da averbação de Seguro Obrigatório de Carga (RCTR-C e RC-DC — Lei 14.599/2023).",
  "parameters": [
    {
      "name": "id",
      "in": "path",
      "required": true,
      "description": "ID numérico da averbação.",
      "schema": {
        "type": "integer"
      }
    }
  ],
  "requestBody": {
    "required": false,
    "description": "Justificativa de cancelamento.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": true
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "Operação processada com sucesso.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "data": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": true
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                ]
              },
              "meta": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": true
              },
              "ambiente": {
                "type": "string",
                "enum": [
                  "homologacao",
                  "producao"
                ]
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Credencial ausente, inválida ou de outro ambiente."
    },
    "403": {
      "description": "Escopo do painel não habilitado ou recurso fora do escopo da company."
    }
  },
  "x-fleetpay-scope": "operacao",
  "x-fleetpay-module": "seguro-carga",
  "x-fleetpay-profiles": [
    "gestor",
    "agregado_empresarial",
    "embarcador",
    "transportador_frotista"
  ],
  "method": "POST",
  "path": "/seguro-carga/averbacoes/{id}/cancelar"
}