See also the MerchantAccount response object.

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

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

Arguments
id required, String

The id of the sub-merchant.