See also the MerchantAccount response object.

PHP
Copy
Copied
$merchantAccount = $gateway->merchantAccount()->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, you'll receive a Braintree_Exception_NotFound exception.

Arguments
id required, string

The id of the sub-merchant.

Still have questions?

If you can’t find an answer, contact our Support team