DOCS

New!

/

25 minute read

August 3, 2019

Businesses

The business resource represents a business on the Marqeta platform. This resource stores business attributes such as the legal and DBA names, office location, date of establishment, and financial information such as account balances. By default, every business automatically has a general purpose account (GPA). Businesses are allowed to also have merchant-specific accounts (MSAs). Note that account balances reside at the business level — there are no separate "account" or "balance" objects.

The Marqeta platform allows you to set up business-user hierarchical relationships that enable a business to control and monitor the card use of some specified group of users. In a hierarchical sense, the business is a "parent" and the users are "children". Businesses cannot directly own cards, but their children can. In real-life terms, these children would likely be employees, or perhaps customers. You declare the parent-child hierarchical relationship between a business and user within the user definition by referencing the token that identifies the business. A business cannot be the child of another business or of a user.

Note
A user can simultaneously be a child of a business and a parent of other users if the user is not configured to use the parent’s account balances and the user’s children are configured to use the parent’s account balances.

Create business

Action: POST
Endpoint: /businesses

Get started now!

Sign up today and get access to Marqeta's API Explorer

To create a business, send a POST request to the /businesses endpoint and include the business details in JSON format in the body of the request. A new business’s initial status depends on the Know Your Customer (KYC) requirements of the program or associated account holder group.

KYC Required Initial Business State Business Active on Creation Business Limitations

Always

UNVERIFIED

No

Can’t load funds.

Conditionally

LIMITED

No

Restricted by rules in accountholdergroups.pre_kyc_controls.

Never

ACTIVE

Yes

None.

To change or track the history of a business’s status, use the /businesstransitions endpoint. For more information on status changes, see Create Business Transition on this page.

To perform KYC verification checks on businesses, the business object must have the following fields configured:

  • business_name_legal

  • business_name_dba

  • office_location (object; cannot perform KYC if set to a PO Box)

  • identifications (array; must include identification of type BUSINESS_TAX_ID, BUSINESS_NUMBER, or TAXPAYER_REFERENCE)

  • incorporation.incorporation_type

  • incorporation.state_of_incorporation

  • phone (the top-level phone field)

  • date_established

For information on how to create a user that has a child-to-parent hierarchical relationship to the business, see Create User.

Body field details

Fields Description

token

string, optional

The unique identifier of the business.

If you do not include a token, the system generates one automatically. This token is necessary for use in other API calls, so we recommend that rather than let the system generate one, you use a simple string that is easy to remember. This value cannot be updated.

Allowable Values:

36 char max

business_name_legal

string, optional

Legal name of business.

Required for verification (KYC) checks.

Allowable Values:

255 char max

business_name_dba

string, optional

Fictitious business name.

Required for verification (KYC) checks.

Allowable Values:

255 char max

office_location

object, optional

Address of business office.

Required for verification (KYC) checks. Cannot perform KYC if set to a PO Box.

Allowable Values:

in_current_location_since

string, optional

The date on which the business office opened in its current location.

Allowable Values:

yyyy-MM-dd, yyyy-MM-dd’T’HH:mm:ss.SSSZ, yyyy-MM-dd’T’HH:mm:ss.SSS’Z', EEE' or ' dd MMM yyyy HH:mm:ss zzz'

phone

string, optional

10-digit telephone number of business.

Required for verification (KYC) checks.

Allowable Values:

510-555-1212 or 5105551212

Do not insert a 1 before the area code.

website

string, optional

URL of the business’s website.

Allowable Values:

255 char max

date_established

string, optional

Date the business was established.

Required for verification (KYC) checks.

Allowable Values:

yyyy-MM-dd, yyyy-MM-dd’T’HH:mm:ss.SSSZ, yyyy-MM-dd’T’HH:mm:ss.SSS’Z', EEE' or ' dd MMM yyyy HH:mm:ss zzz'

general_business_description

string, optional

General description of the business.

Allowable Values:

255 char max

history

string, optional

History of the business.

Allowable Values:

255 char max

account_holder_group_token

string, optional

Associates the specified account holder group with the business.

Allowable Values:

Existing account holder group token.

Send a GET request to /accountholdergroups to retrieve account holder group tokens.

ip_address

string, optional

The IP address of the business.

Allowable Values:

39 char max

notes

string, optional

Any additional information pertaining to the business.

Allowable Values:

255 char max

business_type

string, optional

Indicates the type of business, for example B2B (business-to-business) or B2C (business-to-consumer).

Allowable Values:

255 char max

international_office_locations

string, optional

The locations of the business’s offices outside the US.

Allowable Values:

255 char max

primary_contact

object, optional

Describes the business’s primary contact.

Allowable Values:

duns_number

string, optional

Data Universal Numbering System (DUNS) number of business.

Allowable Values:

255 char max

incorporation

object, optional

Contains information regarding the business’s incorporation.

Required for verification (KYC) checks.

Allowable Values:

proprietor_or_officer

object, optional

Contains information regarding the business’s proprietor or officer.

Allowable Values:

metadata

object, optional

Associates customer-injected metadata with the business.

Allowable Values:

password

string, optional

Password for the business’s account.

Allowable Values:

  • 8-20 characters

  • must contain at least 1 numeral

  • must contain at least 1 lower-case letter

  • must contain at least 1 upper-case letter

  • must contain at least 1 of these symbols: @#$%!^&*()\_+~`-=[]{},;:'",./<>?

identifications

array, optional

One or more objects containing identifying information about the business.

Allowable Values:

The office_location object

Fields Description

address1

string, optional

Business office’s street address.

Required for verification (KYC) checks. Cannot perform KYC if set to a PO Box.

Allowable Values: 255 char max

address2

string, optional

Additional address information.

Cannot perform KYC if set to a PO Box.

