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.
- Ruby
result = gateway.dispute.remove_evidence(
"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.
- Ruby
if result.success?
# evidence removed successfully
else
p result.errors
end
Arguments
dispute_id
required, StringThe unique dispute identifier.
evidence_id
required, StringThe unique evidence identifier. Found on the dispute object evidence.id