Create onboarding invite

Create an invitation containing a unique link that allows the recipient to onboard their organization with Moov.
POST
/onboarding-invites
cURL
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
curl --X POST "https://api.moov.io/onboarding-invites" \
  -H "Authorization: Bearer {token}" \
  --data-raw '{
    "returnURL": "https://mycompany.com/account",
    "termsOfServiceURL": "https://mycompany.com/terms-of-service",
    "scopes": [
     "accounts.read"
    ],
    "capabilities": [
      "transfers"
    ],
    "feePlanCodes": [
      "merchant-direct"
    ],
    "prefill": {
      "mode": "production",
      "accountType": "business",
      "profile": {
        "business": {
          "legalBusinessName": "Whole Body Fitness LLC",
          "doingBusinessAs": "Whole Body Fitness",
          "businessType": "llc",
          "address": {
            "addressLine1": "123 Main Street",
            "addressLine2": "Apt 302",
            "city": "Boulder",
            "stateOrProvince": "CO",
            "postalCode": "80301",
            "country": "US"
          },
          "phone": {
            "number": "8185551212",
            "countryCode": "1"
          },
          "email": "amanda@classbooker.dev",
          "website": "www.wholebodyfitnessgym.com",
          "description": "Local fitness center paying out instructors",
          "taxID": {
            "ein": {
              "number": "123-45-6789"
            }
          },
          "industryCodes": {
            "naics": "713940",
            "sic": "7991",
            "mcc": "7997"
          },
          "primaryRegulator": "FDIC"
        }
      },
      "metadata": {
        "property1": "string",
        "property2": "string"
      },
      "termsOfService": {
        "token": "kgT1uxoMAk7QKuyJcmQE8nqW_HjpyuXBabiXPi6T83fUKRJkA3dsFID6fzitMpm2qrOh4"
      },
      "foreignID": "4528aba-b9a1-11eb-8529-0242ac13003",
      "customerSupport": {
        "phone": {
          "number": "8185551212",
          "countryCode": "1"
        },
        "email": "amanda@classbooker.dev",
        "address": {
          "addressLine1": "123 Main Street",
          "addressLine2": "Apt 302",
          "city": "Boulder",
          "stateOrProvince": "CO",
          "postalCode": "80301",
          "country": "US"
        },
        "website": "www.wholebodyfitnessgym.com"
      },
      "settings": {
        "cardPayment": {
          "statementDescriptor": "Whole Body Fitness"
        },
        "achPayment": {
          "companyName": "Whole Body Fitness"
        }
      },
      "capabilities": [
        "transfers"
      ]
    }
  }'\
200 400 422 429
Successfully created onboarding invite.
Invitation to onboard an organization with Moov.
{
  "capabilities": [
    "transfers"
  ],
  "code": "KXc1omVfbQ",
  "createdOn": "2019-08-24T14:15:22Z",
  "feePlanCodes": [
    "merchant-direct"
  ],
  "link": "https://dashboard.moov.io/o/KXc1omVfbQ",
  "partner": {
    "accountID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "accountMode": "production",
    "displayName": "Bob's Widgets"
  },
  "prefill": {
    "accountType": "business",
    "profile": {
      "business": {
        "legalBusinessName": "Bob's Widgets LLC"
      }
    }
  },
  "redeemedAccountID": "2019-08-24T14:15:22Z",
  "redeemedOn": "2019-08-24T14:15:22Z",
  "returnURL": "https://mycompany.com/account",
  "revokedOn": "2019-08-24T14:15:22Z",
  "scopes": [
    "accounts.read"
  ],
  "termsOfServiceURL": "https://mycompany.com/terms-of-service"
}
Invalid request, an error message will be available in the response body.
Response for http requests that failed
{
  "error": "example error message"
}
Errors were found in one or more fields of the request body.
{
  "property1": null,
  "property2": null
}
Request was refused due to rate limiting.

Retry-After

number

Body

application/json
Request to create an onboarding invite.

capabilities

array required
List of capabilities you intend to request for this account. These values are used to determine what information to collect from the user during onboarding.
Possible values: transfers, send-funds, collect-funds, wallet, card-issuing

feePlanCodes

array required
List of fee plan codes to assign the account created by the invitee.

prefill

object
Optionally provide information already known about the recipient to save them time during onboarding.
Describes the fields available when creating a Moov account.
right_key Show child attributes

accountType

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

capabilities

array
The list of capabilities to request when the account is created.
Possible values: transfers, send-funds, collect-funds, wallet, card-issuing

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

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 required
Describes the fields available when creating a profile. If accountType is set to individual, the individual object should be completed. All others should populate business.
right_key Show child attributes

business

object
Describes the fields available when creating 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 Pattern

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 required Pattern

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

taxID

object
An EIN (employer identification number) for the business. For sole proprietors, an SSN can be used as the EIN.
right_key Show child attributes

ein

object
right_key Show child attributes

number

string <=64 characters

website

string <=100 characters

individual

object
Describes the fields available when creating 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

birthDate

