---
updatedAt: 2025-09-23T22:56:44.000Z
agentTools:
  projectIndex: https://docs-b2b.usezapay.com.br/llms.txt
---

# Desativa uma assinatura de monitoramento

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "ZAPI",
    "description": "\n## Introdução\n\n### **Bem vindo à documentação da ZAPI a API para parceiros da Zapay !**\n\n---\n\nAqui você encontrará todas as informações necessárias para integrar com a Zapay.\n\n### Status do serviço\n\nA Zapay disponibiliza um link (https://status.usezapay.com.br/) para que você possa acompanhar em tempo real o status e disponibilidade dos serviços.\n\n### Versionamento\n\nA Zapay utiliza o versionamento por URL, ou seja, a versão da API é definida na URL de acesso.\n\n\n**Versões disponíveis**\n- **v2 (atual)**: https://api.b2b.usezapay.com.br/v2/docs/\n- **v1 (descontinuada)**: https://api.b2b.usezapay.com.br/v1/docs/\n",
    "contact": {
      "name": "TI Zapay",
      "url": "https://sejaparceiro.usezapay.com.br/",
      "email": "ti@usezapay.com.br"
    },
    "version": "v2",
    "x-logo": {
      "url": "https://www.usezapay.com.br/assets/svgs/logo-zapay.svg"
    }
  },
  "servers": [
    {
      "url": "https://api.b2b.usezapay.com.br/v2",
      "description": "Production"
    },
    {
      "url": "https://api.b2b.sandbox.usezapay.com.br/v2",
      "description": "Sandbox"
    }
  ],
  "paths": {
    "/monitoring/subscriptions/{subscription_id}/deactivate": {
      "put": {
        "tags": [
          "Monitoramento"
        ],
        "summary": "Desativa uma assinatura de monitoramento",
        "operationId": "deactivate_subscription_monitoring_subscriptions__subscription_id__deactivate_put",
        "parameters": [
          {
            "name": "subscription_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "description": "Identificador da assinatura",
              "title": "Subscription Id"
            },
            "description": "Identificador da assinatura"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionResponseDTO-Output"
                }
              }
            }
          },
          "400": {
            "description": "Erro na requisição",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonitoringExceptionResponseDTO"
                }
              }
            }
          },
          "401": {
            "description": "Não autorizado",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UnauthorizedResponseDTO"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "basicAuth": []
          }
        ]
      }
    }
  },
  "webhooks": {
    "monitoring_search_result_event": {
      "post": {
        "tags": [
          "Monitoramento"
        ],
        "summary": "Webhook dos resultados de monitoramento",
        "description": "Webhook dos resultados de monitoramento enviado\napós concluir todas as consultas de uma assinatura",
        "operationId": "monitoring_search_result_eventmonitoring_search_result_event_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitoringSearchResultEventModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "monitoring_create_subscription_event": {
      "post": {
        "tags": [
          "Monitoramento"
        ],
        "summary": "Webhook de confirma de criação de assinatura",
        "description": "Webhook de confirmação de criação de assinatura,\nsomente será enviado se for criação de assinatura em lote",
        "operationId": "monitoring_create_subscription_eventmonitoring_create_subscription_event_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitoringCreateSubscriptionEventModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "monitoring_create_subscription_event_failed": {
      "post": {
        "tags": [
          "Monitoramento"
        ],
        "summary": "Webhook de falha na criação de assinatura",
        "description": "Webhook de falha na criação de assinatura,\nsomente será enviado se for criação de assinatura em lote",
        "operationId": "monitoring_create_subscription_event_failedmonitoring_create_subscription_event_failed_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitoringCreateSubscriptionFailEventModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "monitoring_deactivate_subscription_event": {
      "post": {
        "tags": [
          "Monitoramento"
        ],
        "summary": "Webhook de confirmação de desativação de assinatura",
        "description": "Webhook de confirmação de desativação de assinatura,\nsomente será enviado se for um cancelamento em lote",
        "operationId": "monitoring_deactivate_subscription_eventmonitoring_deactivate_subscription_event_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitoringDeactivateSubscriptionEventModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "monitoring_deactivate_subscription_event_failed": {
      "post": {
        "tags": [
          "Monitoramento"
        ],
        "summary": "Webhook de falha na desativação de assinatura",
        "description": "Webhook de falha na desativação de assinatura,\nsomente será enviado se for um cancelamento em lote",
        "operationId": "monitoring_deactivate_subscription_event_failedmonitoring_deactivate_subscription_event_failed_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitoringDeactivateSubscriptionFailEventModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AttemptDTO": {
        "properties": {
          "attempt": {
            "type": "integer",
            "title": "Attempt",
            "description": "Número da tentativa"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Created At",
            "description": "Data da tentativa"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WebhookStatusEnum"
              }
            ],
            "description": "Status do envio",
            "default": "sent"
          },
          "server_response": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ServerResponseDTO"
              }
            ],
            "description": "Resposta do servidor"
          }
        },
        "type": "object",
        "required": [
          "attempt",
          "created_at",
          "server_response"
        ],
        "title": "AttemptDTO"
      },
      "ContactEventData": {
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          }
        },
        "type": "object",
        "title": "ContactEventData"
      },
      "DriverFines": {
        "properties": {
          "legal_framework": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Legal Framework"
          },
          "points": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Points"
          },
          "local": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Local"
          },
          "infringement": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Infringement"
          },
          "license_plate": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "License Plate"
          },
          "price": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Price"
          },
          "infringement_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Infringement Date"
          },
          "payment_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Payment Status"
          }
        },
        "type": "object",
        "required": [
          "legal_framework",
          "points",
          "local",
          "infringement",
          "license_plate",
          "price",
          "infringement_date",
          "payment_status"
        ],
        "title": "DriverFines"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "MonitoringCreateSubscriptionEventModel": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id",
            "description": "identificador único do evento"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WebhookStatusEnum"
              }
            ],
            "description": "Status de envido do evento"
          },
          "event": {
            "allOf": [
              {
                "$ref": "#/components/schemas/zpy_enterprise_resources__domain__webhook__schemas__webhook_enum__WebhookEventsEnum"
              }
            ],
            "default": "monitoring_create_subscription_event"
          },
          "attempts": {
            "items": {
              "$ref": "#/components/schemas/AttemptDTO"
            },
            "type": "array",
            "title": "Attempts",
            "description": "Resposta do servidor recebida pelo webhook",
            "default": []
          },
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SubscriptionResultEventData"
              }
            ],
            "description": "Corpo do evento para ser enviado para o cliente"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Created At",
            "description": "Data da criação do evento"
          },
          "webhook": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WebhookShortModel"
              },
              {
                "type": "null"
              }
            ],
            "description": "Webhook que enviou o evento"
          }
        },
        "type": "object",
        "required": [
          "id",
          "status",
          "data",
          "created_at"
        ],
        "title": "MonitoringCreateSubscriptionEventModel"
      },
      "MonitoringCreateSubscriptionFailEventModel": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id",
            "description": "identificador único do evento"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WebhookStatusEnum"
              }
            ],
            "description": "Status de envido do evento"
          },
          "event": {
            "allOf": [
              {
                "$ref": "#/components/schemas/zpy_enterprise_resources__domain__webhook__schemas__webhook_enum__WebhookEventsEnum"
              }
            ],
            "default": "monitoring_create_subscription_event_failed"
          },
          "attempts": {
            "items": {
              "$ref": "#/components/schemas/AttemptDTO"
            },
            "type": "array",
            "title": "Attempts",
            "description": "Resposta do servidor recebida pelo webhook",
            "default": []
          },
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SubscriptionResultEventData"
              }
            ],
            "description": "Corpo do evento para ser enviado para o cliente"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Created At",
            "description": "Data da criação do evento"
          },
          "webhook": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WebhookShortModel"
              },
              {
                "type": "null"
              }
            ],
            "description": "Webhook que enviou o evento"
          }
        },
        "type": "object",
        "required": [
          "id",
          "status",
          "data",
          "created_at"
        ],
        "title": "MonitoringCreateSubscriptionFailEventModel"
      },
      "MonitoringDeactivateSubscriptionEventModel": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id",
            "description": "identificador único do evento"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WebhookStatusEnum"
              }
            ],
            "description": "Status de envido do evento"
          },
          "event": {
            "allOf": [
              {
                "$ref": "#/components/schemas/zpy_enterprise_resources__domain__webhook__schemas__webhook_enum__WebhookEventsEnum"
              }
            ],
            "default": "monitoring_deactivate_subscription_event"
          },
          "attempts": {
            "items": {
              "$ref": "#/components/schemas/AttemptDTO"
            },
            "type": "array",
            "title": "Attempts",
            "description": "Resposta do servidor recebida pelo webhook",
            "default": []
          },
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SubscriptionResultEventData"
              }
            ],
            "description": "Corpo do evento para ser enviado para o cliente"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Created At",
            "description": "Data da criação do evento"
          },
          "webhook": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WebhookShortModel"
              },
              {
                "type": "null"
              }
            ],
            "description": "Webhook que enviou o evento"
          }
        },
        "type": "object",
        "required": [
          "id",
          "status",
          "data",
          "created_at"
        ],
        "title": "MonitoringDeactivateSubscriptionEventModel"
      },
      "MonitoringDeactivateSubscriptionFailEventModel": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id",
            "description": "identificador único do evento"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WebhookStatusEnum"
              }
            ],
            "description": "Status de envido do evento"
          },
          "event": {
            "allOf": [
              {
                "$ref": "#/components/schemas/zpy_enterprise_resources__domain__webhook__schemas__webhook_enum__WebhookEventsEnum"
              }
            ],
            "default": "monitoring_deactivate_subscription_event_failed"
          },
          "attempts": {
            "items": {
              "$ref": "#/components/schemas/AttemptDTO"
            },
            "type": "array",
            "title": "Attempts",
            "description": "Resposta do servidor recebida pelo webhook",
            "default": []
          },
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SubscriptionResultEventData"
              }
            ],
            "description": "Corpo do evento para ser enviado para o cliente"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Created At",
            "description": "Data da criação do evento"
          },
          "webhook": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WebhookShortModel"
              },
              {
                "type": "null"
              }
            ],
            "description": "Webhook que enviou o evento"
          }
        },
        "type": "object",
        "required": [
          "id",
          "status",
          "data",
          "created_at"
        ],
        "title": "MonitoringDeactivateSubscriptionFailEventModel"
      },
      "MonitoringExceptionResponseDTO": {
        "properties": {
          "code": {
            "type": "integer",
            "title": "Code",
            "description": "Código do erro"
          },
          "message": {
            "type": "string",
            "title": "Message",
            "description": "Mensagem de erro"
          },
          "detail": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "title": "Detail",
            "description": "Detalhes do erro"
          }
        },
        "type": "object",
        "required": [
          "code",
          "message"
        ],
        "title": "MonitoringExceptionResponseDTO"
      },
      "MonitoringSearchResultEventModel": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id",
            "description": "identificador único do evento"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WebhookStatusEnum"
              }
            ],
            "description": "Status de envido do evento"
          },
          "event": {
            "allOf": [
              {
                "$ref": "#/components/schemas/zpy_enterprise_resources__domain__webhook__schemas__webhook_enum__WebhookEventsEnum"
              }
            ],
            "default": "monitoring_search_result_event"
          },
          "attempts": {
            "items": {
              "$ref": "#/components/schemas/AttemptDTO"
            },
            "type": "array",
            "title": "Attempts",
            "description": "Resposta do servidor recebida pelo webhook",
            "default": []
          },
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SearchResultEventData"
              }
            ],
            "description": "Corpo do evento para ser enviado para o cliente"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Created At",
            "description": "Data da criação do evento"
          },
          "webhook": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WebhookShortModel"
              },
              {
                "type": "null"
              }
            ],
            "description": "Webhook que enviou o evento"
          }
        },
        "type": "object",
        "required": [
          "id",
          "status",
          "data",
          "created_at"
        ],
        "title": "MonitoringSearchResultEventModel"
      },
      "Restriction": {
        "properties": {
          "code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          }
        },
        "type": "object",
        "title": "Restriction"
      },
      "SearchResultDriverEventData": {
        "properties": {
          "driver_name": {
            "type": "string",
            "title": "Driver Name"
          },
          "uf": {
            "$ref": "#/components/schemas/StateEnum"
          },
          "cnh": {
            "type": "string",
            "title": "Cnh"
          },
          "has_points": {
            "type": "boolean",
            "title": "Has Points"
          },
          "has_new_points": {
            "type": "boolean",
            "title": "Has New Points"
          },
          "category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category"
          },
          "points": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Points"
          },
          "last_points": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Points"
          },
          "points_limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Points Limit"
          },
          "expiration_date": {
            "anyOf": [
              {
                "type": "string",
                "format": "date"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expiration Date"
          },
          "fines": {
            "items": {
              "$ref": "#/components/schemas/DriverFines"
            },
            "type": "array",
            "title": "Fines"
          },
          "is_expired": {
            "type": "boolean",
            "title": "Is Expired",
            "default": false
          },
          "sucess": {
            "type": "boolean",
            "title": "Sucess",
            "default": true
          }
        },
        "type": "object",
        "required": [
          "driver_name",
          "uf",
          "cnh",
          "has_points",
          "has_new_points",
          "category",
          "points",
          "last_points",
          "points_limit",
          "expiration_date"
        ],
        "title": "SearchResultDriverEventData"
      },
      "SearchResultEventData": {
        "properties": {
          "subscription_id": {
            "type": "string",
            "format": "uuid",
            "title": "Subscription Id"
          },
          "contact": {
            "$ref": "#/components/schemas/ContactEventData"
          },
          "external_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Id"
          },
          "drivers": {
            "items": {
              "$ref": "#/components/schemas/SearchResultDriverEventData"
            },
            "type": "array",
            "title": "Drivers"
          },
          "vehicles": {
            "items": {
              "$ref": "#/components/schemas/SearchResultVehicleEventData"
            },
            "type": "array",
            "title": "Vehicles"
          },
          "vehicle_history": {
            "items": {
              "$ref": "#/components/schemas/SearchResultVehicleHistoryEventData"
            },
            "type": "array",
            "title": "Vehicle History"
          },
          "report_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Report Url"
          }
        },
        "type": "object",
        "required": [
          "subscription_id",
          "contact"
        ],
        "title": "SearchResultEventData"
      },
      "SearchResultVehicleEventData": {
        "properties": {
          "license_plate": {
            "type": "string",
            "title": "License Plate"
          },
          "have_debts": {
            "type": "boolean",
            "title": "Have Debts"
          },
          "state": {
            "$ref": "#/components/schemas/StateEnum"
          },
          "debts": {
            "items": {
              "$ref": "#/components/schemas/VehicleDebt"
            },
            "type": "array",
            "title": "Debts"
          },
          "owner_document": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner Document"
          },
          "success": {
            "type": "boolean",
            "title": "Success",
            "default": true
          }
        },
        "type": "object",
        "required": [
          "license_plate",
          "have_debts",
          "state",
          "owner_document"
        ],
        "title": "SearchResultVehicleEventData"
      },
      "SearchResultVehicleHistoryEventData": {
        "properties": {
          "success": {
            "type": "boolean",
            "title": "Success",
            "default": true
          },
          "manufacture_year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Manufacture Year"
          },
          "model_year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Year"
          },
          "cmc": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cmc"
          },
          "cmt": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cmt"
          },
          "body_work_type_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Body Work Type Code"
          },
          "body_work_type_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Body Work Type Description"
          },
          "category_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category Code"
          },
          "category_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category Description"
          },
          "chassis_series": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Chassis Series"
          },
          "displacement": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Displacement"
          },
          "fuel_type_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fuel Type Code"
          },
          "fuel_type_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fuel Type Description"
          },
          "color_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Color Code"
          },
          "color_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Color Description"
          },
          "species_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Species Code"
          },
          "species_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Species Description"
          },
          "has_alarm": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Has Alarm"
          },
          "has_theft_or_robbery": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Has Theft Or Robbery"
          },
          "seating_capacity": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Seating Capacity"
          },
          "model_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Code"
          },
          "model_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Description"
          },
          "registration_city_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Registration City Code"
          },
          "registration_city_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Registration City Description"
          },
          "number_of_axles": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Number Of Axles"
          },
          "gross_weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gross Weight"
          },
          "power": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Power"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          },
          "vehicle_type_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vehicle Type Code"
          },
          "vehicle_type_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vehicle Type Description"
          },
          "registration_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Registration State"
          },
          "expiry_date": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expiry Date"
          },
          "is_under_sales_notification": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Under Sales Notification"
          },
          "is_auctioned": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Auctioned"
          },
          "has_renainf_fine": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Has Renainf Fine"
          },
          "has_emission_pending": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Has Emission Pending"
          },
          "has_manufacturer_recall": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Has Manufacturer Recall"
          },
          "has_renajud_restriction": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Has Renajud Restriction"
          },
          "tax_restriction_indicator": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Restriction Indicator"
          },
          "tax_restriction_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Restriction Description"
          },
          "origin": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Origin"
          },
          "crlv_issue_date": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Crlv Issue Date"
          },
          "crlv_year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Crlv Year"
          },
          "license_plate": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "License Plate"
          },
          "restrictions": {
            "items": {
              "$ref": "#/components/schemas/Restriction"
            },
            "type": "array",
            "title": "Restrictions"
          }
        },
        "type": "object",
        "title": "SearchResultVehicleHistoryEventData"
      },
      "ServerResponseDTO": {
        "properties": {
          "http_status_code": {
            "type": "integer",
            "title": "Http Status Code",
            "description": "Status http da resposta",
            "default": 200
          },
          "headers": {
            "type": "object",
            "title": "Headers",
            "description": "Cabeçalho da resposta",
            "default": {}
          },
          "body": {
            "type": "object",
            "title": "Body",
            "description": "Corpo de resposta",
            "default": {}
          }
        },
        "type": "object",
        "title": "ServerResponseDTO"
      },
      "StateEnum": {
        "type": "string",
        "enum": [
          "AC",
          "AL",
          "AP",
          "AM",
          "BA",
          "CE",
          "DF",
          "ES",
          "GO",
          "MA",
          "MT",
          "MS",
          "MG",
          "PA",
          "PB",
          "PR",
          "PE",
          "PI",
          "RJ",
          "RN",
          "RS",
          "RO",
          "RR",
          "SC",
          "SP",
          "SE",
          "TO"
        ],
        "title": "StateEnum"
      },
      "SubscriptionResponseDTO-Output": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id",
            "description": "Identificador da assinatura"
          },
          "external_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Id",
            "description": "Identificador externo"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Created At",
            "description": "Data de criação"
          },
          "next_search_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Search At",
            "description": "Data da próxima busca"
          },
          "plan_id": {
            "type": "string",
            "format": "uuid",
            "title": "Plan Id",
            "description": "Identificador do plano"
          }
        },
        "type": "object",
        "required": [
          "id",
          "created_at",
          "plan_id"
        ],
        "title": "SubscriptionResponseDTO"
      },
      "SubscriptionResultEventData": {
        "properties": {
          "subscription_id": {
            "type": "string",
            "format": "uuid",
            "title": "Subscription Id"
          },
          "external_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Id"
          },
          "success": {
            "type": "boolean",
            "title": "Success",
            "default": true
          },
          "detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Detail"
          }
        },
        "type": "object",
        "required": [
          "subscription_id"
        ],
        "title": "SubscriptionResultEventData"
      },
      "UnauthorizedResponseDTO": {
        "properties": {
          "detail": {
            "type": "string",
            "title": "Detail",
            "description": "Detalhes do erro"
          }
        },
        "type": "object",
        "required": [
          "detail"
        ],
        "title": "UnauthorizedResponseDTO"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "VehicleDebt": {
        "properties": {
          "id": {
            "type": "string",
            "title": "Id"
          },
          "type": {
            "type": "string",
            "title": "Type"
          },
          "amount": {
            "type": "number",
            "title": "Amount"
          },
          "year": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Year"
          },
          "due_date": {
            "anyOf": [
              {
                "type": "string",
                "format": "date"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due Date"
          },
          "date": {
            "anyOf": [
              {
                "type": "string",
                "format": "date"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          }
        },
        "type": "object",
        "required": [
          "id",
          "type",
          "amount"
        ],
        "title": "VehicleDebt"
      },
      "WebhookShortModel": {
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "description": "Id único do webhook"
          },
          "resource": {
            "allOf": [
              {
                "$ref": "#/components/schemas/zpy_enterprise_resources__domain__webhook__schemas__webhook_enum__ResourceEnum"
              }
            ],
            "description": "Recurso que serão enviados para o webhook",
            "default": "vehicle_debt"
          },
          "version": {
            "type": "string",
            "title": "Version",
            "description": "Versão do webhook",
            "default": "v2"
          }
        },
        "type": "object",
        "required": [
          "id"
        ],
        "title": "WebhookShortModel"
      },
      "WebhookStatusEnum": {
        "type": "string",
        "enum": [
          "pending",
          "sent",
          "failed"
        ],
        "title": "WebhookStatusEnum"
      },
      "zpy_enterprise_resources__domain__webhook__schemas__webhook_enum__ResourceEnum": {
        "type": "string",
        "enum": [
          "vehicle_debt",
          "vehicle_debt_batch",
          "checkout",
          "autoradar",
          "payment_recurrence",
          "documents",
          "monitoring",
          "document_order"
        ],
        "title": "ResourceEnum"
      },
      "zpy_enterprise_resources__domain__webhook__schemas__webhook_enum__WebhookEventsEnum": {
        "type": "string",
        "enum": [
          "vehicle_not_found",
          "vehicle_debt_not_found",
          "vehicle_debt_found",
          "vehicle_debt_search_error",
          "vehicle_enriched_partially",
          "vehicle_debt_unavailable",
          "vehicle_debt_batch_search_done",
          "webhook_validation",
          "payment_order_discount_created",
          "payment_order_discount_applied",
          "payment_order_discount_deleted",
          "payment_order_created",
          "payment_order_item_created",
          "payment_order_item_updated",
          "payment_order_item_deleted",
          "payment_order_closed",
          "payment_order_updated",
          "payment_order_paid",
          "payment_order_payment_failed",
          "payment_order_processing",
          "payment_order_canceled",
          "payment_order_cancellation_requested",
          "payment_order_checkout_created",
          "payment_order_checkout_canceled",
          "payment_order_checkout_closed",
          "payment_order_completed",
          "payment_order_failed",
          "payment_order_chargedback",
          "autoradar_vehicle_debt_found",
          "autoradar_vehicle_debt_not_found",
          "autoradar_vehicle_due_debts",
          "autoradar_vehicle_update_required",
          "autoradar_subscription_activated",
          "autoradar_subscription_activated_failed",
          "autoradar_subscription_deactivated",
          "autoradar_subscription_deactivated_failed",
          "autoradar_vehicle_debt_search_initiated_error",
          "payment_recurrence_plan_created",
          "payment_recurrence_plan_updated",
          "payment_recurrence_plan_canceled",
          "payment_recurrence_plan_item_created",
          "payment_recurrence_plan_item_updated",
          "payment_recurrence_plan_item_canceled",
          "payment_recurrence_subscription_created",
          "payment_recurrence_subscription_updated",
          "payment_recurrence_subscription_canceled",
          "payment_recurrence_subscriptionitem_created",
          "payment_recurrence_subscriptionitem_updated",
          "payment_recurrence_subscriptionitem_canceled",
          "payment_recurrence_invoice_created",
          "payment_recurrence_invoice_paid",
          "payment_recurrence_invoice_payment_failed",
          "payment_recurrence_invoice_canceled",
          "documents_crlv_request",
          "documents_crlv_issued",
          "documents_crlv_unavailable",
          "documents_crlv_incorrect_data",
          "documents_crlv_request_failed",
          "documents_crlv_canceled_protocol",
          "document_order_payment_create_success",
          "document_order_payment_create_failed",
          "document_order_payment_updated",
          "document_order_crlv_success",
          "document_order_crlv_failed",
          "document_order_crlv_pending",
          "document_order_onc_success",
          "monitoring_search_result_event",
          "monitoring_create_subscription_event",
          "monitoring_create_subscription_event_failed",
          "monitoring_deactivate_subscription_event",
          "monitoring_deactivate_subscription_event_failed",
          "monitoring_need_update_subscription_event",
          "monitoring_need_update_subscription_event_failed"
        ],
        "title": "WebhookEventsEnum"
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "tags": [
    {
      "name": "Monitoramento",
      "description": "\n### Monitoramento de pontos de CNH\n"
    }
  ]
}
```