Allowable Values: 255 char max

city

string, optional

Business office’s city.

Required for verification (KYC) checks.

Allowable Values: 40 char max

state

string, optional

Business office’s state.

Required for verification (KYC) checks.

Allowable Values: 35 char max

postal_code

string, optional

Business office’s postal code.

Required for verification (KYC) checks.

Allowable Values: 20 char max

country

string, optional

Business office’s country.

Required for verification (KYC) checks.

Allowable Values: 40 char max

The primary_contact object

Fields Description

full_name

string, optional

Name of primary contact.

Allowable Values: 255 char max

title

string, optional

Title of primary contact.

Allowable Values: 255 char max

department

string, optional

Department of primary contact.

Allowable Values: 255 char max

phone

string, optional

Telephone number of primary contact.

Allowable Values: 510-555-1212 or 5105551212

Do not insert a 1 before the area code.

extension

string, optional

Telephone extension of primary contact.

Allowable Values: 255 char max

fax

string, optional

Fax number of primary contact.

Allowable Values: 510-555-1212 or 5105551212

Do not insert a 1 before the area code.

mobile

string, optional

Mobile telephone number of primary contact.

Allowable Values: 510-555-1212 or 5105551212

Do not insert a 1 before the area code.

email

string, optional

Email address of primary contact.

Allowable Values: 255 char max

The incorporation object

Fields Description

is_public

boolean, optional

"True" indicates the business is publicly held.

Allowable Values: true, false

Default value: false

incorporation_type

string, optional

The business’s type of incorporation.

Required for verification (KYC) checks.

Allowable Values: LLC, CORPORATION, SOLE_PROPRIETORSHIP, PARTNERSHIP, COOPERATIVE, OTHER

stock_symbol

string, optional

The business’s stock symbol.

Allowable Values: 255 char max

state_of_incorporation

string, optional

The state in which the business is incorporated.

Required for verification (KYC) checks.

Allowable Values: 255 char max

name_registered_under

string, optional

The name under which the business is registered.

Allowable Values: 255 char max

address_registered_under

object, optional

The address under which the business is registered.

The incorporation.address_registered_under object

Fields Description

address1

string, optional

Business’s registered street address.

Allowable Values: 255 char max

address2

string, optional

Additional address information.

Allowable Values: 255 char max

city

string, optional

Business’s registered city.

Allowable Values: 40 char max

state

string, optional

Business’s registered state.

Allowable Values: 35 char max

postal_code

string, optional

Business’s registered postal code.

Allowable Values: 20 char max

country

string, optional

Business’s registered country.

Allowable Values: 40 char max

The identifications array

You can add one or more objects to the identifications array. Each identification in the array must be of a different type.

Only one of the following identification types can be associated with a business:

  • Business Tax ID

  • Business Number

  • Taxpayer Reference

Fields Description

type

string, required

The form of identification.

Note
Required for KYC verification checks.

Allowable Values:

BUSINESS_TAX_ID, BUSINESS_NUMBER, TAXPAYER_REFERENCE

value

string, required

The identification number associated with the form of identification.

Allowable Values:

255 char max

expiration_date

string, optional

The expiration date for the form of identification, if applicable.

Allowable Values:

yyyy-MM-dd

The proprietor_or_officer object

Fields Description

first_name

string, optional

First name of business proprietor or officer.

Allowable Values: 255 char max

middle_name

string, optional

Middle name of business proprietor or officer.

Allowable Values: 255 char max

last_name

string, optional

Last name of business proprietor or officer.

Allowable Values: 255 char max

alternative_names

string, optional

Alternate names of business proprietor or officer.

Allowable Values: 255 char max

title

string, optional

Title of business proprietor or officer.

Allowable Values: 255 char max

home

object, optional

Describes the business proprietor or officer’s home.

dob

string, optional

Business proprietor or officer’s date of birth

Allowable Values: yyyy-MM-dd, yyyy-MM-dd’T’HH:mm:ss.SSSZ, yyyy-MM-dd’T’HH:mm:ss.SSS’Z', EEE' or ' dd MMM yyyy HH:mm:ss zzz'

phone

string, optional

Telephone number of business proprietor or officer.

Allowable Values: 510-555-1212 or 5105551212

Do not insert a 1 before the area code.

email

string, optional

Email address of business proprietor or officer.

Allowable Values: 255 char max

identifications

object, optional

One or more objects containing identifying information about the business proprietor or officer.

The proprietor_or_officer.home object

Fields Description

address1

string, optional

Street address of business proprietor or officer.

Allowable Values: 255 char max

address2

string, optional

Additional address information.

Allowable Values: 255 char max

city

string, optional

City of business proprietor or officer.

Allowable Values: 40 char max

state

string, optional

State in which business proprietor or officer resides.

Allowable Values: 35 char max

postal_code

string, optional

Business proprietor or officer’s postal code.

Allowable Values: 20 char max

country

string, optional

Country in which business proprietor or officer resides

Allowable Values: 40 char max

The proprietor_or_officer.identifications array

You can add one or more objects to the identifications array. Each identification in the array must be of a different type.

Only one of the following identification types can be associated with a proprietor or officer:

  • SSN – Social Security Number

  • SIN – Social Insurance Number

  • TIN – Taxpayer Identification Number

  • NIN – National Insurance Number

Fields Description

type

string, required

The form of identification.

Note
SSN is required for KYC verification checks.

Allowable Values:

SSN, TIN, SIN, NIN

value

string, required

The identification number associated with the form of identification.

Allowable Values:

255 char max

expiration_date

string, optional

The expiration date for the form of identification, if applicable.

Allowable Values:

yyyy-MM-dd

The metadata object

Fields Description

customer_defined_name_01 customer_defined_name_02 …​ customer_defined_name_20 (255 char max per name)

