List accounts

List or search accounts to which the caller is connected.

All supported query parameters are optional. If none are provided the response will include all connected accounts. Pagination is supported via the skip and count query parameters.

Searching by name and email will overlap and return results based on relevance.

To use this endpoint from the browser, you’ll need to specify the /accounts.read scope when generating a token.
GET
/accounts
cURL Go JavaScript
1
2
curl -X GET "https://api.moov.io/accounts" \
  -H "Authorization: Bearer {token}"
1
2
3
mc, _ := moov.NewClient()

mc.ListAccounts(ctx)
1
2
3
const moov = new Moov(credentialsObject);

moov.accounts.list();
200 400 429
All connected accounts matching the filter parameters.
[
  {
    "accountID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43",
    "accountType": "business",
    "capabilities": [
      {
        "capability": "transfers",
        "status": "enabled"
      }
    ],
    "createdOn": "2019-08-24T14:15:22Z",
    "customerSupport": {
      "address": {
        "addressLine1": "123 Main Street",
        "addressLine2": "Apt 302",
        "city": "Boulder",
        "country": "US",
        "postalCode": "80301",
        "stateOrProvince": "CO"
      },
      "email": "amanda@classbooker.dev",
      "phone": {
        "countryCode": "1",
        "number": "8185551212"
      },
      "website": "www.wholebodyfitnessgym.com"
    },
    "disconnectedOn": "2019-08-24T14:15:22Z",
    "displayName": "Whole Body Fitness",
    "foreignID": "4528aba-b9a1-11eb-8529-0242ac13003",
    "metadata": {
      "property1": "string",
      "property2": "string"
    },
    "mode": "production",
    "profile": {
      "business": {
        "address": {
          "addressLine1": "123 Main Street",
          "addressLine2": "Apt 302",
          "city": "Boulder",
          "country": "US",
          "postalCode": "80301",
          "stateOrProvince": "CO"
        },
        "businessType": "llc",
        "description": "Local fitness gym paying out instructors",
        "doingBusinessAs": "string",
        "email": "amanda@classbooker.dev",
        "industryCodes": {
          "mcc": "7997",
          "naics": "713940",
          "sic": "7991"
        },
        "legalBusinessName": "string",
        "ownersProvided": true,
        "phone": {
          "countryCode": "1",
          "number": "8185551212"
        },
        "primaryRegulator": "FDIC",
        "representatives": [],
        "taxIDProvided": false,
        "website": "www.wholebodyfitnessgym.com"
      },
      "individual": {
        "address": {
          "addressLine1": "123 Main Street",
          "addressLine2": "Apt 302",
          "city": "Boulder",
          "country": "US",
          "postalCode": "80301",
          "stateOrProvince": "CO"
        },
        "birthDateProvided": false,
        "email": "amanda@classbooker.dev",
        "governmentIDProvided": false,
        "name": {
          "firstName": "Amanda",
          "lastName": "Yang",
          "middleName": "Amanda",
          "suffix": "Jr"
        },
        "phone": {
          "countryCode": "1",
          "number": "8185551212"
        }
      }
    },
    "settings": {
      "achPayment": {
        "companyName": "WholeBodyFitness"
      },
      "cardPayment": {
        "statementDescriptor": "Whole Body Fitness"
      }
    },
    "termsOfService": {
      "acceptedDate": "2019-08-24T14:15:22Z",
      "acceptedIP": "127.0.0.1"
    },
    "updatedOn": "2019-08-24T14:15:22Z",
    "verification": {
      "details": "failedAutoVerify",
      "documents": [
        {
          "contentType": "application/pdf",
          "documentID": "e210a9d6",
          "parseErrors": [
            "string"
          ],
          "type": "DriversLicense",
          "uploadedAt": "2019-08-24T14:15:22Z"
        }
      ],
      "status": "unverified",
      "verificationStatus": "unverified"
    }
  }
]
Unsupported or invalid query parameters.
Request was refused due to rate limiting.

Retry-After

number

Query parameters

name

string

Filter connected accounts by name.

