Dispute: Finalize

See also the Dispute response object. You can only finalize disputes that have a Status of Open. This will submit the evidence to the banks and update the status to Disputed.
  1. C#
var result = gateway.Dispute.Finalize("a_dispute_id");
If the dispute is successfully finalized, the result will be successful. Otherwise, check for validation errors.
  1. C#
if (result.IsSuccess()) {
    // dispute successfully finalized
} else {
    foreach (ValidationError error in result.Errors.DeepAll()) {
        Console.WriteLine(error.Code);
        Console.WriteLine(error.Message);
    }
}
Arguments
DisputeIdrequired, string

The unique dispute identifier. You can only finalize disputes that have a Status of OPEN.

;;