WebService::Braintree::MerchantAccount
This class creates, updates, deletes, and finds merchant accounts.
This takes a hashref of parameters and returns the merchant account created.
This takes a merchant_account_id returns the merchant account (if it exists).
This returns all the merchant accounts.
This takes a merchant_account_id and a hashref of parameters. It will update the corresponding merchant account (if found) and returns the updated merchant account.
In addition to the methods provided by the keys returned from Braintree, this class provides the following methods:
This returns the master merchant account (if it exists). It will be a WebService::Braintree::MerchantAccount object.
This returns the individual details of this merchant account (if they exist). It will be a WebService::Braintree::MerchantAccount::IndividualDetails object.
This returns the business details of this merchant account (if they exist). It will be a WebService::Braintree::MerchantAccount::BusinessDetails object.
This returns the funding details of this merchant account (if they exist). It will be a WebService::Braintree::MerchantAccount::FundingDetails object.
To install WebService::Braintree, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Braintree
CPAN shell
perl -MCPAN -e shell install WebService::Braintree
For more information on module installation, please visit the detailed CPAN module installation guide.