See also the MerchantAccount response object.

C♯
MerchantAccount merchantAccount = 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.