Merchant Account

Merchant Account: Create For Currency

See also the Merchant Account response object.

availability

This method is only supported for merchants using Braintree Auth.

  1. C#
MerchantAccountRequest request = new MerchantAccountRequest
{
    Currency = "USD"
};
BraintreeGateway gateway = new BraintreeGateway(merchantAccessToken);
Result<MerchantAccount> result = gateway.MerchantAccount.CreateForCurrency(request);

if (result.IsSuccess()) {
    Console.Out.WriteLine(result.Target.CurrencyIsoCode);
}

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

Parameters
Currencystring

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

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

See also