Associates customer-injected metadata with the business.

You can define the names and values of up to 20 fields. For example:

"metadata": {
  "my_name_1": "my_value_1",
  "my_name_2": "my_value_2"
}

Allowable Values:

  • Up to 20 name-value pairs

  • 255 char max per name

  • 255 char max per value

Sample request body

{
  "token": "my_business_02",
  "metadata": {
  	"my_name_1": "my_value_1",
  	"my_name_2": "my_value_2"
  },
  "notes": "My  notes",
  "password": "My_passw0rd",
  "phone": "5105551212",
  "website": "https://my_business_02.com",
  "history": "My_business_history",
  "incorporation": {
    "is_public": true,
    "stock_symbol": "MB",
    "state_of_incorporation": "CA",
    "name_registered_under": "First Middle Last",
    "address_registered_under": {
      "address1": "123 B street",
      "city": "My_city",
      "state": "CA",
      "postal_code": "94711",
      "country": "USA"
    },
    "incorporation_type": "LLC"
  },
  "ip_address": "67.120.28.118",
  "business_name_legal": "My_legal_business_name",
  "business_name_dba": "My_fictitious_business_name",
  "office_location": {
    "address1": "123 A street",
    "address2": "Suite 123",
    "city": "My_city",
    "state": "CA",
    "postal_code": "94711",
    "country": "USA"
  },
  "in_current_location_since": "2010-04-15",
  "date_established": "2010-04-15",
  "general_business_description": "My_business_description",
  "business_type": "My_business_type",
  "international_office_locations": "Athens, Greece; Buenos Aires, Argentina",
  "identifications": [
    {
      "type": "BUSINESS_TAX_ID",
      "value": "123456789"
    }
  ],
  "duns_number": "123456789",
  "primary_contact": {
    "title": "Dr",
    "department": "My_department",
    "phone": "5105551212",
    "extension": "11",
    "fax": "5105551222",
    "email": "dr_me@my_business.com",
    "full_name": "First Middle Last",
    "mobile": "5105551213"
  },
  "proprietor_or_officer": {
    "title": "Dr",
    "dob": "1954-03-07",
    "phone": "5105551214",
    "email": "dr_me@my_business.com",
    "first_name": "First",
    "middle_name": "Middle",
    "last_name": "Last",
    "alternative_names": "My alternative name",
    "home": {
      "address1": "123 B street",
      "address2": "Apt A",
      "city": "My_city",
      "state": "CA",
      "postal_code": "94711",
      "country": "USA"
    }
  }
 }

Is this helpful?

Sample response body

{
  "token": "my_business_02",
  "active": true,
  "notes": "My  notes",
  "ip_address": "67.120.28.118",
  "password": "___________",
  "phone": "5105551212",
  "metadata": {
    "my_name_1": "my_value_1",
    "my_name_2": "my_value_2"
  },
  "business_name_legal": "My_legal_business_name",
  "business_name_dba": "My_fictitious_business_name",
  "office_location": {
    "address1": "123 A street",
    "address2": "Suite 123",
    "city": "My_city",
    "state": "CA",
    "postal_code": "94711",
    "country": "USA"
  },
  "in_current_location_since": "2010-04-15",
  "website": "https://my_business_02.com",
  "date_established": "2010-04-15",
  "general_business_description": "My_business_description",
  "history": "My_business_history",
  "business_type": "My_business_type",
  "international_office_locations": "Athens, Greece; Buenos Aires, Argentina",
  "identifications": [
    {
      "type": "BUSINESS_TAX_ID",
      "value": "123456789"
    }
  ],
  "duns_number": "123456789",
  "primary_contact": {
    "full_name": "First Middle Last",
    "title": "Dr",
    "department": "My_department",
    "phone": "5105551212",
    "extension": "11",
    "fax": "5105551222",
    "mobile": "5105551213",
    "email": "dr_me@my_business.com"
  },
  "incorporation": {
    "is_public": true,
    "stock_symbol": "MB",
    "state_of_incorporation": "CA",
    "name_registered_under": "First Middle Last",
    "address_registered_under": {
      "address1": "123 B street",
      "city": "My_city",
      "state": "CA",
      "postal_code": "94711",
      "country": "USA"
    },
    "incorporation_type": "LLC"
  },
  "proprietor_or_officer": {
    "first_name": "First",
    "middle_name": "Middle",
    "last_name": "Last",
    "alternative_names": "My alternative name",
    "title": "Dr",
    "home": {
      "address1": "123 B street",
      "address2": "Apt A",
      "city": "My_city",
      "state": "CA",
      "postal_code": "94711",
      "country": "USA"
    },
    "dob": "1954-03-07",
    "phone": "5105551214",
    "email": "dr_me@my_business.com"
  },
  "created_time": "2017-01-13T23:29:10Z",
  "last_modified_time": "2017-01-13T23:29:10Z",
  "deposit_account": {
    "token": "420df02a-6aef-42bf-be7b-0d080ebf7573",
    "account_number": "12342126720827265",
    "routing_number": "293748000",
    "allow_immediate_credit": false
  },
  "status": "ACTIVE"
}

Is this helpful?

Retrieve business

Action: GET
Endpoint: /businesses/{token}

Get started now!

Sign up today and get access to Marqeta's API Explorer

To retrieve a specific business, send a GET request to the /businesses/{token} endpoint. Include the business token path parameter to specify the business to return.

This endpoint supports field filtering and sorting and pagination.

URL path parameters

Fields Description

token

string, required

Identifies the business to retrieve.

Allowable Values: Existing business token.

Send a GET request to /businesses to retrieve business tokens.

Sample response body

