Returns a collection of Dispute response objects.

availability

Managing disputes via the API is only available to merchants who can access disputes in the Braintree Control Panel.

For operators available on search fields, see the search fields page.

C♯
var request = new DisputeSearchRequest().
  Id.Is("dispute_id");

ResourceCollection<Dispute> collection = gateway.Dispute.Search(request);

foreach (Dispute dispute in collection)
{
  Console.WriteLine(dispute.Id);
}
Parameters
AmountDisputed range

The decimal value representing the disputed amount.

AmountWon range

The decimal value representing the reserved amount.

CaseNumber text

The case number of the dispute.

CustomerId text

The unique customer identifier associated with the disputed transaction.

DisbursementDate range

The disbursement date of the dispute history event.

EffectiveDate range

The effective date of the dispute history event.

Id text

The unique dispute identifier.

Kind multiple

The kind of dispute.

MerchantAccountId multiple

The ID of the merchant account this dispute is for.

Reason multiple

The reason for the dispute. See reasons on the dispute response object for possible values.

ReasonCode multiple

The raw reason code provided by the processor (e.g. 83).

ReceivedDate range

The date the dispute was received by the merchant.

ReferenceNumber text

The reference number of the dispute.

ReplyByDate range

The merchant Reply By date that is referenced in the gateway.

Status multiple

The status of the dispute. Possible values:

  • ACCEPTED
  • DISPUTED
  • EXPIRED
  • OPEN
  • LOST
  • WON

See dispute statuses for more details.

TransactionId text

The unique identifier for the disputed transaction.

TransactionSource multiple

How a transaction was created. Possible values:

  • API
  • CONTROL_PANEL
  • RECURRING
  • OAuth application client ID of the transaction facilitator

Examples

Multiple kinds

This example shows searches on the Kind parameter:

C♯
var searchRequest = new DisputeSearchRequest().
  Kind.IncludedIn(DisputeKind.CHARGEBACK, DisputeKind.RETRIEVAL);

Amount disputed range

This example shows searches on the AmountDisputed parameter:

C♯
var searchRequest = new DisputeSearchRequest().
  AmountDisputed.Between(100.00M, 200.00M);