Skip to main content
PATCH
Update an entity
See Errors for the common errors every v2 endpoint can return.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required

A unique key for this request, up to 255 characters. Retrying with the same key and body returns the original response without applying the update twice. See Idempotency. A unique key for this request, up to 255 characters. Retrying with the same key and body returns the original response instead of performing the operation again.

Required string length: 1 - 255
Example:

"3f1c9a52-7d4e-4b8a-9c21-6e0f5d2a8b14"

Path Parameters

entity_id
string
required

The ID of the entity. The ID of your entity.

Pattern: ^entity_[^\s]{1,33}$
Example:

"entity_xyz123"

Body

application/json

Lead ignores fields not listed here. A field sent as null clears the stored value: preferred_first_name, middle_name, date_of_birth, occupation, and physical_address or mailing_address, which removes that address. These can't be null: type, first_name, last_name, identification, risk_score, kyc, ofac, rfi, metadata, the arrays, and the fields inside identification, kyc, ofac, rfi and each array entry. In physical_address and mailing_address, line_2, state and postal_code can be null; line_1, city and country can't. Send a new value instead, or [] to empty an array.

type
string
default:individual
required

Type of entity = individual.

Pattern: ^individual$
first_name
string

Legal first name, as your customer gave it. Non-Latin characters are accepted.

Maximum string length: 500
Example:

"Lucy"

preferred_first_name
string | null

Preferred first name.

Maximum string length: 500
Example:

"Lu"

middle_name
string | null

Middle name.

Maximum string length: 500
Example:

"Reginald"

last_name
string

Legal last name, as your customer gave it. Non-Latin characters are accepted.

Maximum string length: 500
Example:

"Collins"

date_of_birth
string<date> | null

Date of birth, in YYYY-MM-DD format. account_holder and authorized_signer require age 18 or older. minor_account_holder requires age 16 or 17.

Example:

"2002-02-15"

occupation
string | null

Occupation.

Maximum string length: 500
Example:

"Author"

contact_methods
(Email · object | Phone Number · object)[]
physical_address
object | null

The entity's physical address. It can't be a P.O. box, a registered agent's address, or in a prohibited country.

mailing_address
object | null

The entity's mailing address.

other_addresses
object[]

Other addresses for the entity. The array you send replaces the stored array.

identification
US Entity · object

Required on every individual; only type is required inside it. tax_identification is required for a us_entity holding the account_holder, minor_account_holder, or authorized_signer relationship type, and for beneficial owners, control persons, and sole proprietors. It is not required for an authorized_user. A non_us_entity needs at least one documents entry for the same relationship types; on an entity created on v0, legacy_documents entries count.

additional_documents
object[]

Supporting documents, one entry per document. You can send up to 100 documents. Each entry takes either a file_id or a type, not both. The array you send replaces the stored array, and Lead checks every file_id in it again. You don't need to confirm KYC again when you change documents.

Maximum array length: 100
Example:
risk_score
enum<string>

The entity's risk score. You map your own risk scores to these values and give Lead the mapping.

Available options:
low,
medium,
high
Example:

"low"

kyc
object

Your KYC check of the entity.

ofac
object

Your OFAC screen of the entity.

rfi
object

Your request for information (RFI) to your customer.

credit_reports
object[]

Credit reports from credit bureaus on the entity.

intended_eligibility
enum<string>[]

The relationship types you intend this entity to hold. When you send it, Lead checks the entity's data against every listed type and rejects the request with 422 parameters_invalid if any fails. The check is all or nothing, and the error returns every failing check, not just the first. Listing fewer types than the entity qualifies for still succeeds, and eligibility shows everything it qualifies for.

If the check passes, Lead saves the list and returns it on the entity. On a PATCH, Lead checks the entity as it would be after the update, against the list you send or, if you leave the field out, the saved list. Send an empty array to clear the saved list; no check runs.

