Merchant Account
Merchant Account: Create For Currency
See also the Merchant Account response object.
- Python
gateway = braintree.BraintreeGateway(
access_token=merchant_access_token
)
result = gateway.merchant_account.create_for_currency({
"currency": "USD"
})
if result.is_success:
print(result.merchant_account.currency_iso_code)
If called with an unsupported currency, returns a validation error . For more information see currency support .
Parameters
'currency'
strCurrency code of a supported currency. See the ISO 4217 codes.
'id'
strThe ID of the merchant account, referenced when creating transactions.