See also the MerchantAccount response object.

Java
MerchantAccount merchant_account = gateway.merchantAccount().find("the_merchant_account_id");

If the merchant account can't be found, it will throw a NotFoundException.

Arguments
id required, string

The id() of the sub-merchant.