Hercle
REST
POST/api/v1/end-users/individuals

Register Individual End User

Registers a new individual end user (natural person) for banking services with personal details, identification, and registration information.

Auth:Bearer <api_key>
Tags:BankingSandbox

Request

cURL
curl -X POST https://publicapi.sandbox.hercle.financial/api/v1/end-users/individuals \
  -H "Authorization: Bearer eyJhb..." \
  -H "Content-Type: application/json" \
  -d '{"key": "value"}'

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer API_KEY
Example: Bearer your_api_key_here
Content-TypestringYesapplication/json
Example: application/json

Request Body

Schema

FieldTypeDescriptionRequired
personobjectPersonal details of the individual end userYes
ipAddressstringIP address used when registering the individual end userYes

Person Object

Personal information of the individual end user including name, contact details, address, and identification

FieldTypeDescriptionRequired
firstNamestringFirst name (1-100 characters)Yes
lastNamestringLast name (1-100 characters)Yes
middleNamestringMiddle name (optional)No
dobstringDate of birth in ISO 8601 format: YYYY-MM-DD e.g. 1990-05-20Yes
nationalityarrayArray of nationality codes (ISO 3166-1 alpha-2, e.g., ["IT"])Yes
birthCountrystringCountry of birth. ISO 3166-1 alpha-2 country code e.g. IT (optional)No
phonestringContact phone number in E.164 format e.g. +393331234567Yes
emailstringEmail addressYes
addressobjectResidential address of the personYes
identificationDocumentobjectIdentification document detailsYes

Address Object

Residential address of the individual

FieldTypeDescriptionRequired
line1stringPrimary address line (3-140 characters)Yes
line2stringSecondary address line (optional)No
citystringCityYes
statestringState or province (optional)No
postalCodestringPostal or ZIP codeYes
countrystringCountry code. ISO 3166-1 alpha-2 country code e.g. GB or USYes

Identification Document Object

Identity verification document information

FieldTypeDescriptionRequired
typestring
Type of identification document
Allowed values:
PASSPORT
NATIONAL_ID
DRIVERS_LICENCE
WORK_PERMIT
Yes
numberstringIdentification document numberYes

Example

{
  "person": {
    "firstName": "Mario",
    "lastName": "Rossi",
    "dob": "1990-05-20",
    "nationality": [
      "IT"
    ],
    "birthCountry": "IT",
    "phone": "+393331234567",
    "email": "mario.rossi@example.com",
    "address": {
      "line1": "Via Roma 10",
      "city": "Milano",
      "postalCode": "20100",
      "country": "IT",
      "state": "MI"
    },
    "identificationDocument": {
      "number": "AX1234567",
      "type": "PASSPORT"
    }
  },
  "ipAddress": "192.168.1.1"
}

Response

Success Response Schema

FieldTypeDescription
idstringUnique identifier of the individual end user
personobjectPersonal details as registered
registrationStatusstringCurrent registration status (e.g., PENDING)
createdAtnumberUnix timestamp of creation (milliseconds)
updatedAtnumberUnix timestamp of last update (milliseconds)

Individual End User Response Object

Top-level response containing the registered individual end user details

FieldTypeDescription
idstringUnique identifier of the individual end user
personobjectPersonal details as registered
registrationStatusstringCurrent registration status (e.g., PENDING)
createdAtnumberUnix timestamp of creation (milliseconds)
updatedAtnumberUnix timestamp of last update (milliseconds)

Person Object

Personal information as registered

FieldTypeDescription
firstNamestringFirst name (1-100 characters)
lastNamestringLast name (1-100 characters)
middleNamestringMiddle name (optional)
dobstringDate of birth in ISO 8601 format: YYYY-MM-DD e.g. 1990-05-20
nationalityarrayArray of nationality codes (ISO 3166-1 alpha-2, e.g., ["IT"])
birthCountrystringCountry of birth. ISO 3166-1 alpha-2 country code e.g. IT (optional)
phonestringContact phone number in E.164 format e.g. +393331234567
emailstringEmail address
addressobjectResidential address of the person
identificationDocumentobjectIdentification document details

Address Object

Residential address information

FieldTypeDescription
line1stringPrimary address line (3-140 characters)
line2stringSecondary address line (optional)
citystringCity
statestringState or province (optional)
postalCodestringPostal or ZIP code
countrystringCountry code. ISO 3166-1 alpha-2 country code e.g. GB or US

Identification Document Object

Identity verification document information

FieldTypeDescription
typestring
Type of identification document
Allowed values:
PASSPORT
NATIONAL_ID
DRIVERS_LICENCE
WORK_PERMIT
numberstringIdentification document number

Responses

Individual end user successfully registered

200 application/json
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "person": {
    "firstName": "Mario",
    "lastName": "Rossi",
    "email": "mario.rossi@example.com",
    "nationality": [
      "IT"
    ],
    "address": {
      "line1": "Via Roma 10",
      "city": "Milano",
      "country": "IT"
    },
    "identificationDocument": {
      "number": "AX1234567",
      "type": "PASSPORT"
    }
  },
  "registrationStatus": "PENDING",
  "createdAt": 1678886400000,
  "updatedAt": 1678886400000
}

API Tester

Test this endpoint directly against the sandbox environment

Get your API key from Hercle Sandbox

https://publicapi.sandbox.hercle.financial/api/v1/end-users/individuals