See also the Dispute response object.


Managing disputes via the API is only available to merchants who can access disputes in the Braintree Control Panel.

If you want to look up a single dispute using its ID, use the find method.

dispute = gateway.dispute.find("a_dispute_id")
This code snippet now uses gateway instance methods instead of class-level methods. Learn more.

If the dispute can't be found, it will raise a Braintree::NotFoundError.

dispute_id required, String

The unique dispute identifier.