Merchant Account

Merchant Account: All

Returns a collection of Merchant Account objects.
  1. Java
BraintreeGateway gateway = new BraintreeGateway(
    Environment.SANDBOX,
    "MERCHANT_ID",
    "PUBLIC_KEY",
    "PRIVATE_KEY"
);

/* all returns an Iterable<merchantaccount> */
PaginatedCollection<merchantaccount> merchantAccountsIterable = gateway.merchantAccount().all();

for (MerchantAccount merchantAccount : merchantAccountsIterable) {
    System.out.println(merchantAccount.getCurrencyIsoCode());
}

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more