Dispute
Dispute: Search
Returns a collection of Dispute response objects.
For operators available on search fields, see the search fields page.
- Java
DisputeSearchRequest request = new DisputeSearchRequest()
.id().is("dispute_id");
ResourceCollection<Dispute> collection = gateway.dispute().search(request);
for (Dispute dispute : collection) {
System.out.println(dispute.getId());
}
Parameters
.amountDisputed(…)
range.amountWon(…)
range.caseNumber(…)
text.chargebackProtectionLevel(…)
multipleThe chargeback protection level of the dispute. Possible values:
- EFFORTLESS
- STANDARD
- NOT_PROTECTED
.customerId(…)
text.disbursementDate(…)
range.effectiveDate(…)
range.id(…)
text.kind(…)
multiple.merchantAccountId(…)
multipleA fragment of the merchant account ID to search for.
.contains(…)
text.endsWith(…)
text.is(…)
text.isNot(…)
text.startsWith(…)
text.preDisputeProgram(…)
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(…)
multiple.receivedDate(…)
range.replyByDate(…)
range.status(…)
multipleThe status of the dispute. Possible values:
- ACCEPTED
- AUTO_ACCEPTED
- DISPUTED
- EXPIRED
- OPEN
- LOST
- WON
See dispute statuses for more details.
.transactionSource(…)
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:
- Java
DisputeSearchRequest searchRequest = new DisputeSearchRequest()
.kind()
.in(Dispute.Kind.CHARGEBACK, Dispute.Kind.RETRIEVAL);
Amount disputed range
This example shows searches on the amountDisputed parameter:
- Java
DisputeSearchRequest searchRequest = new DisputeSearchRequest()
.amountDisputed()
.between(new BigDecimal("100.00"), new BigDecimal("200.00"));