Dispute: Finalize
Availability Managing disputes via the API is only available to merchants who can access disputes in the Braintree Control Panel.
Important You must call this function in order for the evidence to be submitted on the dispute.
- Java
Result<dispute> result = gateway.dispute().finalize("a_dispute_id");- Java
if (result.isSuccess()) { // dispute successfully finalized } else { for (ValidationError error : result.getErrors().getAllDeepValidationErrors()) { System.out.println(error.getCode()); System.out.println(error.getMessage()); } }Arguments
disputeIdrequired, stringThe unique dispute identifier. You can only finalize disputes that have a getStatus() of OPEN.