Skip to main content

Create Customer


Overview

You can create customers with basic details such as name, contact details, et al., using the POST method and use them for various Passport solution offerings. A customer can be either a business, an individual, or a joint tenancy and is created in ACTIVE status by default.


Resource Access

Production (api.ahrvo.network)

POST https://api.ahrvo.network/banking/us2/v1/customer

Staging (gateway.ahrvo.network)

POST https://gateway.ahrvo.network/banking/us2/v1/customer

Authentication

HeaderDescription
AuthorizationBearer {JWT token}
x-api-keyYour API key
Content-Typeapplication/json

Arguments

Top-Level Fields

AttributeM / ONotes
externalIdOClient-defined external reference
typeOINDIVIDUAL, BUSINESS, or JOINT_TENANCY
individualCRequired if type is INDIVIDUAL
businessCRequired if type is BUSINESS
ownersCRequired if type is JOINT_TENANCY
isPaperlessODefault: true. If true, email becomes mandatory
preferredCommunicationOPreferred communication method
programAffiliate.idOProgram affiliate identifier
metaDataOUp to 20 custom key–value pairs
tagsOArray of labels
linkedDocumentODocuments to link to the customer

Individual Object

AttributeM / ONotes
firstNameMFirst name
lastNameMLast name
middleNameOMiddle name
maidenNameOMaiden name
ssnOSocial Security Number
dobODate of birth (MM/DD/YYYY)
mailingAddressOArray of address objects
homePhoneOHome phone number
mobilePhoneOMobile phone number
workPhoneOWork phone number
emailCMandatory if isPaperless is true
secondaryIdentification.typeODRIVER_LICENSE, PASSPORT, STATE_ID, MILITARY_ID
secondaryIdentification.idOIdentification number
secondaryIdentification.countryOfIssuanceOIssuing country
secondaryIdentification.stateOfIssuanceOIssuing state
taxIdentification.typeOITIN or EIN — only for customers without SSN
taxIdentification.idOTax identification number

Business Object

AttributeM / ONotes
legalNameMLegal name of the business
einOEmployer Identification Number
doingBusinessAsODBA / trade name
dateOfIncorporationODate of incorporation (MM/DD/YYYY)
stateOfIncorporationOTwo-letter state code
businessCategoryOe.g., LLC, CORPORATION
phoneOBusiness phone number
mailingAddressOArray of address objects
emailOBusiness email address
websiteOBusiness website URL
beneficialOwnerOArray of beneficial owner objects

Beneficial Owner Object (within Business)

AttributeM / ONotes
externalIdOExternal identifier
firstNameMFirst name
lastNameMLast name
middleNameOMiddle name
ssnMSocial Security Number
taxIdentification.typeCOnly for owners without SSN
taxIdentification.idCTax ID number
secondaryIdentification.typeMDRIVER_LICENSE, PASSPORT, STATE_ID, MILITARY_ID
secondaryIdentification.idMIdentification number
secondaryIdentification.countryOfIssuanceOIssuing country
secondaryIdentification.stateOfIssuanceOIssuing state
dobMDate of birth (MM/DD/YYYY)
mailingAddressMArray of address objects
homePhoneOAt least one phone number is mandatory
mobilePhoneOAt least one phone number is mandatory
workPhoneOAt least one phone number is mandatory
emailCMandatory if isPaperless is true
isUSCitizenOWhether the owner is a US citizen
pullCreditReportOWhether to pull a credit report
actAsAuthorizedSignatoryCWhether the owner acts as an authorized signatory
businessDetails.ownershipPercentageOPercentage of ownership
businessDetails.titleOTitle or role in the business

Owners Array (Joint Tenancy)

