See also the MerchantAccount response object.

Python
merchant_account_params = {
    'individual': {
        'first_name': "Jane",
        'last_name': "Doe",
        'email': "jane@14ladders.com",
        'phone': "5553334444",
        'date_of_birth': "1981-11-19",
        'ssn': "456-45-4567",
        'address': {
            'street_address': "111 Main St",
            'locality': "Chicago",
            'region': "IL",
            'postal_code': "60622"
        }
    },
    'business': {
        'legal_name': "Jane's Ladders",
        'dba_name': "Jane's Ladders",
        'tax_id': "98-7654321",
        'address': {
            'street_address': "111 Main St",
            'locality': "Chicago",
            'region': "IL",
            'postal_code': "60622"
        }
    },
    'funding': {
        'descriptor': "Blue Ladders",
        'destination': braintree.MerchantAccount.FundingDestination.Bank,
        'email': "funding@blueladders.com",
        'mobile_phone': "5555555555",
        'account_number': "1123581321",
        'routing_number': "071101307",
    },
    "tos_accepted": True,
    "master_merchant_account_id": "14ladders_marketplace",
    "id": "blue_ladders_store"
}
result = gateway.merchant_account.create(merchant_account_params)
Parameters
'business'

Only available for Braintree Marketplace accounts. Business information associated with a sub-merchant.

'address' str

Only available for Braintree Marketplace accounts. Business information associated with a sub-merchant.

'locality' str

The locality/city. 255 character maximum.

'postal_code' str

The postal code. Postal code must be a string of 4-9 alphanumeric characters, optionally separated by a dash or a space. Spaces and hyphens are ignored.

'region' str

The state or province. For PayPal addresses, the region must meet PayPal's state restrictions; for all other payment methods, it must be less than or equal to 255 characters.

'street_address' str

The street address. Street address must be less than or equal to 255 characters.

'dba_name' str

The "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_name' str

The 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 tax_id has been provided.

'tax_id' str

The 9-digit numeric value associated with the business' tax identity. Required if legal_name has been provided.

'funding' required

Details of where funds will be disbursed for a sub-merchant.

'account_number' str

The value representing a checking account number. Required if the request's funding destination is Bank, prohibited otherwise.

'descriptor' str

The value that determines the business description that will appear on a sub-merchant's bank statement for deposits. If one is not provided, the gateway will generate one based on applicant name, business legal name, or DBA name. 22 character maximum.

'destination' required, str

The 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 MobilePhone, are no longer supported for new merchants. Contact us with questions or concerns.

'email' str

The email address composed of ASCII characters. Must be in the format email_name@email_domain.domain. 64 character maximum for email_name. Required if the request's funding destination is Email.

'mobile_phone' str

The mobile phone number. Phone must be 10 - 14 characters and can only contain numbers, parentheses, and periods. Required if the request's funding destination is MobilePhone.

'routing_number' str

The numeric value representing a specific bank. Required if funding destination is Bank, prohibited otherwise.

'id' str

Specifies the ID of the sub-merchant, which can be referenced when creating transactions with service fees. 32 character maximum; must be unique, can't be 'all' or 'new', and must contain only letters, numbers, _ and -. If not provided, we will automatically generate one.

'individual' required

Individual information associated with a sub-merchant.

'address' required, str

Individual address information associated with a sub-merchant.

'locality' required, str

The locality/city. 255 character maximum.

'postal_code' required, str

The postal code. Postal code must be a string of 4-9 alphanumeric characters, optionally separated by a dash or a space. Spaces and hyphens are ignored.

'region' required, str

The state or province. For PayPal addresses, the region must meet PayPal's state restrictions; for all other payment methods, it must be less than or equal to 255 characters.

'street_address' required, str

The street address. Street address must be less than or equal to 255 characters.

'date_of_birth' required, str

The applicant's date of birth. Values can be passed as YYYYMMDD or YYYY-MM-DD.

'email' required, str

Email address composed of ASCII characters.

'first_name' required, str

The first name. The first name value must be less than or equal to 255 characters.

'last_name' required, str

The last name. The last name value must be less than or equal to 255 characters.

'phone' str

Phone number. Phone must be 10-14 characters and can only contain numbers, dashes, parentheses and periods.

'ssn' str

Either the full 9-digit Social Security Number or the last 4 digits. The value may be passed with or without dashes. If only the last 4 digits are provided, we will use this information in combination with the sub-merchant's other details to attempt to retrieve the full SSN.

'master_merchant_account_id' required, str

Specifies the merchant account that service fees are sent to. Merchant account IDs can be viewed in the Control Panel; learn how in our support articles.

'tos_accepted' required, bool

Whether the sub-merchant has read and agreed to the Terms of Service (TOS). See the terms of service accepted parameter for more information.

See also