Merchant Account

Merchant Account: All

Returns a collection of Merchant Account objects.

  1. Node
const gateway = new braintree.BraintreeGateway({
  environment: braintree.Environment.Sandbox;
  merchantId: 'MERCHANT_ID',
  publicKey: 'PUBLIC_KEY',
  privateKey: 'PRIVATE_KEY'
});

gateway.merchantAccount.all((err, merchantAccounts) => {
  merchantAccounts.forEach((merchantAccount) => {
    console.log(merchantAccount.currencyIsoCode);
  });
});