Dispute
Dispute: Accept
See also the Dispute response object.
You can only accept disputes that have a status of OPEN. If you have already issued a refund for the disputed transaction, do not accept the dispute - instead, submit file or text evidence of the refund.
- Java
Result<Dispute> result = gateway.dispute().accept("a_dispute_id");
If the dispute is successfully accepted, the result will be successful. Otherwise, check for validation errors.
- Java
if (result.isSuccess()) {
// dispute successfully accepted
} else {
System.out.println(result.getErrors());
}
Arguments
disputeId
required, stringThe unique dispute identifier. You can only accept disputes that have a getStatus()
of OPEN.