If provided, this query will attempt to find matches against the following Account and Profile fields:

  • Account `displayName`
  • Individual Profile `firstName`, `middleName`, and `lastName`
  • Business Profile `legalBusinessName`

email

string
Filter connected accounts by email address.

Provide the full email address to filter by email.

type

string
Filter connected accounts by AccountType.

If the type parameter is used in combination with name, only the corresponding type’s name fields will be searched. For example, if type=business and name=moov, the search will attempt to find matches against the display name and Business Profile name fields (legalBusinessName, and doingBusinessAs).
Possible values: individual, business

foreignID

string
Serves as an optional alias from a foreign/external system which can be used to reference this resource.

includeDisconnected

boolean
Filter disconnected accounts.

If true, the response will include disconnected accounts.

count

integer
Optional parameter to limit the number of results in the query.
Default: 20

skip

integer
The number of items to offset before starting to collect the result set.

capability

string
Filter connected accounts by the capability.
Possible values: transfers, send-funds, collect-funds, wallet, card-issuing

capabilityStatus

string
Filter connected accounts by the capability status.
Possible values: enabled, disabled, pending, in-review

Response

application/json

accountID

string<uuid> <=36 characters
UUID

accountType

string<enum>
The type of entity represented by this account.
Possible values: individual, business

capabilities

array
right_key Show child attributes

capability

string<enum>
Identifier for the capability.
Possible values: transfers, send-funds, collect-funds, wallet, card-issuing

status

string<enum>
The status of the capability requested for an account.
Possible values: enabled, disabled, pending, in-review

createdOn

string<date-time> <=24 characters

customerSupport

object
User-provided information that can be displayed on credit card transactions for customers to use when contacting a customer support team. This data is only allowed on a business account.
right_key Show child attributes

address

object
right_key Show child attributes

addressLine1

string <=60 characters required

addressLine2

string <=32 characters

city

string <=24 characters required

country

string <=2 characters required

postalCode

string <=5 characters required

stateOrProvince

string <=2 characters required

email

string<email> <=255 characters Pattern
Email address.

phone

object
right_key Show child attributes

countryCode

string <=1 characters

number

string<phone> <=10 characters

website

string <=100 characters

disconnectedOn

string

displayName

string <=64 characters

foreignID

string <=64 characters
Optional alias from a foreign/external system which can be used to reference this resource.

metadata

object
Free-form key-value pair list. Useful for storing information that is not captured elsewhere.

mode

string<enum>
The mode this account is allowed to be used within.
Possible values: sandbox, production

profile

object
Describes a Moov account profile.
right_key Show child attributes

business

object
Describes a business.
right_key Show child attributes

address

object
right_key Show child attributes

addressLine1

string <=60 characters required

addressLine2

string <=32 characters

city

string <=24 characters required

country

string <=2 characters required

postalCode

string <=5 characters required

stateOrProvince

string <=2 characters required

businessType

string
The type of entity represented by this business.
Possible values: soleProprietorship, unincorporatedAssociation, trust, publicCorporation, privateCorporation, llc, partnership, unincorporatedNonProfit, incorporatedNonProfit, governmentEntity

description

string [10 to 100] characters

doingBusinessAs

string <=64 characters

email

string<email> <=255 characters Pattern
Email address.

industryCodes

object
Describes industry specific identifiers.
right_key Show child attributes

mcc

string 4 characters

naics

string [2 to 6] characters

sic

string 4 characters

legalBusinessName

string <=64 characters

ownersProvided

boolean required

phone

object
right_key Show child attributes

countryCode

string <=1 characters

number

string<phone> <=10 characters

primaryRegulator

string
If the business is a financial institution, this field describes its primary regulator.
Possible values: OCC, FDIC, NCUA, FRB

representatives

array
right_key Show child attributes

address

object
right_key Show child attributes

addressLine1

string <=60 characters required

addressLine2

string <=32 characters

city

string <=24 characters required

country

string <=2 characters required

postalCode

string <=5 characters required

stateOrProvince

string <=2 characters required

birthDateProvided

boolean
Indicates whether this representative’s birth date has been provided.

createdOn

string<date-time> <=24 characters

disabledOn

string

email

