Dispute
Dispute: Remove Evidence
You can remove evidence on a dispute through this method. You can only remove evidence for disputes that have a status of OPEN.
- Java
Result<Dispute> result = gateway.dispute().removeEvidence(
"a_dispute_id",
"a_evidence_id"
);
If the evidence is successfully removed from the dispute, the result will be successful. Otherwise, check for validation errors.
- Java
if (result.isSuccess()) {
// evidence removed successfully
} else {
System.out.println(result.getErrors());
}
Arguments
disputeId
required, stringThe unique dispute identifier.
evidenceId
required, stringThe unique evidence identifier. Found on the dispute object getEvidence().Id()