object
An individual’s birthdate.
right_key Show child attributes

day

integer required

month

integer required

year

integer required

email

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

governmentID

object
right_key Show child attributes

itin

object
right_key Show child attributes

full

string <=64 characters

lastFour

string <=4 characters

ssn

object
right_key Show child attributes

full

string <=64 characters

lastFour

string <=4 characters

name

object required
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
Token Manual entry
An encrypted value used to record acceptance of Moov’s Terms of Service.

token

string
Describes the acceptance of the Terms of Service. All data is required, and must be from the user.

acceptedDate

string<date-time> <=24 characters

acceptedDomain

string<url> <=255 characters

acceptedIP

string<ipv4> <=15 characters

acceptedUserAgent

string <=255 characters
The user-agent of the user making the request.

returnURL

string<uri>
Optional URL to redirect the user to after they complete the onboarding process.

scopes

array
List of scopes you request to use on this account. These values are used to determine what can be done with the account onboarded.
Possible values: accounts.read, accounts.write, analytics.read, apple-pay-merchant.read, apple-pay-merchant.write, apple-pay.read, apple-pay.write, bank-accounts.read, bank-accounts.write, capabilities.read, capabilities.write, cards.read, cards.write, documents.read, documents.write, fed.read, files.read, files.write, issued-cards.read, issued-cards.write, issued-cards.read-secure, payment-methods.read, ping.read, profile-enrichment.read, profile.read, profile.write, profile.disconnect, representatives.read, representatives.write, transfers.read, transfers.write, wallets.read

termsOfServiceURL

string<uri>
Optional URL to your organization’s terms of service.

Response

application/json
Invitation to onboard an organization with Moov.

capabilities

array required
List of capabilities you intend to request for this account. These values are used to determine what information to collect from the user during onboarding.
Possible values: transfers, send-funds, collect-funds, wallet, card-issuing

code

string required
Code that uniquely identifies this invitation. This code is used to redeem the invitation.

createdOn

string<date-time> <=24 characters required

feePlanCodes

array required
List of fee plan codes to assign the account created by the invitee.

link

string<uri> required
A unique URL, including the invite code, that the recipient can follow to redeem the invitation.

scopes

array required
List of scopes you request to use on this account. These values are used to determine what can be done with the account onboarded.
Possible values: accounts.read, accounts.write, analytics.read, apple-pay-merchant.read, apple-pay-merchant.write, apple-pay.read, apple-pay.write, bank-accounts.read, bank-accounts.write, capabilities.read, capabilities.write, cards.read, cards.write, documents.read, documents.write, fed.read, files.read, files.write, issued-cards.read, issued-cards.write, issued-cards.read-secure, payment-methods.read, ping.read, profile-enrichment.read, profile.read, profile.write, profile.disconnect, representatives.read, representatives.write, transfers.read, transfers.write, wallets.read

partner

object
The account that created the onboarding invite.
right_key Show child attributes

accountID

string<uuid>
The unique identifier for the account that created the onboarding invite.

accountMode

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

displayName

string
The name of the Moov account used to create the onboarding invite.

prefill

object
Optionally provide information already known about the recipient to save them time during onboarding.
Describes the fields available when creating a Moov account.
right_key Show child attributes

accountType

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

capabilities

array
The list of capabilities to request when the account is created.
Possible values: transfers, send-funds, collect-funds, wallet, card-issuing

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

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 required
Describes the fields available when creating a profile. If accountType is set to individual, the individual object should be completed. All others should populate business.
right_key Show child attributes

business

object
Describes the fields available when creating 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 Pattern

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 required Pattern

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

taxID

object
An EIN (employer identification number) for the business. For sole proprietors, an SSN can be used as the EIN.
right_key Show child attributes

ein

object
right_key Show child attributes

number

string <=64 characters

website

string <=100 characters

individual

object
Describes the fields available when creating 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

birthDate

object
An individual’s birthdate.
right_key Show child attributes

day

integer required

month

integer required

year

integer required

email

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

governmentID

object
right_key Show child attributes

itin

object
right_key Show child attributes

full

string <=64 characters

lastFour

string <=4 characters

ssn

object
right_key Show child attributes

full

string <=64 characters

lastFour

string <=4 characters

name

object required
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
Token Manual entry
An encrypted value used to record acceptance of Moov’s Terms of Service.

token

string
Describes the acceptance of the Terms of Service. All data is required, and must be from the user.

acceptedDate

string<date-time> <=24 characters

acceptedDomain

string<url> <=255 characters

acceptedIP

string<ipv4> <=15 characters

acceptedUserAgent

string <=255 characters
The user-agent of the user making the request.

redeemedAccountID

string
If redeemed, this is set to the accountID that redeemed it

redeemedOn

string
If redeemed, the date and time the invitation was redeemed.

returnURL

string<uri>
Optional URL to redirect the user to after they complete the onboarding process.

revokedOn

string
If revoked, the date and time the revocation was requested.

termsOfServiceURL

string<uri>
Optional URL to your organization’s terms of service.