{
  "token": "my_business_02",
  "active": true,
  "notes": "My  notes",
  "ip_address": "67.120.28.118",
  "password": "___________",
  "phone": "5105551212",
  "metadata": {
    "my_name_1": "my_value_1",
    "my_name_2": "my_value_2"
  },
  "business_name_legal": "My_legal_business_name",
  "business_name_dba": "My_fictitious_business_name",
  "office_location": {
    "address1": "123 A street",
    "address2": "Suite 123",
    "city": "My_city",
    "state": "CA",
    "postal_code": "94711",
    "country": "USA"
  },
  "in_current_location_since": "2010-04-15",
  "website": "https://my_business_02.com",
  "date_established": "2010-04-15",
  "general_business_description": "My_business_description",
  "history": "My_business_history",
  "business_type": "My_business_type",
  "international_office_locations": "Athens, Greece; Buenos Aires, Argentina",
  "identifications": [
    {
      "type": "BUSINESS_TAX_ID",
      "value": "123456789"
    }
  ],
  "duns_number": "123456789",
  "primary_contact": {
    "full_name": "First Middle Last",
    "title": "Dr",
    "department": "My_department",
    "phone": "5105551212",
    "extension": "11",
    "fax": "5105551222",
    "mobile": "5105551213",
    "email": "dr_me@my_business.com"
  },
  "incorporation": {
    "is_public": true,
    "stock_symbol": "MB",
    "state_of_incorporation": "CA",
    "name_registered_under": "First Middle Last",
    "address_registered_under": {
      "address1": "123 B street",
      "city": "My_city",
      "state": "CA",
      "postal_code": "94711",
      "country": "USA"
    },
    "incorporation_type": "LLC"
  },
  "proprietor_or_officer": {
    "first_name": "First",
    "middle_name": "Middle",
    "last_name": "Last",
    "alternative_names": "My alternative name",
    "title": "Dr",
    "home": {
      "address1": "123 B street",
      "address2": "Apt A",
      "city": "My_city",
      "state": "CA",
      "postal_code": "94711",
      "country": "USA"
    },
    "dob": "1954-03-07",
    "phone": "5105551214",
    "email": "dr_me@my_business.com"
  },
  "created_time": "2017-01-13T23:29:10Z",
  "last_modified_time": "2017-01-13T23:29:10Z",
  "deposit_account": {
    "token": "420df02a-6aef-42bf-be7b-0d080ebf7573",
    "account_number": "12342126720827265",
    "routing_number": "293748000",
    "allow_immediate_credit": false
  },
  "status": "ACTIVE"
}

Is this helpful?

Update business

Action: PUT
Endpoint: /businesses/{token}

Get started now!

Sign up today and get access to Marqeta's API Explorer

To update a business, send a PUT request to /businesses/{token}. Use the token path parameter to specify the business to update. Include the business details to update in JSON format in the body of the request. Only values of parameters in the request are modified; all others are left unchanged.

URL path parameters

Fields Description

token

string, required

Identifies the business to update.

Allowable Values:

Existing business token.

Send a GET request to /businesses to retrieve business tokens.

Body field details

Fields Description

business_name_legal

string, optional

Legal name of business.

Required for verification (KYC) checks.

Allowable Values:

255 char max

business_name_dba

string, optional

Fictitious business name.

Required for verification (KYC) checks.

Allowable Values:

255 char max

office_location

object, optional

Address of business office.

Required for verification (KYC) checks. Cannot perform KYC if set to a PO Box.

Allowable Values:

in_current_location_since

string, optional

The date on which the business office opened in its current location.

Allowable Values:

yyyy-MM-dd, yyyy-MM-dd’T’HH:mm:ss.SSSZ, yyyy-MM-dd’T’HH:mm:ss.SSS’Z', EEE' or ' dd MMM yyyy HH:mm:ss zzz'

phone

string, optional

10-digit telephone number of business.

Required for verification (KYC) checks.

Allowable Values:

510-555-1212 or 5105551212

Do not insert a 1 before the area code.

website

string, optional

URL of the business’s website.

Allowable Values:

255 char max

date_established

string, optional

Date the business was established.

Required for verification (KYC) checks.

Allowable Values:

yyyy-MM-dd, yyyy-MM-dd’T’HH:mm:ss.SSSZ, yyyy-MM-dd’T’HH:mm:ss.SSS’Z', EEE' or ' dd MMM yyyy HH:mm:ss zzz'

general_business_description

string, optional

General description of the business.

Allowable Values:

255 char max

history

string, optional

History of the business.

Allowable Values:

255 char max

account_holder_group_token

string, optional

Associates the specified account holder group with the business.

Allowable Values:

Existing account holder group token.

Send a GET request to /accountholdergroups to retrieve account holder group tokens.

ip_address

string, optional

The IP address of the business.

Allowable Values:

39 char max

notes

string, optional

Any additional information pertaining to the business.

Allowable Values:

255 char max

business_type

string, optional

Indicates the type of business, for example B2B (business-to-business) or B2C (business-to-consumer).

Allowable Values:

255 char max

international_office_locations

string, optional

The locations of the business’s offices outside the US.

Allowable Values:

255 char max

primary_contact

object, optional

Describes the business’s primary contact.

Allowable Values:

duns_number

string, optional

Data Universal Numbering System (DUNS) number of business.

Allowable Values:

255 char max

incorporation

object, optional

Contains information regarding the business’s incorporation.

Required for verification (KYC) checks.

Allowable Values:

proprietor_or_officer

object, optional

Contains information regarding the business’s proprietor or officer.

Allowable Values:

metadata

object, optional

Associates customer-injected metadata with the business.

Allowable Values:

password

string, optional

Password for the business’s account.

