curl --request PATCH \
--url https://api.fernhq.com/customers/{customerId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"kycData": {
"legalFirstName": "John",
"legalMiddleName": "Michael",
"middleName": "Michael",
"legalLastName": "Doe",
"phoneNumber": "+12223334444",
"dateOfBirth": "1990-01-15",
"address": {
"countryCode": "US",
"streetLine1": "350 5th Avenue",
"streetLine2": "Floor 21",
"city": "New York",
"stateRegionProvince": "NY",
"postalCode": "10016",
"locale": "en-US"
},
"taxIdNumber": "123-45-6789",
"nationalIdIssuingCountry": "US",
"nationalIdType": "ssn",
"nationalIdNumber": "123-45-6789",
"nationality": "US",
"employmentStatus": "EMPLOYED",
"mostRecentOccupation": "132011",
"sourceOfFunds": "SALARY",
"accountPurpose": "PERSONAL_EXPENSES",
"accountPurposeOther": "Real estate transactions",
"expectedMonthlyPaymentsUsd": "BETWEEN_10000_49999",
"isIntermediary": false,
"title": "Mr.",
"documents": [
{
"type": "GOVERNMENT_ID",
"subtype": "NATIONAL_ID",
"countryCode": "US",
"documentIdNumber": "123456789",
"issuanceDate": "2020-01-15",
"expirationDate": "2030-01-15",
"frontIdImage": "<string>",
"backIdImage": "<string>",
"proofOfAddressImage": "<string>",
"description": "Electric bill from January 2024"
}
]
},
"kybData": {
"businessInfo": {
"legalBusinessName": "Acme Corporation Inc.",
"dbaName": "Acme Corp",
"businessType": "CORPORATION",
"businessIndustries": "611519",
"businessDescription": "Software development and technology consulting services",
"website": "https://www.acmecorp.com",
"otherLinks": [
"https://linkedin.com/company/acme",
"@acmetech"
],
"formationDate": "2020-01-15",
"registrationCountry": "DE",
"isDao": false
},
"businessRegisteredAddress": {
"countryCode": "US",
"streetLine1": "350 5th Avenue",
"streetLine2": "Floor 21",
"city": "New York",
"stateRegionProvince": "NY",
"postalCode": "10016",
"locale": "en-US"
},
"businessOperatingAddress": {
"countryCode": "US",
"streetLine1": "350 5th Avenue",
"streetLine2": "Floor 21",
"city": "New York",
"stateRegionProvince": "NY",
"postalCode": "10016",
"locale": "en-US"
},
"businessRegistrationNumber": "<string>",
"sourceOfFunds": "SALE_OF_GOODS_AND_SERVICES",
"sourceOfFundsDescription": "Revenue from software licensing and consulting services",
"accountPurpose": "CHARITABLE_DONATIONS",
"accountPurposeOther": "International trade financing",
"expectedMonthlyVolumeUsd": "LESS_THAN_10000",
"estimatedAnnualRevenueUsd": "LESS_THAN_100000",
"conductsMoneyServices": false,
"conductsMoneyServicesDescription": "International wire transfers for clients",
"conductsMoneyServicesThroughFern": false,
"operatesInProhibitedCountries": false,
"complianceScreeningDescription": "We screen all clients against OFAC and international sanctions lists",
"highRiskActivities": [
"ADULT_ENTERTAINMENT",
"FOREIGN_EXCHANGE_OR_BROKERAGE"
],
"highRiskActivitiesExplanation": "We operate an adult entertainment platform with proper licensing and compliance measures in place.",
"associatedPersons": [
{
"legalFirstName": "Jane",
"legalMiddleName": "Marie",
"legalLastName": "Smith",
"email": "jane.smith@example.com",
"phoneNumber": "+14155551234",
"dateOfBirth": "1985-06-20",
"address": {
"countryCode": "US",
"streetLine1": "350 5th Avenue",
"streetLine2": "Floor 21",
"city": "New York",
"stateRegionProvince": "NY",
"postalCode": "10016",
"locale": "en-US"
},
"ownershipPercentage": 0.25,
"title": "Chief Technology Officer",
"isControlPerson": true,
"isSigner": true,
"isDirector": false,
"nationalIdIssuingCountry": "US",
"nationalIdType": "ssn",
"nationalIdNumber": "123-45-6789",
"nationality": "US",
"documents": [
{
"type": "GOVERNMENT_ID",
"subtype": "NATIONAL_ID",
"countryCode": "US",
"documentIdNumber": "123456789",
"issuanceDate": "2020-01-15",
"expirationDate": "2030-01-15",
"frontIdImage": "<string>",
"backIdImage": "<string>",
"proofOfAddressImage": "<string>",
"description": "Bank statement for KYB associated person"
}
]
}
],
"businessDocuments": [
{
"type": "ARTICLES_OF_INCORPORATION",
"description": "Articles of Incorporation filed in Delaware",
"documentImage": "<string>"
}
]
}
}'