# DisputeSearchInput

Input · GraphQL API

Input fields for searching for Disputes.

## Fields

- `id` (`SearchValueInput`): Find disputes with an id or ids.
- `status` (`SearchDisputeStatusInput`): Find disputes with a given status.
- `type` (`SearchDisputeTypeInput`): Find disputes with a given type.
- `reason` (`SearchDisputeReasonInput`): Find disputes with a given reason description.
- `caseNumber` (`SearchTextInput`): Find disputes with a given processor's caseNumber.
- `referenceNumber` (`SearchTextInput`): Find disputes with a given transaction referenceNumber.
- `amountDisputed` (`MonetaryAmountSearchInput`): Find disputes for a given amount or currency.
- `amountWon` (`MonetaryAmountSearchInput`): Find disputes by the amount won.
- `receivedDate` (`SearchDateInput`): Find disputes by the date received.
- `replyByDate` (`SearchDateInput`): Find disputes by the reply by date.
- `effectiveDate` (`SearchDateInput`): Find disputes by the date a status change history event took effect.
- `transaction` (`DisputeTransactionSearchInput`): Find disputes based on a set of transaction criteria.
- `chargebackProtectionLevel` (`SearchChargebackProtectionLevelInput`) — deprecated since 2022-09-19: Find disputes with a given computed chargeback protection level.
- `protectionLevel` (`SearchDisputeProtectionLevelInput`): Find disputes with a given protection level.
- `preDisputeProgram` (`SearchPreDisputeProgramInput`): Find disputes with a given pre-dispute program.

## Used by

- [disputes](/braintree/graphql/reference/queries/disputes) — Query; input
- [Search](/braintree/graphql/reference/types/search) — Object; disputes(input)

## GraphQL definition

```graphql
input DisputeSearchInput {
  id: SearchValueInput
  status: SearchDisputeStatusInput
  type: SearchDisputeTypeInput
  reason: SearchDisputeReasonInput
  caseNumber: SearchTextInput
  referenceNumber: SearchTextInput
  amountDisputed: MonetaryAmountSearchInput
  amountWon: MonetaryAmountSearchInput
  receivedDate: SearchDateInput
  replyByDate: SearchDateInput
  effectiveDate: SearchDateInput
  transaction: DisputeTransactionSearchInput
  chargebackProtectionLevel: SearchChargebackProtectionLevelInput @deprecated(reason: "Please use `protectionLevel` instead.")
  protectionLevel: SearchDisputeProtectionLevelInput
  preDisputeProgram: SearchPreDisputeProgramInput
}
```

---

[View the complete GraphQL schema on GitHub](https://raw.githubusercontent.com/braintree/graphql-api/refs/heads/master/schema.graphql)