Allowable Values:

  • 8-20 characters

  • must contain at least 1 numeral

  • must contain at least 1 lower-case letter

  • must contain at least 1 upper-case letter

  • must contain at least 1 of these symbols: @#$%!^&*()\_+~`-=[]{},;:'",./<>?

identifications

array, optional

One or more objects containing identifying information about the business.

Allowable Values:

The office_location object

Fields Description

address1

string, optional

Business office’s street address.

Required for verification (KYC) checks. Cannot perform KYC if set to a PO Box.

Allowable Values: 255 char max

address2

string, optional

Additional address information.

Cannot perform KYC if set to a PO Box.

Allowable Values: 255 char max

city

string, optional

Business office’s city.

Required for verification (KYC) checks.

Allowable Values: 40 char max

state

string, optional

Business office’s state.

Required for verification (KYC) checks.

Allowable Values: 35 char max

postal_code

string, optional

Business office’s postal code.

Required for verification (KYC) checks.

Allowable Values: 20 char max

country

string, optional

Business office’s country.

Required for verification (KYC) checks.

Allowable Values: 40 char max

The primary_contact object

Fields Description

full_name

string, optional

Name of primary contact.

Allowable Values: 255 char max

title

string, optional

Title of primary contact.

Allowable Values: 255 char max

department

string, optional

Department of primary contact.

Allowable Values: 255 char max

phone

string, optional

Telephone number of primary contact.

Allowable Values: 510-555-1212 or 5105551212

Do not insert a 1 before the area code.

extension

string, optional

Telephone extension of primary contact.

Allowable Values: 255 char max

fax

string, optional

Fax number of primary contact.

Allowable Values: 510-555-1212 or 5105551212

Do not insert a 1 before the area code.

mobile

string, optional

Mobile telephone number of primary contact.

Allowable Values: 510-555-1212 or 5105551212

Do not insert a 1 before the area code.

email

string, optional

Email address of primary contact.

Allowable Values: 255 char max

The incorporation object

Fields Description

is_public

boolean, optional

"True" indicates the business is publicly held.

Allowable Values: true, false

Default value: false

incorporation_type

string, optional

The business’s type of incorporation.

Required for verification (KYC) checks.

Allowable Values: LLC, CORPORATION, SOLE_PROPRIETORSHIP, PARTNERSHIP, COOPERATIVE, OTHER

stock_symbol

string, optional

The business’s stock symbol.

Allowable Values: 255 char max

state_of_incorporation

string, optional

The state in which the business is incorporated.

Required for verification (KYC) checks.

Allowable Values: 255 char max

name_registered_under

string, optional

The name under which the business is registered.

Allowable Values: 255 char max

address_registered_under

object, optional

The address under which the business is registered.

The incorporation.address_registered_under object

Fields Description

address1

string, optional

Business’s registered street address.

Allowable Values: 255 char max

address2

string, optional

Additional address information.

Allowable Values: 255 char max

city

string, optional

Business’s registered city.

Allowable Values: 40 char max

state

string, optional

Business’s registered state.

Allowable Values: 35 char max

postal_code

string, optional

Business’s registered postal code.

Allowable Values: 20 char max

country

string, optional

Business’s registered country.

Allowable Values: 40 char max

The identifications array

You can add one or more objects to the identifications array. Each identification in the array must be of a different type.

Only one of the following identification types can be associated with a business:

  • Business Tax ID

  • Business Number

  • Taxpayer Reference

Fields Description

type

string, required

The form of identification.

Note
Required for KYC verification checks.

Allowable Values:

BUSINESS_TAX_ID, BUSINESS_NUMBER, TAXPAYER_REFERENCE

value

string, required

The identification number associated with the form of identification.

Allowable Values:

255 char max

expiration_date

string, optional

The expiration date for the form of identification, if applicable.

Allowable Values:

yyyy-MM-dd

The proprietor_or_officer object

Fields Description

first_name

string, optional

First name of business proprietor or officer.

Allowable Values: 255 char max

middle_name

string, optional

Middle name of business proprietor or officer.

Allowable Values: 255 char max

last_name

string, optional

Last name of business proprietor or officer.

Allowable Values: 255 char max

alternative_names

string, optional

Alternate names of business proprietor or officer.

Allowable Values: 255 char max

title

string, optional

Title of business proprietor or officer.

Allowable Values: 255 char max

home

object, optional

Describes the business proprietor or officer’s home.

dob

string, optional

Business proprietor or officer’s date of birth

Allowable Values: yyyy-MM-dd, yyyy-MM-dd’T’HH:mm:ss.SSSZ, yyyy-MM-dd’T’HH:mm:ss.SSS’Z', EEE' or ' dd MMM yyyy HH:mm:ss zzz'

phone

string, optional

Telephone number of business proprietor or officer.

Allowable Values: 510-555-1212 or 5105551212

Do not insert a 1 before the area code.

email

string, optional

Email address of business proprietor or officer.

Allowable Values: 255 char max

identifications

object, optional

One or more objects containing identifying information about the business proprietor or officer.

The proprietor_or_officer.home object

Fields Description

address1

string, optional

Street address of business proprietor or officer.

Allowable Values: 255 char max

address2

string, optional

Additional address information.

Allowable Values: 255 char max

city

string, optional

City of business proprietor or officer.

Allowable Values: 40 char max

state

string, optional

State in which business proprietor or officer resides.

Allowable Values: 35 char max

postal_code

string, optional

Business proprietor or officer’s postal code.

Allowable Values: 20 char max

country

string, optional

Country in which business proprietor or officer resides

Allowable Values: 40 char max

The proprietor_or_officer.identifications array

You can add one or more objects to the identifications array. Each identification in the array must be of a different type.

Only one of the following identification types can be associated with a proprietor or officer:

  • SSN – Social Security Number

  • SIN – Social Insurance Number

  • TIN – Taxpayer Identification Number

  • NIN – National Insurance Number

