Skip to main content
An entity represents a person or business onboarded to your platform. Entities must be created and approved before accounts can be opened for them.

Endpoints


The Entity object

string
Unique entity identifier.
string
individual or business.
string
Review state. One of incomplete, pending, approved, failed, or blocked. A newly created entity is incomplete until it is submitted for review.
string
Display name for the entity.
boolean
Whether this entity is the top of its hierarchy, or a child of another entity.
string
The ID of the parent entity, when this entity was created under one.
string
The ID of the associated person record. Present only when type is individual.
string
The ID of the associated business record. Present only when type is business.
string
The ID of the user associated with this entity, when applicable.
string
How the entity was created. e.g. api, user.
string
The compliance risk band assigned to this entity. e.g. medium.
string
The product variant of the entity, for example banking.
number
Unix timestamp in milliseconds when the entity was created.
number
Unix timestamp in milliseconds when the entity was last updated.
Identity details, business details, and metadata are not nested inside the entity object. They’re returned as sibling objects (person or business, and person_meta or business_meta) alongside entity in endpoint responses. See Get an entity.
Example

Create an individual entity

POST /individual-entities Creates a new individual entity. After creation, upload KYC documents and submit for onboarding review before the entity can open accounts. Returns 201 Created. The minimum request creates the entity as incomplete. Add address and identification before you submit it for review. A Nigerian national needs person.bvn and person.nin, and a U.S. national needs person.ssn: without them the request returns 422 on those fields.
Request fields
string
required
A display name for the entity. 1–255 characters.
object
required
Personal details for the individual.
object
Residential address of the individual. Optional, but when you send it line_1, city, state, postal_code and country_code are all required.
object
Identity and address verification documents.
object
Business context for the individual, if applicable (e.g. a sole trader or freelancer). Choose category_code and sub_category_code from Business categories. The API stores it with the person’s metadata and doesn’t return it in this response; retrieve it with Get an entity.
object
Additional compliance and risk metadata, as a key-value object. The API doesn’t validate it, and it accepts keys that aren’t listed here, such as sales_channels.
string
Description of this individual’s relationship to its parent, if associated with a business entity. 1–100 characters. You can’t set the parent via a request field: it’s always the authenticating entity. See Managing child entities.

Response

Returns the created entity with status: "incomplete" until it is submitted for review, alongside the person, address and identification objects. The entity includes the person_id. Identification numbers are masked, and the response doesn’t include person_meta; retrieve it with Get an entity. address is null when you don’t send one. A new person has status: "approved".
201 Created
The response includes a data.person.id field used to associate KYC documents in the next step. See Entities guide for the full onboarding flow.
Save data.entity.id as soon as the create succeeds. A 409 error_duplicate_resource doesn’t return the existing entity, so a retry after a failure later in your flow can’t recover the ID from the error. If you didn’t save it, find the entity with List entities.

Errors

The request can also return the shared 403 and 429 errors. See Errors for the standard error object. Example error responses:

Update an individual entity

PATCH /individual-entities/{entity_id} Updates the profile of an existing individual entity. Every body field is optional, and the API changes only the fields you send. An empty body succeeds and changes nothing. Returns 200 OK. The path entity_id selects the entity, and a business entity’s ID returns 404 error_resource_not_found. An entity_id in the body is ignored. This endpoint doesn’t send an entities.updated webhook. Changing identification details resets their verification_status to pending.

Path parameters

string
required
The ID of the individual entity to update.

Request parameters

string
The name of the individual entity. 1–255 characters.
object
The profile details of the individual entity.
object
The address of the individual entity.
object
Business context for the individual. The API stores it with the person’s metadata and doesn’t return it in this response; retrieve it with Get an entity.
object
The identification details of the individual entity.
object
Additional compliance and risk metadata, as a key-value object. The update merges it into the existing metadata one key at a time.
string
Description of this individual’s relationship to its parent entity (e.g. director, owner, etc.). You can’t set the parent via a request field: it’s always the authenticating entity. See Managing child entities.

Sample Response

Response fields

The entity.updated value in this response can show the time before the update. After a name change it returned the entity’s creation time.
string
A message describing the result of the update operation.
string
The status of the update operation.
object
The updated entity data.

Errors

The request can also return the shared 403 and 429 errors. See Errors for the standard error object. Example error responses:

Create a business entity

POST /business-entities Creates a new business entity. After creation, submit for KYB onboarding review before the entity can open accounts. Returns 201 Created. The minimum request creates the business as incomplete. website, phonenumber, address, operating_address, business_officers and meta are optional at creation.

