See also the MerchantAccount response object.

PHP
$merchantAccount = $gateway->merchantAccount()->find('the_merchant_account_id');

If the merchant account can't be found, you'll receive a Braintree\Exception\NotFound exception.

Arguments
id required, string

The id of the sub-merchant.