Fields Description

type

string, required

The form of identification.

Note
SSN is required for KYC verification checks.

Allowable Values:

SSN, TIN, SIN, NIN

value

string, required

The identification number associated with the form of identification.

Allowable Values:

255 char max

expiration_date

string, optional

The expiration date for the form of identification, if applicable.

Allowable Values:

yyyy-MM-dd

The metadata object

Fields Description

customer_defined_name_01 customer_defined_name_02 …​ customer_defined_name_20 (255 char max per name)

Associates customer-injected metadata with the business.

You can define the names and values of up to 20 fields, for example:

"metadata": {
  "my_name_1": "my_value_1",
  "my_name_2": "my_value_2"
}

The following samples show how to update, add, and delete fields. Existing fields are unaffected unless they are included in the request.

Update a field’s value:

"metadata": {
  "my_name_1": "my_updated_value"
}

Add a new field:

"metadata": {
  "my_new_field": "my_value"
}

Delete an existing field:

"metadata": {
  "my_name_1": null
}

Allowable Values:

  • Up to 20 name-value pairs.

  • 255 char max per name.

  • 255 char max per value.

Sample request body

{
  "phone": "9876543210"
}

Is this helpful?

Sample response body

{
  "token": "my_business_02",
  "active": true,
  "notes": "My  notes",
  "ip_address": "67.120.28.118",
  "password": "___________",
  "phone": "9876543210",
  "metadata": {
    "my_name_1": "my_value_1",
    "my_name_2": "my_value_2"
  },
  "business_name_legal": "My_legal_business_name",
  "business_name_dba": "My_fictitious_business_name",
  "office_location": {
    "address1": "123 A street",
    "address2": "Suite 123",
    "city": "My_city",
    "state": "CA",
    "postal_code": "94711",
    "country": "USA"
  },
  "in_current_location_since": "2010-04-15",
  "website": "https://my_business_02.com",
  "date_established": "2010-04-15",
  "general_business_description": "My_business_description",
  "history": "My_business_history",
  "business_type": "My_business_type",
  "international_office_locations": "Athens, Greece; Buenos Aires, Argentina",
  "identifications": [
    {
      "type": "BUSINESS_TAX_ID",
      "value": "123456789"
    }
  ],
  "duns_number": "123456789",
  "primary_contact": {
    "full_name": "First Middle Last",
    "title": "Dr",
    "department": "My_department",
    "phone": "5105551214",
    "extension": "11",
    "fax": "5105551222",
    "mobile": "5105551213",
    "email": "dr_me@my_business.com"
  },
  "incorporation": {
    "is_public": true,
    "stock_symbol": "MB",
    "state_of_incorporation": "CA",
    "name_registered_under": "First Middle Last",
    "address_registered_under": {
      "address1": "123 B street",
      "city": "My_city",
      "state": "CA",
      "postal_code": "94711",
      "country": "USA"
    },
    "incorporation_type": "LLC"
  },
  "proprietor_or_officer": {
    "first_name": "First",
    "middle_name": "Middle",
    "last_name": "Last",
    "alternative_names": "My alternative name",
    "title": "Dr",
    "home": {
      "address1": "123 B street",
      "address2": "Apt A",
      "city": "My_city",
      "state": "CA",
      "postal_code": "94711",
      "country": "USA"
    },
    "dob": "1954-03-07",
    "phone": "5105551214",
    "email": "dr_me@my_business.com"
  },
  "created_time": "2017-01-13T23:29:10Z",
  "last_modified_time": "2017-01-13T23:29:10Z",
  "deposit_account": {
    "token": "420df02a-6aef-42bf-be7b-0d080ebf7573",
    "account_number": "12342126720827265",
    "routing_number": "293748000",
    "allow_immediate_credit": false
  },
  "status": "ACTIVE"
}

Is this helpful?

List businesses

Action: GET
Endpoint: /businesses

Get started now!

Sign up today and get access to Marqeta's API Explorer

To return an array of all businesses, send a GET request to the /businesses endpoint.

To narrow your result set to businesses that match a particular legal or fictitious name, include the appropriate parameters from the following query parameters table. This endpoint also supports field filtering and sorting and pagination.

Query parameters

Fields Description

business_name_legal

string, optional

Performs a non-case-sensitive match on the business’s business_name_legal field. Matching is partial on the beginning of the name. For example, a match on "Tool" returns both "Tools R Us" and "Tools & More".

Allowable Values: 40 char max

business_name_dba

string, optional

Performs a non-case-sensitive match on the business’s business_name_dba field. Matching is partial on the beginning of the name. For example, a match on "Tool" returns both "Tools R Us" and "Tools & More".

Allowable Values: 40 char max

Sample response body

