Dispute
Dispute: Accept
Availability
Managing disputes via the API is only available to merchants who can access disputes in the
Braintree Control Panel.
- Ruby
result = gateway.dispute.accept("a_dispute_id")
- Ruby
if result.success?
# dispute successfully accepted
else
p result.errors
end
Arguments
dispute_id
required, StringThe unique dispute identifier. You can only accept disputes that have a status
of OPEN.