A relationship type an entity can hold.

  • account_holder: Full control of, and legal responsibility for, the account.
  • minor_account_holder: An individual aged 16 or 17 with account holder eligibility.
  • authorized_signer: An individual allowed to sign on behalf of the account holder, without legal responsibility.
  • authorized_user: An individual with restricted access to the account, without legal responsibility.
Available options:
account_holder,
minor_account_holder,
authorized_signer,
authorized_user
Example:
metadata
object

A set of key-value pairs that can be used to store additional information related to this object.

Response

Entity object updated.

id
string
required

Unique ID for the Entity object.

Pattern: ^entity_[^\s]{1,33}$
Example:

"entity_xyz123"

type
string
default:individual
required

Type of entity = individual.

Pattern: ^individual$
created_at
string<date-time>
required

When the entity was created, in UTC to the second.

Example:

"2026-11-07T05:31:56Z"

first_name
string
required

Legal first name, as your customer gave it.

last_name
string
required

Legal last name, as your customer gave it.

contact_methods
(Email · object | Phone Number · object)[]
required
other_addresses
object[]
required

Other addresses for the entity.

identification
US Entity · object
required

tax_identification is required for a us_entity holding the account_holder, minor_account_holder, or authorized_signer relationship type, and for beneficial owners, control persons, and sole proprietors. It is not required for an authorized_user. A non_us_entity needs at least one documents entry for the same relationship types; on an entity created on v0, legacy_documents entries count.

additional_documents
object[]
required

Supporting documents, one entry per document. Each entry takes either a file_id or a type, not both. The array you send replaces the stored array, and Lead checks every file_id in it again. You don't need to confirm KYC again when you change documents.

Example:
legacy_additional_documents
object[]
required

Additional document entries created on v0 Entities, returned as sent. Read only: ignored if included on a POST or PATCH.

Example:
credit_reports
object[]
required

Credit reports from credit bureaus on the entity.

intended_eligibility
enum<string>[]
required

The relationship types you intend this entity to hold. When you send it, Lead checks the entity's data against every listed type and rejects the request with 422 parameters_invalid if any fails. The check is all or nothing, and the error returns every failing check, not just the first. Listing fewer types than the entity qualifies for still succeeds, and eligibility shows everything it qualifies for.

If the check passes, Lead saves the list and returns it on the entity. On a PATCH, Lead checks the entity as it would be after the update, against the list you send or, if you leave the field out, the saved list. Send an empty array to clear the saved list; no check runs.

A relationship type an entity can hold.

  • account_holder: Full control of, and legal responsibility for, the account.
  • minor_account_holder: An individual aged 16 or 17 with account holder eligibility.
  • authorized_signer: An individual allowed to sign on behalf of the account holder, without legal responsibility.
  • authorized_user: An individual with restricted access to the account, without legal responsibility.
Available options:
account_holder,
minor_account_holder,
authorized_signer,
authorized_user
Example:
eligibility
object
required

Whether the entity's current data qualifies it for each relationship type, with the failing checks. Response only. Lead computes it from current data on every read and never stores it. All four keys are always present. On a program that does not offer minor account holders, minor_account_holder is ineligible for every entity.

Example:
metadata
object
required

A set of key-value pairs that can be used to store additional information related to this object.

client_customer_id
string

Your customer ID, on entities created through Customer files. Response only. Lead ignores it if sent, and does not return it on entities created with POST /v2/entities.

preferred_first_name
string

Preferred first name.

middle_name
string

Middle name.

date_of_birth
string<date>

Date of birth, in YYYY-MM-DD format.

Example:

"2002-02-15"

occupation
string

Occupation.

physical_address
object

The entity's physical address.

mailing_address
object

The entity's mailing address.

risk_score
enum<string>

The entity's risk score. You map your own risk scores to these values and give Lead the mapping.

Available options:
low,
medium,
high
Example:

"low"

kyc
object

Your KYC check of the entity.

ofac
object

Your OFAC screen of the entity.

rfi
object

Your request for information (RFI) to your customer.