Add a representative
To use this endpoint from the browser, you’ll need to specify the
/accounts/{accountID}/representatives.write
scope when generating a token.
POST
/accounts/{accountID}/representatives
|
|
|
|
|
|
Representative created.
{
"address": {
"addressLine1": "12 Main Street",
"city": "Cabot Cove",
"country": "US",
"postalCode": "04103",
"stateOrProvince": "ME"
},
"birthDateProvided": true,
"createdOn": "2024-08-24T14:15:22Z",
"email": "amanda@classbooker.dev",
"governmentIDProvided": true,
"name": {
"firstName": "Amanda",
"lastName": "Yang"
},
"phone": {
"countryCode": "1",
"number": "8185551212"
},
"representativeID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43",
"responsibilities": {
"isController": false,
"isOwner": true,
"jobTitle": "CEO",
"ownershipPercentage": 38
},
"updatedOn": "2024-08-24T14:15:22Z"
}
The specified account or representative was not found.
The request body could not be processed.
Request was refused due to rate limiting.
Response headers
Retry-After
number
Path parameters
accountID
string
<uuid>
required
ID of the account.
Body
application/json
address
object
Residential address for an individual. Business addresses not accepted.
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.
Show child attributes
day
integer
required
month
integer
required
year
integer
required
string<email>
<=255 characters
Pattern
Email address.
governmentID
object
Show child attributes
itin
object
Show child attributes
full
string
<=64 characters
lastFour
string
<=4 characters
ssn
object
Show child attributes
full
string
<=64 characters
lastFour
string
<=4 characters
name
object
An individual’s name.
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
Show child attributes
countryCode
string
<=1 characters
number
string<phone>
<=10 characters
responsibilities
object
Describes the job responsibilities of an individual.
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
).
Response
application/json
address
object
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
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.
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
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.
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