← HomeFleetPay / Schema

ErrorBody

Structure preserved from the versioned API contract.

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

codestringRequired

Stable code defined by the FleetPay contract.

messagestringRequired
detailsobject | nullOptional
additionalPropertiestrue
request_idstring · uuidRequired
Original JSON Definition (Portuguese Descriptions)
{
  "type": "object",
  "required": [
    "code",
    "message",
    "request_id"
  ],
  "properties": {
    "code": {
      "type": "string",
      "description": "Código estável e próprio do contrato FleetPay."
    },
    "message": {
      "type": "string"
    },
    "details": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": true,
      "properties": {
        "pending_items": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "request_id": {
      "type": "string",
      "format": "uuid"
    }
  }
}