See also the Dispute response object.

availability

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.

Ruby
dispute = gateway.dispute.find("a_dispute_id")

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

Arguments
dispute_id required, String

The unique dispute identifier.