Skip to main content
POST
/
individual-entities
Creates a new individual entity for the authenticated user or entity.
curl --request POST \
  --url https://api.nuvion.tech/individual-entities \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "John Doe",
  "person": {
    "first_name": "John",
    "last_name": "Doe",
    "middle_name": "Robert",
    "date_of_birth": "1990-05-15",
    "email": "[email protected]",
    "nationality": "US",
    "gender": "m"
  },
  "address": {
    "line_1": "123 Main Street",
    "line_2": "Apt 4B",
    "city": "New York",
    "state": "NY",
    "postal_code": "10001",
    "country_code": "US"
  },
  "identification": {
    "national_id": {
      "type": "SSN",
      "value": "123-45-6789"
    },
    "drivers_license": {
      "number": "DL12345678",
      "issuing_country": "US",
      "issue_date": "2020-01-15",
      "expiry_date": "2028-01-14"
    }
  },
  "parent_entity": "01HJ5G6R7MXW5ZK2QD6YA8N9F3",
  "parent_relationship": "employee"
}
'
{
  "message": "Individual entity created successfully",
  "status": 201,
  "data": {
    "entity": {
      "id": "01HJ5G6R7MXW5ZK2QD6YA8N9F3",
      "type": "individual",
      "status": "approved",
      "name": "John Doe",
      "is_root": true,
      "parent_entity": "01HJ5G6R7MXW5ZK2QD6YA8N9F4",
      "parent_relationship": "employee",
      "person_id": "01HJ5G6R7MXW5ZK2QD6YA8N9F5",
      "user_id": "01HJ5G6R7MXW5ZK2QD6YA8N9F6",
      "creation_context": "user",
      "risk_score": null,
      "sanctions_status": null,
      "created": 1694520000000,
      "updated": 1694520000000
    },
    "person": {
      "id": "01HJ5G6R7MXW5ZK2QD6YA8N9F5",
      "first_name": "John",
      "last_name": "Doe",
      "middle_name": "Robert",
      "date_of_birth": "1990-05-15",
      "email": "[email protected]",
      "nationality": "US",
      "gender": "m",
      "is_pep": false,
      "status": "approved",
      "created": 1694520000000,
      "updated": 1694520000000
    },
    "address": {
      "id": "01HJ5G6R7MXW5ZK2QD6YA8N9F7",
      "line_1": "123 Main Street",
      "line_2": "Apt 4B",
      "line_3": null,
      "city": "New York",
      "state": "NY",
      "postal_code": "10001",
      "country_code": "US",
      "owner_id": "01HJ5G6R7MXW5ZK2QD6YA8N9F5",
      "owner_type": "person",
      "created": 1694520000000,
      "updated": 1694520000000
    },
    "identification": {
      "id": "01HJ5G6R7MXW5ZK2QD6YA8N9F8",
      "person_id": "01HJ5G6R7MXW5ZK2QD6YA8N9F5",
      "national_id": {
        "type": "SSN",
        "value": "***6789",
        "verification_status": "pending"
      },
      "drivers_license": {
        "number": "***5678",
        "issuing_country": "US",
        "issue_date": "2020-01-15",
        "expiry_date": "2028-01-14",
        "verification_status": "pending"
      },
      "verification_status": "pending",
      "created": 1694520000000,
      "updated": 1694520000000
    }
  }
}

Headers

Authorization
string
required

Authorization header: Bearer {jwt or Secretkey}

Body

application/json
name
string
required

The name of the individual entity

person
object
required

Details of the person associated with this entity

address
object

Address of the person

identification
object

Identification documents of the person

parent_entity
string

The ULID of the parent entity

parent_relationship
string

The relationship with the parent entity

Response

Created successfully

message
string
required

A descriptive message indicating the result of the operation

status
string
required

The status of the API operation (successful, error, failed, pending)

data
object
required

Container for the created individual entity data