Merchant Account: Update
See also the Merchant Account response object.
- Ruby
result = gateway.merchant_account.update(
"blue_ladders_store",
:individual => {
:first_name => "Jane"
}
)
if result.success?
p "Merchant account successfully updated"
else
p result.errors
endIf the merchant account can't be found, it will raise a Braintree::NotFoundError.
Arguments
idrequired, StringAdditional Parameters
:account_numberString:extended_addressString:localityString:postal_codeString:regionString:street_addressString:company_nameString:date_of_birthString:emailString:first_nameString:last_nameString:phoneString:routing_numberString:ssnString:tax_idString:addressString:localityString:postal_codeString:regionString:street_addressString:dba_nameStringThe "Doing Business As" name. The company name must contain only letters, numbers, ampersands (&) hyphens (-), exclamation marks (!), at symbols (@), hashtag (#), dollar sign ($), beginning and end parentheses ( '(' and ')' ), single quotation mark ('), period (.), forward slash (/), plus symbol (+), comma (,) and double quotation mark ("). 40 character maximum.
:legal_nameStringThe legal name. The applicant's legal name must contain only letters, numbers, ampersands (&) hyphens (-), exclamation marks (!), at symbols (@), hashtag (#), dollar sign ($), beginning and end parentheses ( '(' and ')' ), single quotation mark ('), period (.), forward slash (/), plus symbol (+), comma (,) and double quotation mark ("). 40 character maximum. Required if business information has been provided.
:tax_idString:account_numberStringThe value representing a checking account number. It is required if the request's funding destination is bank.
:descriptorString:destinationStringThe way in which funds will be delivered to a specific sub-merchant. Specify bank to disburse funds into the checking account associated with the provided account and routing numbers. Venmo funding destinations (email and mobile_phone) are no longer supported for new merchants. Any sub-merchant that is already using a Venmo destination may continue to do so, and the funding details for those accounts can still be updated. Learn more about sub-merchant funding.
:emailString:mobile_phoneString:routing_numberStringThe numeric value representing a specific bank. Required if funding destination is bank.
:addressString:localityString:postal_codeString:regionString:street_addressString:date_of_birthStringYYYYMMDD or YYYY-MM-DD.:emailString:first_nameString:last_nameString:phoneString:ssnString