Request fields

string
required
A display name for the entity. 1–255 characters.
object
required
Core business information.
object
Registered address of the business. Optional: when you omit it, address is null in the response.
object
The address where the business physically operates, if different from the registered address. Same structure and rules as address. When you omit it, the response has no operating_address.
array
The individuals associated with the business. Optional: omit it to create the entity without officers, and business_officers is an empty array in the response. An empty array in the request returns 500 error_system_internal_error, so omit the field instead.
object
Additional compliance and business metadata, as a key-value object. The API doesn’t validate it, and the keys below are recommended for KYB review rather than required.
string
Description of this business’s relationship to its parent entity, for example subsidiary. 1–100 characters. The parent is always the authenticating entity and can’t be set in the request; a parent_entity value in the body is ignored. See Managing child entities.

Person object

The person object is used within business_officers to capture individual details.
string
required
1–100 characters.
string
required
1–100 characters.
string
Max 100 characters.
string
required
Format: YYYY-MM-DD. Must be a real calendar date in the past; any other value returns 422 error_validation_invalid_format.
string
required
Valid email address.
string
required
ISO 3166-1 alpha-2 country code. e.g. NG, GH, US.
string
required
m for male, f for female.
string
Phone number including country code.
string
Bank Verification Number (BVN), required for Nigerian nationals and residents. Exactly 11 characters.
string
National Identity Number (NIN), required for Nigerian nationals and residents. Exactly 11 characters.
string
Social Security Number (SSN), required for U.S. nationals and residents. At least 9 characters, not counting hyphens.
object
Additional key-value metadata about the person.
object
Identity verification documents for this person.
object
Residential address of this person. Same structure as the business address object.

Response

Returns the created entity object with type: "business" and status: "incomplete" until it is submitted for review. Related objects you didn’t send come back empty: address and business_meta are null, business_officers is an empty array, and operating_address is absent. Each address has a label, either registered_address or operating_address. entity.parent_relationship is included when you set it.
201 Created

Errors

The request can also return the shared 403 and 429 errors. See Errors for the standard error object.

Duplicate messages

The message of a 409 error_duplicate_resource names the value that collided. The officer email check is the same person check as on Create an individual entity, so it ignores letter case. The legal_name match is case-sensitive. Example error responses:

Upload a KYC document

POST /documents Upload a supporting document for identity or business verification. Send the file as a base64-encoded string in a JSON body. Returns 201 Created. Uploading the same file for the same entity and key again returns the existing document with 201, without creating a second one. Uploads are accepted whatever the entity’s status, including incomplete and approved.
Required documents vary by entity type. See Creating an individual entity or Creating a business entity for the documents each type needs.

Request parameters

string
Document type. The recommended values are identity, proof_of_address, tax_verification, certificate_of_incorporation, and memorandum_of_association; the API accepts any string.
string
required
A short description of the document. 1–500 characters.
string
required
The document, as a base64-encoded string or a data URI such as data:image/png;base64,.... The API doesn’t check that the string is valid base64. The API doesn’t enforce a 10 MB file limit.
string
The back of the document, for example the reverse of an identity card, encoded like file. It is returned as urls.back.
object
Details about the file.
Links the document to a person on the entity.
string
The entity the document belongs to. Defaults to the authenticating entity when omitted. Send it when uploading for a child entity: without it, the person is looked up on the authenticating entity and the request returns 422 error_entity_person_document_link_mismatch. An unknown ID returns 404 error_resource_not_found.

Response

object
The stored document.
object
Contains the entity_id the document affects.
Present when the upload linked an identity document to a person. It holds the person_id, whether the person’s verification changed (verification_updated), and the previous_document_id of the document it replaced.
Upload every document required for the entity’s type before calling the onboarding submission endpoint.

Errors

The request can also return the shared 403 and 429 errors. See Errors for the standard error object. Example error responses:

Submit for onboarding review

POST /onboarding-submissions Submit an entity for KYC or KYB review. Only an entity with the status incomplete can be submitted. The entity profile must be complete first: for an individual, the personal details, address and identity document; for a business, its registration details, addresses, officers and supporting documents. Returns 200 OK. To see what is still missing before you submit, call GET /onboarding-progress with the entity ID.

Request parameters

string
The ID of the entity to submit for review. Defaults to the authenticating entity when omitted, so send it to submit a child entity. An unknown ID returns 404 error_resource_not_found. See Managing child entities for details.

Response

Returns the entity object with status: "pending". Nuvion reviews the submission asynchronously and fires an entities.updated webhook when the review changes the status. There is no event for the submission itself.
200 OK