{
  "count": 1,
  "start_index": 0,
  "end_index": 0,
  "is_more": true,
  "data": [
    {
      "token": "my_business_01",
      "active": true,
      "notes": "My notes",
      "password": "___________",
      "phone": "5105551215",
      "website": "https://my_business.com",
      "history": "My_business_history",
      "incorporation": {
        "is_public": true,
        "stock_symbol": "MB",
        "state_of_incorporation": "CA",
        "name_registered_under": "First Middle Last",
        "address_registered_under": {
          "address1": "123 B street",
          "city": "My_city",
          "state": "CA",
          "postal_code": "94711",
          "country": "USA"
        },
        "incorporation_type": "LLC"
      },
      "ip_address": "67.120.28.118",
      "business_name_legal": "My_legal_business_name",
      "business_name_dba": "My_fictitious_business_name",
      "office_location": {
        "address1": "123 A street",
        "address2": "Suite 123",
        "city": "My_city",
        "state": "CA",
        "postal_code": "94711",
        "country": "USA"
      },
      "in_current_location_since": "2010-04-15",
      "date_established": "2010-04-15",
      "general_business_description": "My_business_description",
      "business_type": "My_business_type",
      "international_office_locations": "Athens, Greece; Buenos Aires, Argentina",
      "identifications": [
        {
          "type": "BUSINESS_TAX_ID",
          "value": "123456789"
        }
      ],
      "duns_number": "123456789",
      "primary_contact": {
        "title": "Dr",
        "department": "My_department",
        "phone": "5105551215",
        "extension": "11",
        "fax": "5105551216",
        "email": "dr_me@my_business.com",
        "full_name": "First Middle Last",
        "mobile": "5105551217"
      },
      "proprietor_or_officer": {
        "title": "Dr",
        "dob": "1954-03-07",
        "phone": "5105551214",
        "email": "dr_me@my_business.com",
        "first_name": "First",
        "middle_name": "Middle",
        "last_name": "Last",
        "alternative_names": "My alternative name",
        "home": {
          "address1": "123 B street",
          "address2": "Apt A",
          "city": "My_city",
          "state": "CA",
          "postal_code": "94711",
          "country": "USA"
        }
      },
      "created_time": "2016-10-18T21:17:03Z",
      "last_modified_time": "2016-10-19T22:48:02Z"
      "status": "ACTIVE"
    }
  ]
}

Is this helpful?

Search businesses

Action: POST
Endpoint: /businesses/lookup

Get started now!

Sign up today and get access to Marqeta's API Explorer

To search for one or more businesses, send a POST request to the /businesses/lookup endpoint. Include in the message body any parameters by which you want to query. This endpoint supports field filtering and pagination.

Body field details

Fields Description

dda

string, required

The deposit account number of the business.

Allowable Values: 17 char max

Send a GET request to /directdeposits/accounts/{business_token} to retrieve the deposit account number for a specific business.

Send a GET request to /businesses to retrieve business tokens.

Sample request body

{
  "dda" : "00002129923205648"
}

Is this helpful?

Sample response body

{
     "token": "297aa1a7-f3c9-46eb-9e0a-54f8bce0c189",
     "active": true,
     "phone": "5105551218",
     "metadata": {},
     "account_holder_group_token": "DEFAULT_AHG",
     "created_time": "2017-06-20T00:17:48Z",
     "last_modified_time": "2017-06-20T00:17:48Z",
     "business_name_legal": "Chicken Tooth Music LLC",
     "business_name_dba": "Chicken Tooth Music",
     "office_location": {
         "address1": "111 Main St",
         "address2": "Suite B",
         "city": "Berkeley",
         "state": "CA",
         "postal_code": "94702",
         "country": "USA"
     },
     "date_established": "2010-01-01",
     "business_type": "other",
     "duns_number": "22344566",
     "primary_contact": {
         "full_name": "William Barry",
         "title": "Mr.",
         "department": "AP",
         "phone": "5105551218",
         "extension": "234",
         "fax": "5105551219",
         "mobile": "5105551220",
         "email": "wbarry@ctm.com"
     },
     "incorporation": {
         "state_of_incorporation": "CA",
         "incorporation_type": "CORPORATION"
     },
     "identifications": [
         {
             "type": "BUSINESS_TAX_ID",
             "value": "27-4387216"
         }
     ]
 }

Is this helpful?

List business children

Action: GET
Endpoint: /businesses/{parent_token}/children

Get started now!

Sign up today and get access to Marqeta's API Explorer

To return an array of all child users of a particular business, send a GET request to the /businesses/{parent_token}/children endpoint. Include the parent_token as a URL path parameter.

This endpoint supports field filtering.

URL path parameters

Fields Description

parent_token

string, required

Identifies the business whose child-users you want to list.

Allowable Values: Existing business token.

Send a GET request to /businesses to retrieve business tokens.

Sample response body

{
  "count": 1,
  "start_index": 0,
  "end_index": 0,
  "is_more": false,
  "data": [
    {
      "token": "my_child_user_01",
      "active": true,
      "password": "___________",
      "phone": "510-111-1111",
      "metadata": {
        "key1": "value1",
        "key2": "value2"
      },
      "gender": "F",
      "email": "my_child_user_01@gmail.com",
      "address1": "1234 Lake Street",
      "city": "Berkeley",
      "state": "CA",
      "postal_code": "94702",
      "country": "USA",
      "identifications": [
        {
          "type": "SSN",
          "value": "_________"
        }
      ],
      "first_name": "First",
      "last_name": "Last",
      "birth_date": "1990-01-01",
      "corporate_card_holder": false,
      "parent_token": "my_business_01",
      "uses_parent_account": true,
      "created_time": "2016-10-20T17:50:36Z",
      "last_modified_time": "2016-10-20T17:50:36Z",
      "business_token": "my_business_01"
      "status": "ACTIVE"
    },
  ]
}

Is this helpful?

Retrieve business identification number

Action: GET
Endpoint: /businesses/{token}/ssn

Get started now!

Sign up today and get access to Marqeta's API Explorer

To retrieve the government-issued identification number of a business’s proprietor, send a GET request to the /businesses/{token}/ssn endpoint. Include the token path parameter to specify the business whose identification number (SSN, TIN, NIN, SIN) you want to return. You can indicate whether to return the full number or the last four digits only.

URL path parameters

Fields Description

token

string, required

Identifies the business whose identification number you want to retrieve.

Allowable Values:

Existing business token.

Send a GET request to /businesses to retrieve business tokens.

Query parameters

Fields Description

full_ssn

boolean, required

To return the full identification number, set to true. To return only the last 4 digits, set to false.

If the proprietor_or_officer.identifications array contains only the last four digits of the identification number, the /businesses/{token}/ssn endpoint will return only the last four digits regardless of the full_ssn parameter.

