Dispute
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.
- Python
result = gateway.dispute.finalize("a_dispute_id")
- Python
if result.is_success:
# dispute successfully finalized
else:
for error in result.errors.deep_errors:
print(error.code)
print(error.message)
Arguments
dispute_id
required, strThe unique dispute identifier. You can only finalize disputes that have a status
of OPEN.