availability

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

You can remove evidence on a dispute through this method. You can only remove evidence for disputes that have a Status of OPEN.

C♯
var 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.

C♯
if (result.IsSuccess())
{
  // evidence removed successfully
} else {
  Console.WriteLine(result.Errors);
}

If the dispute can't be found, it will throw a NotFoundException.

Arguments
DisputeId required, string

The unique dispute identifier.

EvidenceId required, string

The unique evidence identifier. Found on the dispute object Evidence.Id