Allowable Values:

true, false

Default value: false

Sample response body

{
  "ssn": "5555"
}

Is this helpful?

Create business transition

Action: POST
Endpoint: /businesstransition

Get started now!

Sign up today and get access to Marqeta's API Explorer

This endpoint enables you to change a business’s status, depending your role and the previous status change. By changing a business’s status, you can control the business’s capabilities and the setting of the business.active field. (You cannot control business.active directly.)

The business.status field Description The business.active field Business limitations Allowable transitions

Unverified

Initial status of a newly-created business belonging to an accountholdergroup where KYC is always required.

false

Can’t load funds.

ACTIVE, SUSPENDED, CLOSED

Limited

Initial status of a newly-created business belonging to an accountholdergroup where KYC is conditionally required.

true

Restricted by rules in accountholdergroups.pre_kyc_controls.

ACTIVE, SUSPENDED, CLOSED

Active

Status of a business that has passed KYC; initial status of a newly-created business belonging to an accountholdergroup where KYC is never required.

true

None.

SUSPENDED, CLOSED

Suspended

The business is temporarily inactive.

[NOTE,options="compact"] Transitioning a suspended business to the Active status is restricted based on your role and the details of the previous status change.

false

Can’t load funds or activate cards.

false

Can’t load funds.

ACTIVE, LIMITED, UNVERIFIED, CLOSED

Closed

The business is permanently inactive.

Note
In general, the Closed status should be terminal. For exceptional cases, you can transition a business to other statuses, depending on your role and the details of the previous status change. Contact your Marqeta representative for more information.

false

In general, the Closed status should be terminal. For exceptional cases, you can transition a business to other statuses, depending on your role and the details of the previous status change. Contact your Marqeta representative for more information.

Note
The Marqeta platform transitions a business’s status in response to certain events. For example, a business with an "Unverified" status transitions to "Active" when the business passes KYC.

Body field details

Fields Description

token

string, optional

The unique identifier of the business transition.

If you do not include a token, the system generates one automatically. This token is referenced in other API calls, so we recommend that you define a simple string that is easy to remember. This value cannot be updated.

Allowable Values: 36 char max

business_token

string, required

Identifies the business whose status is transitioned.

Allowable Values: Existing business token.

Send a GET request to the /businesses endpoint to retrieve business tokens.

status

string, required

Specifies the new status of the business.

Allowable Values: UNVERIFIED, LIMITED, ACTIVE, SUSPENDED, CLOSED

reason_code

string, required

Identifies the standardized reason for the transition.

Allowable Values: See The reason-code Field section.

reason

string, optional

Additional information about the status change.

Allowable Values: 255 char max

channel

string, required

The mechanism by which the transaction was initiated.

Allowable Values: API, IVR, FRAUD, ADMIN, SYSTEM

The reason_code field

Value Description

00

Object activated for the first time.

01

Requested by you.

02

Inactivity over time.

03

Provided address either does not accept mail or the addressee is not known at the address.

04

Negative account balance.

05

Account under review.

06

Suspicious activity was identified.

07

Activity outside the program parameters was identified.

08

Confirmed fraud was identified.

09

Matched with an Office of Foreign Assets Control list.

10

Card was reported lost or stolen.

11

Card information was cloned.

12

Account or card information was compromised.

13

Temporary status change while on hold/leave.

14

Initiated by Marqeta.

15

Initiated by issuer.

16

Card expired.

17

Failed KYC.

18

Changed to ACTIVE because information was properly validated and confirmed.

19

Changed to ACTIVE because account activity was properly validated and confirmed.

20

Change occurred prior to the normalization of reason codes.

21

Initiated by a third-party, often a digital wallet provider.

Sample request body

{
  "token": "activate_05",
  "business_token": "my_business_01",
  "status": "ACTIVE",
  "reason_code": "00",
  "reason": "Activating business",
  "channel": "API"
}

Is this helpful?

Sample response body

{
  "token": "activate_05",
  "business_token": "my_business_01",
  "status": "ACTIVE",
  "reason_code": "00",
  "reason": "Activating business",
  "channel": "API",
  "created_time": "2016-11-23T23:28:39Z"
}

Is this helpful?

Retrieve business transition

Action: GET
Endpoint: /businesstransitions/{token}

Get started now!

Sign up today and get access to Marqeta's API Explorer

Use this endpoint to retrieve a business transition.

URL path parameters

Fields Description

token

string, required

Identifies the business transition to retrieve.

Allowable Values: Existing business transition token.

Sample response body

{
  "token": "activate_05",
  "business_token": "my_business_01",
  "status": "ACTIVE",
  "reason_code": "00",
  "reason": "Activating business",
  "channel": "API",
  "created_time": "2016-11-23T23:28:39Z"
}

Is this helpful?

List transitions for business

Action: GET
Endpoint: /businesstransitions/business/{token}

Get started now!

Sign up today and get access to Marqeta's API Explorer

Use this endpoint to list all transitions for a given business.

URL path parameters

Fields Description

token

string, required

Identifies the business associated with the transitions to retrieve.

Allowable Values: Existing business token.

Send a GET request to the /businesses endpoint to retrieve business tokens.

Sample response body

{
  "count": 1,
  "start_index": 0,
  "end_index": 0,
  "is_more": false,
  "data": [
    {
      "token": "activate_05",
      "business_token": "my_business_01",
      "status": "ACTIVE",
      "reason_code": "00",
      "reason": "Activating business",
      "channel": "API",
      "created_time": "2016-11-23T23:28:39Z"
    }
  ]
}

Is this helpful?

Have any feedback on this page?

If you feel we can do anything better, please let our team know.

We strive for the best possible developer experience.