Accounts
Accounts represent a legal entity (either a business or an individual) in Moov. You can create an account for yourself or set up accounts for others. You can retrieve an account to get details on the business or individual account holder, such as an email address or employer identification number (EIN). For more context, read our guides on Moov accounts.
Create
Create a new connected account.
|
|
Parameters
Name | Type | Description |
---|---|---|
account | AccountCreate | New account details |
Returns
Promise.<Account>
List
Retrieves details for the list of accounts.
|
|
Parameters
Name | Type | Description |
---|---|---|
accountID | string |
Account to query |
criteria | AccountListCriteria | Optional criteria to limit the list returned. |
Returns
Promise.<Array.<Account>>
Get
Retrieves details for the account with the specified ID.
|
|
Parameters
Name | Type | Description |
---|---|---|
connectedAccountID | string |
Account to query |
Returns
Promise.<Account>
Update
Updates an existing account. Requires a complete Account object.
|
|
Parameters
Name | Type | Description |
---|---|---|
account | Account | Account to update |
Returns
Promise.<Account>
Patch
Updates an existing account. Does not require a complete Account object,
but the accountID
property is required.
|
|
Parameters
Name | Type | Description |
---|---|---|
account | Account | Account to update |
Returns
Promise.<Account>
GetCountries
Retrieve the specified countries of operation for an account.
|
|
Parameters
Name | Type | Description |
---|---|---|
accountID | string |
Account to query |
Returns
Promise.<Countries>
AssignCountries
Assign the countries of operation for an account. This endpoint will always overwrite the previously assigned values.
|
|
Parameters
Name | Type | Description |
---|---|---|
accountID | string |
Account to query |
countries | Countries | Countries to add to the account. |
Returns
Promise.<Countries>
Types
Account
Describes a Moov account associated with an individual or a business.
Properties
Property | Type | Description |
---|---|---|
accountID | string |
Account identifier |
accountType | individual , business |
Type of entity represented by this account |
displayName | string |
Name of individual or business |
profile | Profile | Details for individual or business |
metadata | object |
Arbitrary key-value pairs |
foreignID | string |
Optional identification or alias |
verification | AccountVerification | Describes identity verification status and relevant identity verification documents |
customerSupport | CustomerSupport, null |
Displayed on credit card transactions (business only) |
settings | AccountSettings, null |
Account settings |
createdOn | string |
Date account was created |
updatedOn | string |
Date account was last updated |
|
|
AccountCreate
Properties
Property | Type | Description |
---|---|---|
accountType | individual , business |
Type of entity represented by this account |
profile | Profile | Details for individual or business |
metadata | object |
Arbitrary key-value pairs |
termsOfService | TermsOfServiceToken, null |
An encrypted value used to record acceptance of Moov’s Terms of Service |
foreignID | string |
Optional identification or alias |
customerSupport | CustomerSupport, null |
Displayed on credit card transactions (business only) |
settings | AccountSettings, null |
Account settings |
|
|
TermsOfServiceToken
A token that can then be used to accept Moov’s Terms of Service. Must be generated from a web browser. See https://docs.moov.io/moovjs/ for more details.
Properties
Property | Type | Description |
---|---|---|
token | string |
An encrypted value used to record acceptance of Moov’s Terms of Service |
Name
A person’s name.
Properties
Property | Type | Description |
---|---|---|
firstName | string |
|
middleName | string |
|
lastName | string |
|
suffix | string |
Profile
Profile for a Moov acocunt. May be business or individual.
Properties
Property | Type | Description |
---|---|---|
business | BusinessProfile | |
individual | IndividualProfile |
BusinessProfile
Describes a business account.
Properties
Property | Type | Description |
---|---|---|
legalBusinessName | string |
|
doingBusinessAs | string |
|
businessType | soleProprietorship , unincorporatedAssociation , trust , publicCorporation , privateCorporation , privateCorporation , llc , partnership , unincorporatedNonProfit , incorporatedNonProfit |
|
address | Address | |
phone | Phone | |
string |
||
website | string |
|
description | string |
|
taxIDProvided | boolean |
True if business’s tax ID has been provided |
representatives | Array.<Representative> | |
ownersProvided | boolean |
True if business owner(s) have been provided |
industryCodes | IndustryCodes |
IndividualProfile
Describes the individual associated with a non-business account.
Properties
Property | Type | Description |
---|---|---|
name | Name | |
phone | Phone | |
string |
||
address | Address | |
birthDateProvided | boolean |
True if individual’s birthdate has been provided |
governmentIDProvided | boolean |
True if individual’s government-issued ID has been provided |
Phone
Properties
Property | Type | Description |
---|---|---|
number | string |
Phone number |
countryCode | string |
1 digit country code |
IndustryCodes
Standard industry codes for businesses.
Properties
Property | Type | Description |
---|---|---|
naics | string |
|
sic | string |
|
mcc | string |
Representative
Describes an individual who represents a business account.
Properties
Property | Type | Description |
---|---|---|
name | Name | |
phone | Phone | |
string |
||
address | Address | |
birthDateProvided | boolean |
True if individual’s birthdate has been provided |
governmentIDProvided | boolean |
True if individual’s government-issued ID has been provided |
responsibilities | Array.<Responsibility> | |
createdOn | string |
Date representative was recorded |
updatedOn | string |
Date representative was last updated |
disabledOn | string |
Date representative was removed from business |
Responsibility
Describes the responsibilities associated with a business representative.
Properties
Property | Type | Description |
---|---|---|
isController | boolean |
|
isOwner | boolean |
|
ownershipPercentage | number |
Required if isOwner is true |
jobTitle | string |
AccountVerification
Describes the verification state of an account
Properties
Property | Type | Description |
---|---|---|
verificationStatus | unverified , pending , resubmit , review , verified , failed |
The status of an identity verification for a profile |
CustomerSupport
Describes customer support contact information for a business account.
Properties
Property | Type | Description |
---|---|---|
phone | Phone | |
string |
||
address | Address | |
website | string |
AccountSettings
Properties
Property | Type | Description |
---|---|---|
cardPayment | CardPaymentSettings | Card payment settings (business only) |
CardPaymentSettings
Properties
Property | Type | Description |
---|---|---|
statementDescriptor | string |
Description to display on credit card transactions |
Countries
Properties
Property | Type | Description |
---|---|---|
countries | Array.<string> |
AccountListCriteria
Properties
Property | Type | Description |
---|---|---|
name | Name | If provided, this query will attempt to find matches (including partial) against the following Account and Profile fields: Account displayName , Individual Profile firstName , middleName , lastName , and suffix , and Business Profile legalBusinessName , and doingBusinessAs |
string |
Filter connected accounts by email address. It is not necessary to provided the full email address as partial matches will also be returned. | |
type | individual , business |
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 ). |
foreignID | string |
Serves as an optional alias from a foreign/external system which can be used to reference this resource |
count | number |
Optional parameter to limit the number of results in the query |
skip | number |
The number of items to offset before starting to collect the result set |
Address
Properties
Property | Type | Description |
---|---|---|
addressLine1 | string |
|
addressLine2 | string |
|
city | string |
|
stateOrProvince | string |
2 characters |
postalCode | string |
5 characters |
country | string |
2 characters |