Entities: the legal owners of accounts (a natural person, a corporation, a trust, a joint ownership, a sole proprietorship or a government authority). Entity bodies carry tax ids, birth dates and identification numbers: never log them or the responses that echo them. See https://increase.com/documentation/api/entities.

Functions

create-entity

fn (params: Map): Map
fn (params: Map, opts: Map): Map

POST /entities: create an Entity. params needs structure ("natural_person", "corporation", "joint", "trust", "sole_proprietorship" or "government_authority") and the object of the same name, e.g. natural_person: {name, date_of_birth, address, identification}. Optional: description, supplemental_documents, terms_agreements, third_party_verification, risk_rating.

Example

::increase::entities/create-entity({
  structure: "corporation",
  corporation: {
    name: "National Phonograph Company",
    website: "https://example.com",
    legal_identifier: {category: "us_employer_identification_number", value: "602214076"},
    address: {line1: "33 Liberty Street", city: "New York", state: "NY", zip: "10045", country: "US"},
    beneficial_owners: []
  }
}, {idempotency-key: "entity-acme"})

get-entity

fn (entity-id: Str): Map
fn (entity-id: Str, opts: Map): Map

GET /entities/{entity_id}: retrieve an Entity.

Example

entity ::increase::entities/get-entity("entity_n8y8tnk2p9339ti393yi")
entity.structure
entity.status

list-entities

fn (): Map
fn (params: Map): Map
fn (params: Map, opts: Map): Map

GET /entities: one page of Entities. Filters: "status.in" (active, archived, disabled), "validation_status.in", created_at: {after, before, on_or_after, on_or_before}, idempotency_key, plus limit and cursor.

Example

page ::increase::entities/list-entities({"status.in": ["active"], limit: 25})
map(page.data, %.id)

update-entity

fn (entity-id: Str, params: Map): Map
fn (entity-id: Str, params: Map, opts: Map): Map

PATCH /entities/{entity_id}: update an Entity's details (e.g. corporation, natural_person, risk_rating, third_party_verification, details_confirmed_at).

Example

::increase::entities/update-entity("entity_n8y8tnk2p9339ti393yi", {risk_rating: {rated_at: "2026-11-01T12:00:00Z", rating: "low"}})