AttributeM / ONotes
externalIdOExternal identifier
firstNameMFirst name
lastNameMLast name
middleNameOMiddle name
isPrimaryOwnerMWhether this is the primary owner
ssnOSocial Security Number
dobODate of birth (MM/DD/YYYY)
mailingAddressOArray of address objects
homePhoneOHome phone number
mobilePhoneOMobile phone number
workPhoneOWork phone number
emailCMandatory if isPaperless is true
secondaryIdentification.typeODRIVER_LICENSE, PASSPORT, STATE_ID, MILITARY_ID
secondaryIdentification.idOIdentification number
secondaryIdentification.countryOfIssuanceOIssuing country
secondaryIdentification.stateOfIssuanceOIssuing state
taxIdentification.typeOOnly for owners without SSN
taxIdentification.idOTax ID number

Linked Document Object

AttributeM / ONotes
purposeMPurpose of the linked document
document.documentTypeMMIME or enum document type
document.nameMDocument file name
document.base64EncodedContentOBase64-encoded document content
document.externalIdOExternal document reference
document.idOInternal document ID

Example Requests

1. Create Individual Customer

Minimal Request
POST /banking/us2/v1/customer HTTP/1.1
Host: api.ahrvo.network
Authorization: Bearer {placeholder("JWT token")}
x-api-key: {placeholder("your-api-key")}
Content-Type: application/json
{
"type": "INDIVIDUAL",
"individual": {
"firstName": "John",
"lastName": "Smith"
}
}
Full Request
POST /banking/us2/v1/customer HTTP/1.1
Host: api.ahrvo.network
Authorization: Bearer {placeholder("JWT token")}
x-api-key: {placeholder("your-api-key")}
Content-Type: application/json
{
"externalId": "TS10567286898",
"type": "INDIVIDUAL",
"individual": {
"firstName": "Mike",
"lastName": "Simons",
"middleName": "J",
"email": "navneet.kaur+128@ahrvo.com",
"dob": "06/25/1995",
"homePhone": "573-986-5677",
"workPhone": "838-786-9290",
"mobilePhone": "235-333-4107",
"taxIdentification": {
"type": "ITIN",
"id": "999-88-9992"
},
"mailingAddress": [
{
"addressLine1": "9299",
"addressLine2": "GT1 KMB",
"city": "Sa Jose",
"state": "CA",
"zip": "95311",
"externalId": "P945619878",
"isPrimary": true
}
]
},
"isPaperless": false,
"metaData": {
"acceptedDraftAmount": "$333.50"
},
"tags": [
"grade A"
],
"linkedDocument": [
{
"purpose": "Authorization",
"document": {
"base64encodedContent": "Q3Jvc3Nyb2FkcyBGaW5wgVG==",
"name": "abc.pdf",
"type": "SPAA"
}
}
]
}

Example Response

HTTP Status: 201 Created
Content-Type: application/json
Url: v1/customer/id/4015209

2. Create Business Customer

Minimal Request
POST /banking/us2/v1/customer HTTP/1.1
Host: api.ahrvo.network
Authorization: Bearer {placeholder("JWT token")}
x-api-key: {placeholder("your-api-key")}
Content-Type: application/json
{
"type": "BUSINESS",
"business": {
"legalName": "AMEX"
}
}
Full Request
POST /banking/us2/v1/customer HTTP/1.1
Host: api.ahrvo.network
Authorization: Bearer {placeholder("JWT token")}
x-api-key: {placeholder("your-api-key")}
Content-Type: application/json
{
"externalId": "TSC078783488901",
"type": "BUSINESS",
"business": {
"legalName": "AMEX",
"email": "businesstest567@gmail.com",
"businessCategory": "LLC",
"ein": "22-2015691",
"doingBusinessAs": "American Express",
"phone": "213-233-1731",
"mailingAddress": [
{
"addressLine1": "Ap 4891",
"addressLine2": "Conference Centre Ste 1020",
"city": "Sugar Notch",
"state": "PA",
"zip": "18706",
"externalId": "PA2309090991",
"isPrimary": true,
"usage": {
"isPayorAddress": false
}
}
],
"website": "www.amex.com",
"dateOfIncorporation": "12/20/2000",
"stateOfIncorporation": "CA",
"beneficialOwner": [
{
"firstName": "Amelia",
"lastName": "Connor",
"dob": "10/01/2000",
"homePhone": "530-986-1172",
"workPhone": "838-900-9090",
"mobilePhone": "235-237-4107",
"email": "botest56789@gmail.com",
"mailingAddress": [
{
"addressLine1": "Ap 4391",
"addressLine2": "Conference Centre Ste 1020",
"city": "Sugar Notch",
"state": "PA",
"zip": "18706",
"externalId": "PC3023945678911",
"isPrimary": true
}
],
"secondaryIdentification": {
"type": "DRIVER_LICENSE",
"id": "48832905",
"stateOfIssuance": "CA"
},
"actAsAuthorizedSignatory": true,
"isUSCitizen": true,
"pullCreditReport": false,
"businessDetails": {
"title": "Secretary",
"ownershipPercentage": 50
},
"taxIdentification": {
"id": "936-92-2097",
"type": "ITIN"
}
}
]
},
"isPaperless": true
}

