The Entities API is in preview. Preview APIs aren’t available in sandbox or production yet and can change before beta. Use these pages to plan your integration. You can’t call a preview API yet. Beta is planned for December 2026. See Versioning and backwards compatibility.
type. You create three of them: individual, business, and sole_prop. Lead sets up the other two, lead and partner, and you read them. The type decides which fields the entity has, and every field sits at the top level of the object.
Fields
These fields apply toindividual, business, and sole_prop entities. lead and partner entities have a smaller shape. See Lead and partner entities.
Responses always include every array field and metadata, except intended_eligibility, which is left out after you clear it with []. An empty array comes back as [], and metadata with no keys comes back as {}. This applies to all five entity types. Any other field that is not set, like date_of_birth, risk_score, or kyc, is left out of the response.
Lead stores every timestamp you send, like
kyc.screened_at, in UTC to the second, and returns it that way. A request can use any RFC 3339 offset.
KYC and OFAC result don’t accept pending. A request with it returns 422 parameters_invalid. On an entity whose stored result is pending from v0, the response leaves result out.
Individual fields
Whentype is individual, first_name, last_name, and identification are required. identification must always be present, but only its type is required. Every other field is optional to create the entity and becomes required only for the relationship types that need it. See Data requirements.
Business and sole proprietorship fields
Whentype is business or sole_prop, name (at least two characters), identification, and physical_address are required.
Linked entities
Businesses and sole proprietorships need information about the people behind them. Each of those people is their own individual entity, linked to the business byentity_id. To create a business or sole_prop entity, first create an individual entity for each beneficial owner, control person, or sole proprietor. Then create the business or sole_prop entity and reference their entity_id values.
Each linked individual must meet the data requirements for
authorized_signer, even if they will never sign. If one does not, the business or sole_prop is ineligible for account_holder, and its failed_checks point at that individual’s entity_id.
Identification for US and non-US entities
Every entity you create needsidentification with a type: us_entity if the entity has a US tax ID, non_us_entity if it does not. type is the only field required to create the entity. What else you provide depends on the relationship types the entity will hold.
us_entitytax_identificationhas atype(ssn,itin, orein) and a 9-digit value. Send the whole object or leave it out. A type without a valid value is rejected.- Individuals use
ssnoritin. Businesses useein. Trusts and LLCs can also usessnoritin. Sole proprietorships can use any of the three. - A Social Security number (SSN) cannot start with 9. Numbers starting with 9 are Individual Taxpayer Identification Numbers (ITINs), so send them as
itin. - A business or sole proprietorship cannot switch between
us_entityandnon_us_entityafter creation. Create a new entity instead. If you have not collected a US person’s tax ID yet, sendus_entitywithouttax_identification.
non_us_entity- Needs at least one
identification.documents[]entry for every relationship type exceptauthorized_user.
- Needs at least one
intended_eligibility. For example, you create a US individual with identification.type us_entity, no tax_identification, and no intended_eligibility. The create succeeds, and eligibility shows account_holder and authorized_signer as ineligible because the government ID check fails. If the same request sends intended_eligibility: ["account_holder"], it returns 422 parameters_invalid instead, and Lead does not create the entity. When you collect the SSN, send a PATCH with tax_identification and a kyc with result passed and a later screened_at. Lead recomputes eligibility on the response, and the government ID check no longer fails. If the rest of the entity’s data meets the requirements, account_holder and authorized_signer now show as eligible, and you can add the entity to a user account in those roles. To make the PATCH fail unless the entity qualifies, include intended_eligibility: ["account_holder"] in it.
Send only the entity’s own tax ID. Lead records whatever SSN or ITIN you send as that individual’s own, so do not send a parent’s or guardian’s. For a teen
authorized_user without their own SSN, leave tax_identification out.Documents
Entities carry two arrays of documents:identification.documents[] for government-issued ID, and additional_documents[] for supporting documents.
Each entry gives its document type in one of two ways. If you have the document as a file, upload it with the Files API, declare its type there, and send its file_id. Lead takes the type from the file and checks that the file exists and belongs to your program. If you do not have a file, send type on the entry instead. Send file_id or type, not both. A request with both, or neither, returns 422 parameters_invalid. When an entry has a file_id, the entity does not return its type. Retrieve it with GET /v2/files/{file_id}.
identification.documents[] holds government-verified identification.
additional_documents[] holds supporting documents. Each entry takes file_id or type, the same as identification documents. The accepted types are in Accepted types by entity type.
Accepted types by entity type
Names only. Definitions are in the type enum.
¹ Not applicable to a
us_entity.
² Accepted as a declared type only. You can’t upload a file with this type.
Things to know when you link files
- Link a file when you have one. Upload it with
POST /v2/files, declaring its type, then send the returnedfile_id. You can create an entity before its files exist and add them later with aPATCH. - Each file appears at most once on an entity, and each file has one type. If one document serves two types, like a utility bill that is also proof of address, upload it once for each type. You can link several files of the same type, like an expired and a current passport.
- A supplied array replaces the whole array. To add one document, send every existing entry plus the new one. Lead re-checks every
file_idin the array. - Swap a
typeentry for its file. Upload the file, thenPATCHthe whole array with afile_identry in place of thetypeentry. Keep the other fields on an identification entry, likeidentification_numberandissuing_country. If you leave thetypeentry in, the entity keeps both.
Address rules
physical_address, mailing_address, and each other_addresses[] entry use the same fields.
Put the full street address, with the number and street name, in line_1. It must be at least four characters. Use line_2 only for unit details like an apartment, suite, floor, or care-of, and leave it out otherwise.
city and country (ISO 3166-1 alpha-2) are required. Lead accepts a lowercase country and returns it in uppercase. US addresses also need a valid USPS state code and a postal_code written as 12345, 12345-6789, or 12345 6789. A physical address cannot be a P.O. box. Businesses and sole proprietorships need a physical address.
Do not use a registered-agent address or an address in a prohibited country as a physical address.
Lead and partner entities
Lead provisions alead entity and one or more partner entities for your program during onboarding. They hold your program’s core accounts. You can read them, but you cannot create or change them. A POST with either type, or a PATCH to one, returns 422. The two types have the same shape.
These entities carry no KYC, OFAC, risk score, identification, documents, or linked entities.
The eligibility block
eligibility has one key for each relationship type: account_holder, minor_account_holder, authorized_signer, and authorized_user. All four are always present. Each has a status of eligible or ineligible and a failed_checks array. Each failed check names the check, the entity_id whose data failed, and a human-readable details. Lead computes eligibility from current data on every read. Eligibility explains how to read and fix each check.
Create and update
POST /v2/entities and PATCH /v2/entities/{entity_id} take the fields on this page, except id, created_at, and fields marked response only. Lead ignores any field it does not recognize and returns no error, so check your field names. For example, if you misspell intended_eligibility on a POST, no eligibility check runs.
Both endpoints require an Idempotency-Key header of up to 255 characters. A request without one, or with one longer than 255 characters or with characters other than printable ASCII, returns 400 headers_invalid with errors[].code idempotency_key_invalid. Lead does not check for duplicate entities, so when you retry a create after a timeout, send the same Idempotency-Key and body. Lead returns the original entity instead of creating a second one. See Idempotency.
A request that breaks a field rule on this page returns 422, with the field in errors[].parameters. See Errors.
PATCH changes only the fields you send:
- Fields you leave out of an object, like
physical_address, keep their stored values. - To add an entry to an array like
additional_documentsorcontact_methods, send the existing entries plus the new one. typeis required and must match the existing entity.- Lead checks the updated entity against
intended_eligibility, either the list you send or the one saved from an earlier request. Send[]to clear the saved list. - Identity changes need a fresh KYC attestation:
- For individuals:
first_name,last_name,date_of_birth,tax_identification, and switchingidentification.typebetweenus_entityandnon_us_entitywhen that adds or removes a tax ID. - For businesses and sole proprietorships:
name,legal_structure, andtax_identification. - If you’ve sent
kycbefore, includekycwith a laterscreened_atin the same request. - If the new
kyc.resultisfailed, the entity failscheck_kyc_status. Ifintended_eligibility, sent or saved, lists a relationship type that needs KYC, thePATCHreturns422 parameters_invalid. Otherwise the update succeeds, andeligibilityshows the failed check until you send apassedresult.
- For individuals:
- Changes to
identification.documentsoradditional_documentsalone, like adding, replacing, or removing a document or linking a file, do not need a new KYC attestation. - Once stored,
kycandofackeep theirresultandscreened_at. APATCHthat removes either returns422.
Coming from the v0 Entity API
Entities keep theirentity_id across versions. An entity you created on v0 is readable and updatable on v2 by its entity_id. v0 stays live until its sunset date, with sandbox time before you have to move.
These are the fields and behaviors that differ:
Document entries you sent through v0 come back in
identification.legacy_documents[] and legacy_additional_documents[], as you sent them, client_document_id included, with country codes in uppercase. identification.documents[] and additional_documents[] hold only the entries you send on v2.

