See also the MerchantAccount response object.

availability

This method is only supported for merchants using Braintree Auth.

Node.js
var gateway = braintree.connect({
  accessToken: merchantAccessToken
});

gateway.merchantAccount.createForCurrency({
  currency: 'USD'
}, function (err, result) {
  if (result.success) {
    console.log(result.merchantAccount.currencyIsoCode);
  }
});

If called with an unsupported currency, returns a validation error. For more information see currency support.

Parameters
currency required, String

Currency code of a supported currency. See the ISO 4217 codes.

id String

The ID of the merchant account, referenced when creating transactions.

See also