string<email> <=255 characters Pattern
Email address.

governmentIDProvided

boolean
Indicates whether a government ID (SSN, ITIN, etc.) has been provided for this representative.

name

object
An individual’s name.
right_key Show child attributes

firstName

string <=64 characters required Pattern
Name this person was given. This is usually the same as first name.

lastName

string <=64 characters required Pattern
Family name of this person. This is usually the same as last name.

middleName

string <=64 characters Pattern
Name this person was given. This is usually the same as first name.

suffix

string <=20 characters Pattern
Suffix of a given name.

phone

object
right_key Show child attributes

countryCode

string <=1 characters

number

string<phone> <=10 characters

representativeID

string<uuid> <=36 characters
UUID

responsibilities

object
Describes the job responsibilities of an individual.
right_key Show child attributes

isController

boolean required
Indicates whether this individual has significant management responsibilities within the business.

isOwner

boolean required
If true, this field indicates that the individual has a business ownership stake of at least 25% in the business. If the representative does not own at least 25% of the business, this field should be false.

jobTitle

string <=64 characters required

ownershipPercentage

integer required
The percentage of ownership this individual has in the business (required if isOwner is true).

updatedOn

string<date-time> <=24 characters

taxIDProvided

boolean
Indicates whether a tax ID has been provided for this business.

website

string <=100 characters

individual

object
Describes an individual.
right_key Show child attributes

address

object
right_key Show child attributes

addressLine1

string <=60 characters required

addressLine2

string <=32 characters

city

string <=24 characters required

country

string <=2 characters required

postalCode

string <=5 characters required

stateOrProvince

string <=2 characters required

birthDateProvided

boolean
Indicates whether this individual’s birth date has been provided.

email

string<email> <=255 characters Pattern
Email address.

governmentIDProvided

boolean
Indicates whether a government ID (SSN, ITIN, etc.) has been provided for this individual.

name

object
An individual’s name.
right_key Show child attributes

firstName

string <=64 characters required Pattern
Name this person was given. This is usually the same as first name.

lastName

string <=64 characters required Pattern
Family name of this person. This is usually the same as last name.

middleName

string <=64 characters Pattern
Name this person was given. This is usually the same as first name.

suffix

string <=20 characters Pattern
Suffix of a given name.

phone

object
right_key Show child attributes

countryCode

string <=1 characters

number

string<phone> <=10 characters

settings

object
User provided settings to manage an account.
right_key Show child attributes

achPayment

object
User provided settings to manage ACH payments.
right_key Show child attributes

companyName

string [1 to 16] characters Pattern
The description that shows up on ACH transactions. This will default to the account’s display name on account creation.

cardPayment

object
User provided settings to manage card payments. This data is only allowed on a business account.
right_key Show child attributes

statementDescriptor

string [4 to 22] characters Pattern
The description that shows up on credit card transactions. This will default to the accounts display name on account creation.

termsOfService

object
Describes the acceptance of the Terms of Service.
right_key Show child attributes

acceptedDate

string<date-time> <=24 characters required

acceptedIP

string<ipv4> <=15 characters required

updatedOn

string<date-time> <=24 characters

verification

object
Describes identity verification status and relevant identity verification documents.
right_key Show child attributes

status

string<enum> required deprecated
This field is deprecated and will be removed in a future release.
Possible values: unverified, pending, verified, errored

details

string<enum> deprecated
This field is deprecated and will be removed in a future release.
Possible values: failedAutoVerify, docDobMismatch, docNameMismatch, docAddressMismatch, docNumberMismatch, docIncomplete, docFailedRisk, potentialAccountSanctionsMatch, potentialRepresentativeSanctionsMatch, failedOther

documents

array
right_key Show child attributes

contentType

string

documentID

string
A unique identifier for this document.

parseErrors

array
Optional array of errors encountered dring automated parsing.

type

string<enum>
Possible values: DriversLicense, Passport, UtilityBill, BankStatement

uploadedAt

string<date-time> <=24 characters

verificationStatus

string<enum> deprecated
This field is deprecated and will be removed in a future release.
Possible values: unverified, pending, resubmit, review, verified, failed