Example Response

HTTP Status: 201 Created
Content-Type: application/json
Url: v1/customer/id/4015210

3. Create Joint Tenancy Customer

Minimal Request
POST /banking/us2/v1/customer HTTP/1.1
Host: api.ahrvo.network
Authorization: Bearer {placeholder("JWT token")}
x-api-key: {placeholder("your-api-key")}
Content-Type: application/json
{
"type": "JOINT_TENANCY",
"owners": [
{
"externalId": "ET2383",
"firstName": "John",
"lastName": "Max",
"isPrimaryOwner": true
}
]
}
Full Request
POST /banking/us2/v1/customer HTTP/1.1
Host: api.ahrvo.network
Authorization: Bearer {placeholder("JWT token")}
x-api-key: {placeholder("your-api-key")}
Content-Type: application/json
{
"type": "JOINT_TENANCY",
"externalId": "192098992938",
"isPaperless": true,
"owners": [
{
"mailingAddress": [
{
"state": "AL",
"zip": "13333",
"city": "NewYork",
"addressLine1": "park",
"addressLine2": "street",
"isPrimary": true
}
],
"externalId": "ET2383",
"firstName": "Max",
"middleName": "Henry",
"lastName": "J",
"email": "navneet.kaur+8336@ahrvo.com",
"mobilePhone": "923-620-0742",
"dob": "05/23/1990",
"isPrimaryOwner": true,
"isUSCitizen": true,
"portalAccess": {
"grantAccess": true
},
"taxIdentification": {
"type": "ITIN",
"id": "909-92-0936"
}
},
{
"mailingAddress": [
{
"state": "AL",
"zip": "85002",
"city": "NewYork",
"addressLine1": "park",
"addressLine2": "street",
"isPrimary": true
}
],
"firstName": "Jack",
"middleName": "Henry",
"lastName": "Tom",
"isPrimaryOwner": false,
"email": "navneet.kaur+9843@ahrvo.com",
"mobilePhone": "542-670-4233",
"isUSCitizen": true,
"portalAccess": {
"grantAccess": true
},
"taxIdentification": {
"type": "ITIN",
"id": "909-92-0935"
}
}
],
"linkedDocument": [
{
"purpose": "Authorization",
"document": {
"base64encodedContent": "Q3Jvc3Nyb2FkcyBGaW5wgVG==",
"name": "abc.pdf",
"type": "SPAA"
}
}
]
}

Example Response

HTTP Status: 201 Created
Content-Type: application/json
Url: v1/customer/id/4015209

Customer Types Summary

TypeRequired ObjectKey Required Fields
INDIVIDUALindividualfirstName, lastName
BUSINESSbusinesslegalName
JOINT_TENANCYowners (array)firstName, lastName, isPrimaryOwner per owner

Important Notes

Default Status

All customers are created in ACTIVE status by default.

Paperless Communication

When isPaperless is set to true (the default), the email field becomes mandatory for individual customers, joint tenancy owners, and business beneficial owners.

Tax Identification

The taxIdentification object should only be provided for customers or beneficial owners who do not have an SSN.

Beneficial Owner Phone Requirement

At least one phone number (homePhone, workPhone, or mobilePhone) is mandatory for each beneficial owner in a business customer.


Interactive API Explorer