See also the MerchantAccount response object.

Ruby
Copy
Copied
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.

Still have questions?

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