Accounts
Create an account
POST
Authorizations
Body
application/json
The id of the user
Example:
"95a0e70b-fe02-4f47-aef9-2efff279df71"
The payroll provider to use
Example:
"quickbooks"
The login of the user
Example:
"john.smith@company.com"
The password of the user
Example:
"very-secret-password"
Response
201
application/json
Created
The id of the account
Example:
"95a0e70b-fe02-4f47-aef9-2efff279df71"
The payroll provider to use
Example:
"quickbooks"
The login of the user
Example:
"john.smith@company.com"
Example:
"2019-05-17T00:00:00.000Z"
Status of account
Example:
"PENDING"
Is mfa enabled for this account
The latest pay date of the payroll under this account
Example:
"2019-05-17T00:00:00.000Z"
Authrorization url for provider using OAUTH2
Example:
"https://provider/authenticate?redirect_url=https://api.teal.com/auth&state=state&scope=read"