Errors

The request can also return the shared 403 and 429 errors. See Errors for the standard error object. Example error responses:

Update a business entity

PATCH /business-entities/{entity_id} Updates the profile of an existing business entity: its name, business details, addresses, officers and metadata. Every body field is optional, and the API changes only the fields you send. An empty body succeeds and changes nothing. Returns 200 OK. The path entity_id scopes the request. It can be the authenticating entity or one of its direct children; any other ID, including an individual entity’s ID, returns 404 error_resource_not_found. An entity_id in the body is ignored. See Managing child entities.
This endpoint doesn’t send an entities.updated webhook, even when name changes. That event fires when an entity’s status changes. See Event types.

Path parameters

string
required
The ID of the business entity to update.

Request parameters

string
The display name of the business entity.
object
The profile details of the business entity.
object
The registered address of the business. Send only the fields you want to change.
object
The operating address of the business, if different from the registered address. It takes the same fields and rules as address.
array
Changes to the business’s officers. Each item adds, updates or removes one officer. An item without action is ignored without an error.
object
Additional information about the business for KYB review. The update merges the object into the existing metadata one key at a time: keys you send are set, and keys you omit are kept. The API stores any key and value as sent, so use the same key names as creation (monthly_payments_count, funding_source) to avoid creating a second key.
string
Description of this business’s relationship to its parent entity (for example “subsidiary” or “affiliate”). You can’t set the parent via a request field: it’s always the authenticating entity. See Managing child entities.

Request

Response

Returns the updated profile. changes_applied lists what this request changed, and the remaining keys hold the current state of each related object. The related objects use the same fields as the matching objects in Create a business entity, and entity is the Entity object.
200 OK
string
A human-readable message describing the result of the API call.
string
The status of the API call. Either success or error.
object
The updated entity, its related objects, and the changes this request applied.

Errors

The request can also return the shared 403 and 429 errors. See Errors for the standard error object. Example error responses:

List entities

GET /entities Returns a paginated list of your entity and the child entities created under it, newest first. Use it to find an entity when you didn’t save its ID, for example after a 409 error_duplicate_resource on create. Returns 200 OK.

Query parameters

string
Filter by entity name. The match is partial and ignores letter case: name=alex matches Alex Johnson. A value that matches nothing returns an empty list.
string
Filter by entity type: individual or business. Lowercase only. Any other value returns 422 error_validation_error.
integer
Number of records to return. Between 1 and 100. Defaults to 20. A value outside the range returns 422 error_validation_error.
string
Pagination cursor from a previous response. See Pagination.
The list always sorts newest first. Items are entity objects without the person or business details, and no parameter filters by email. To check an entity’s email, search by name, then call Get an entity for each match.

Request

Response

array
The entities on this page. Each item is an Entity object.
object
Cursors and paging state. See Pagination for the fields.
object
The filters the API applied to this request. A name filter appears as { "like": "<value>" }, and sort is always created descending.
200 OK

Find an entity you didn’t save

When a create returns 409 error_duplicate_resource and you didn’t store the existing entity_id, search by name, then read the match to check its email.
The list returns the entity id, status and name. Get an entity returns the person object, where data.person.email is the address that collided.

No matches

A name that matches nothing returns 200 OK with an empty data array.
200 OK

Paging

When has_next is true, pass next_cursor as cursor to get the next page.
curl

Errors

The request can also return the shared 403 and 429 errors. See Errors for the standard error object.

Get an entity

GET /entities/{entity_id} Retrieves an existing entity by ID. Returns 200 OK. Authenticate with a secret API key; a publishable key or no key returns 401 error_auth_credentials_invalid. You can retrieve your own entity and the child entities you created. The path ID selects the entity, so you don’t send entity_id as a query parameter, and one that you do send is ignored. See Managing child entities for details.

Path parameters

string
required
The entity ID, a 26-character ULID. The format isn’t validated: an ID that is malformed, doesn’t exist, or isn’t one of your entities returns 404 error_resource_not_found.

Response

Returns the full entity record: the core entity object, the associated person or business record, addresses, identification, uploaded documents, and platform metadata. Business entities also include officers. Every entity includes child_entities. Shape depends on type: person and identification appear for individuals, and business, business_meta and business_officers for businesses. person_meta is omitted when no metadata was stored.

Response fields

string
Always success for a successful request.
string
Human-readable confirmation message.
object

Errors

The request can also return the shared 403 and 429 errors. See Errors for the standard error object. Example error responses:

Entity statuses