Create an insured
API Refs
- Production: Create insured
- Staging: Create insured
Request body
Name | Type | Description | Required |
---|---|---|---|
address | object (Address table) | The insuredās physical mailing address. Providing a value here is only necessary if you want the user to be able to receive paper checks in the mail. | no |
bankInfo | object (BankInfo table) | The insured's banking information that will be used for ACH transfers. | no |
string | The user's email address. This value will be used for all future notifications and web-app logins for this user, so choose carefully. | yes | |
firstName | string | The user's legal first name. | yes |
lastName | string | The user's legal last name. | yes |
businessName | string | The user's business name, if applicable. Providing a value here will cause this user to be created as an Unverified Business type, otherwise they will be an Unverified Personal type. | no |
Address
Name | Type | Description | Required |
---|---|---|---|
alias | string | The name of the address information. Will be used to deliver checks. | yes |
address1 | string | Legal address info | yes |
address2 | string | Additional optional legal address info | no |
city | string | Legal city name | yes |
postalCode | number string | Number string with 5 digits length | yes |
state | string | State from values. See first * | yes |
phone | string | Legal insuredās phone number | yes |
states: AL, AK, AS, AZ, AR, CA, CO, CT, DC, DE, FL, GA, GU, HI, ID, IL, IN, IA, KS, KY, LA, ME, MD, MA, MI, MN, MP, MS, MO, MT, NE, NV, NH, NJ, NM, NY, NC, ND, OH, OK, OR, PA, PR, RI, SC, SD, TN, TX, UM, UT, VT, VI, VA, WA, WV, WI, WY
BankInfo
Name | Type | Description | Required |
---|---|---|---|
routingNumber | number string | A numeric string for the bank routing number corresponding to a US bank or credit union. The first two digits must be in a range from "01" through "12", or "21" through "32", and the string value must consist of nine digits. | yes |
accountNumber | number string | A numeric string of 4-17 digits. | yes |
accountType | string | The type of bank account this is must be one of these values: checking or savings. | yes |
Response body
Name | Type | Description | Required |
---|---|---|---|
id | number | Created insured id | yes |
If it was not possible to add a bank when creating an insured
Name | Type | Description | Required |
---|---|---|---|
message | string | Message about problem | yes |
data | number | Created insured id | yes |
Example
- Create insured Request
{ "id": 1, "email": "[email protected]", "firstName": "John", "lastName": "Smith", "address": [ { "address1": "11 Birch Hill Street", "address2": "Apt. 123", "city": "Bronx", "postalCode": "10023", "state": "NY", "phone": "123-456-7890", "alias": "Home" } ], "preferences": { "paymentEmailsAllowed": false, "marketingEmailsAllowed": false, "paymentSMSAllowed": false } }
- Create insured Response headers:
{ "id": 1 }
Description
This process is the first and mandatory for any flow that involves ACH and Paper Check transfers.
Type of insured canāt be changed in the future.
Note that in the API, you can only work with insureds you create through this endpoint.
Mandatory information
- Email (unique);
- First name;
- Last name.
Additional information
- Business name - for receive-only, it does not affect the logic of request execution in any way;
- Insuredās address - required information for sending Paper Checks transfers;
- Insured's bank - required information to send ACH transfers.
Updated 11 months ago