Dispute
Dispute: Search
Returns a collection of Dispute response objects.
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
rangeAmountWon
rangeCaseNumber
textChargebackProtectionLevel
multipleThe chargeback protection level of the dispute. Possible values:
- EFFORTLESS
- STANDARD
- NOT_PROTECTED
CustomerId
textDisbursementDate
rangeEffectiveDate
rangeId
textKind
multipleMerchantAccountId
multipleA fragment of the merchant account ID to search for.
Contains
textEndsWith
textIs
textIsNot
textStartsWith
textPreDisputeProgram
multipleThe pre-dispute program of the dispute. Possible values:
- VISA_RDR
- NONE
Reason
multipleThe reason for the dispute. See reasons on the dispute response object for possible values.
ReasonCode
multipleReceivedDate
rangeReferenceNumber
textReplyByDate
rangeStatus
multipleThe status of the dispute. Possible values:
- ACCEPTED
- AUTO_ACCEPTED
- DISPUTED
- EXPIRED
- LOST
- OPEN
- UNDER_REVIEW
- WON
See dispute statuses for more details.
TransactionId
textTransactionSource
multipleHow 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);