Skip to main content
POST
/
customers
Create customer
curl --request POST \
  --url https://api.fernhq.com/customers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customerType": "INDIVIDUAL",
  "firstName": "John",
  "lastName": "Doe",
  "businessName": "John Doe Inc.",
  "email": "john.doe@example.com",
  "kycData": {
    "legalFirstName": "John",
    "legalMiddleName": "Michael",
    "middleName": "Michael",
    "legalLastName": "Doe",
    "phoneNumber": "+12125551234",
    "dateOfBirth": "1990-01-15",
    "address": {
      "countryCode": "US",
      "streetLine1": "350 5th Avenue",
      "streetLine2": "Floor 21",
      "city": "New York",
      "stateRegionProvince": "NY",
      "postalCode": "10016",
      "locale": "en-US"
    },
    "nationalIdIssuingCountry": "US",
    "nationalIdType": "SSN",
    "nationalIdNumber": "123-45-6789",
    "taxIdNumber": "123-45-6789",
    "nationality": "US",
    "employmentStatus": "EMPLOYED",
    "mostRecentOccupation": "132011",
    "sourceOfFunds": "SALARY",
    "accountPurpose": "PERSONAL_EXPENSES",
    "accountPurposeOther": "Custom business purpose",
    "expectedMonthlyPaymentsUsd": "BETWEEN_5000_9999",
    "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",
      "dbaName": "Acme Corp",
      "businessType": "CORPORATION",
      "businessIndustries": "541511",
      "businessDescription": "Software development and consulting services",
      "website": "https://www.acme.com",
      "otherLinks": [
        "https://linkedin.com/company/acme",
        "@acmetech"
      ],
      "formationDate": "2020-01-15",
      "registrationCountry": "US",
      "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": "12-3456789",
    "sourceOfFunds": "SALE_OF_GOODS_AND_SERVICES",
    "sourceOfFundsDescription": "Revenue from software licensing and consulting services",
    "accountPurpose": "CHARITABLE_DONATIONS",
    "accountPurposeOther": "Custom business purpose",
    "expectedMonthlyVolumeUsd": "BETWEEN_10000_99999",
    "estimatedAnnualRevenueUsd": "BETWEEN_100000_999999",
    "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 process cryptocurrency transactions for institutional clients",
    "businessDocuments": [
      {
        "type": "ARTICLES_OF_INCORPORATION",
        "description": "Articles of Incorporation filed in Delaware",
        "documentImage": "<string>"
      }
    ],
    "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"
          }
        ]
      }
    ]
  }
}'
{
"customerId": "03b7030f-6da1-4d76-9352-cdebd82112c8",
"customerStatus": "ACTIVE",
"customerType": "INDIVIDUAL",
"name": "John Doe",
"email": "johndoe@example.com",
"kycLink": "https://app.fernhq.com/verify-customer/03b7030f-6da1-4d76-9352-cdebd82112c8",
"verificationLink": "https://app.fernhq.com/verify-customer/03b7030f-6da1-4d76-9352-cdebd82112c8",
"updatedAt": "2023-10-01T12:00:00Z",
"organizationId": "8469411c-48c1-4e26-a032-44688be9cb4b"
}

Authorizations

Authorization
string
header
required

To authenticate server-side requests

Body

application/json

Request payload for creating a new customer account with optional KYC data

customerType
enum<string>
required

The type of customer - either individual or business

Available options:
INDIVIDUAL,
BUSINESS
email
string<email>
required

Email of the customer

Example:

"john.doe@example.com"

firstName
string

First name of the customer

Example:

"John"

lastName
string

Last name of the customer

Example:

"Doe"

businessName
string

Name of the business

Example:

"John Doe Inc."

kycData
object

Optional KYC data for immediate verification submission.

kybData
object

Optional KYB data for immediate verification submission.

Response

Response schema for a customer retrieval request

customerId
string<uuid>
required

Unique identifier of the customer

Example:

"abc123"

customerStatus
required

Current status of the customer

Available options:
CREATED
Example:

"ACTIVE"

email
string<email>
required

Email of the customer

Example:

"john.doe@example.com"

customerType
enum<string>
required

The type of customer - either individual or business

Available options:
INDIVIDUAL,
BUSINESS
name
string
required

Full name of the customer or business

Example:

"John Doe"

URL for KYC/KYB verification process

Example:

"https://app.fernhq.com/verify-customer/0423300f-ae6d-4e82-8afb-a3b430e22e29"

updatedAt
string<date-time>
required

Timestamp of the last status update

organizationId
string
required

Organization identifier

Example:

"8469411c-48c1-4e26-a032-44688be9cb4b"

URL for KYC/KYB verification process (DEPRECATED: Use verificationLink instead)

Example:

"https://app.fernhq.com/verify-customer/0423300f-ae6d-4e82-8afb-a3b430e22e29"