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.
- PHP
$result = $gateway->dispute()->finalize("a_dispute_id");- PHP
if ($result->success) { // dispute successfully finalized } else { foreach($result->errors->deepAll() as $error) { print_r($error->code . ": " . $error->message); } }