{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asaas/json-schema/asaas-chargeback-list-response-dto-schema.json",
  "title": "ChargebackListResponseDTO",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asaas-chargeback-api-openapi.yml#/components/schemas/ChargebackListResponseDTO",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "description": "Tipo de objeto",
      "deprecated": false
    },
    "hasMore": {
      "type": "boolean",
      "description": "Indica se há mais uma página a ser buscada",
      "deprecated": false
    },
    "totalCount": {
      "type": "integer",
      "description": "Quantidade total de itens para os filtros informados",
      "format": "int32",
      "deprecated": false
    },
    "limit": {
      "type": "integer",
      "description": "Quantidade de objetos por página",
      "format": "int32",
      "deprecated": false
    },
    "offset": {
      "type": "integer",
      "description": "Posição do objeto a partir do qual a página deve ser carregada",
      "format": "int32",
      "deprecated": false
    },
    "data": {
      "type": "array",
      "description": "Lista de objetos",
      "deprecated": false,
      "items": {
        "$ref": "#/$defs/PaymentChargebackResponseDTO"
      }
    }
  },
  "$defs": {
    "ChargebackCreditCardResponseCreditCardBrand": {
      "type": "string",
      "description": "Bandeira do cartão utilizado",
      "deprecated": false,
      "enum": [
        "VISA",
        "MASTERCARD",
        "ELO",
        "DINERS",
        "DISCOVER",
        "AMEX",
        "CABAL",
        "BANESCARD",
        "CREDZ",
        "SOROCRED",
        "CREDSYSTEM",
        "JCB",
        "UNKNOWN"
      ]
    },
    "ChargebackCreditCardResponseDTO": {
      "type": "object",
      "properties": {
        "number": {
          "type": "string",
          "description": "Últimos 4 dígitos do cartão utilizado",
          "deprecated": false
        },
        "brand": {
          "$ref": "#/$defs/ChargebackCreditCardResponseCreditCardBrand"
        }
      },
      "description": "Informações do cartão de crédito",
      "deprecated": false
    },
    "PaymentChargebackResponseChargebackDisputeStatus": {
      "type": "string",
      "description": "Status da disputa do chargeback.",
      "deprecated": false,
      "enum": [
        "REQUESTED",
        "ACCEPTED",
        "REJECTED"
      ]
    },
    "PaymentChargebackResponseChargebackReason": {
      "type": "string",
      "description": "Razão do chargeback",
      "deprecated": false,
      "enum": [
        "ABSENCE_OF_PRINT",
        "ABSENT_CARD_FRAUD",
        "CARD_ACTIVATED_PHONE_TRANSACTION",
        "CARD_FRAUD",
        "CARD_RECOVERY_BULLETIN",
        "COMMERCIAL_DISAGREEMENT",
        "COPY_NOT_RECEIVED",
        "CREDIT_OR_DEBIT_PRESENTATION_ERROR",
        "DIFFERENT_PAY_METHOD",
        "FRAUD",
        "INCORRECT_TRANSACTION_VALUE",
        "INVALID_CURRENCY",
        "INVALID_DATA",
        "LATE_PRESENTATION",
        "LOCAL_REGULATORY_OR_LEGAL_DISPUTE",
        "MULTIPLE_ROCS",
        "ORIGINAL_CREDIT_TRANSACTION_NOT_ACCEPTED",
        "OTHER_ABSENT_CARD_FRAUD",
        "PROCESS_ERROR",
        "RECEIVED_COPY_ILLEGIBLE_OR_INCOMPLETE",
        "RECURRENCE_CANCELED",
        "REQUIRED_AUTHORIZATION_NOT_GRANTED",
        "RIGHT_OF_FULL_RECOURSE_FOR_FRAUD",
        "SALE_CANCELED",
        "SERVICE_DISAGREEMENT_OR_DEFECTIVE_PRODUCT",
        "SERVICE_NOT_RECEIVED",
        "SPLIT_SALE",
        "TRANSFERS_OF_DIVERSE_RESPONSIBILITIES",
        "UNQUALIFIED_CAR_RENTAL_DEBIT",
        "USA_CARDHOLDER_DISPUTE",
        "VISA_FRAUD_MONITORING_PROGRAM",
        "WARNING_BULLETIN_FILE"
      ]
    },
    "PaymentChargebackResponseChargebackStatus": {
      "type": "string",
      "description": "Status do chargeback",
      "deprecated": false,
      "enum": [
        "REQUESTED",
        "IN_DISPUTE",
        "DISPUTE_LOST",
        "REVERSED",
        "DONE"
      ]
    },
    "PaymentChargebackResponseDTO": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Identificador único do chargeback.",
          "deprecated": false
        },
        "payment": {
          "type": "string",
          "description": "Identificador único da cobrança no Asaas",
          "deprecated": false
        },
        "installment": {
          "type": "string",
          "description": "Identificador único do parcelamento no Asaas",
          "deprecated": false
        },
        "customerAccount": {
          "type": "string",
          "description": "Identificador único do cliente ao qual o chargeback está vinculado.",
          "deprecated": false
        },
        "status": {
          "$ref": "#/$defs/PaymentChargebackResponseChargebackStatus"
        },
        "reason": {
          "$ref": "#/$defs/PaymentChargebackResponseChargebackReason"
        },
        "disputeStartDate": {
          "type": "string",
          "description": "Data de abertura do chargeback.",
          "format": "date",
          "deprecated": false
        },
        "value": {
          "type": "number",
          "description": "Valor do chargeback.",
          "deprecated": false
        },
        "paymentDate": {
          "type": "string",
          "description": "Data de liquidação da cobrança no Asaas",
          "format": "date",
          "deprecated": false
        },
        "creditCard": {
          "$ref": "#/$defs/ChargebackCreditCardResponseDTO"
        },
        "disputeStatus": {
          "$ref": "#/$defs/PaymentChargebackResponseChargebackDisputeStatus"
        },
        "deadlineToSendDisputeDocuments": {
          "type": "string",
          "description": "Data limite para envio de documentos de disputa.",
          "format": "date",
          "deprecated": false
        }
      }
    }
  }
}