> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.mercoa.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mercoa.com/_mcp/server.

# Entity Updated

POST 

An entity was updated

Reference: https://docs.mercoa.com/embedded-ap-ar/api-reference/webhooks/entity-updated

## Request

### Payload

- `eventType` (string, required) — The type of the event.
- `entity` (EntityResponse, required) — The entity involved in the event.
- `updatedByEntityId` (string, required) — The ID of the entity that updated the entity. This will be different from the entityId if the entity was updated by a different entity (e.g. a C2 updating a C3). If the entity was created or updated by an admin, this will be 'admin'.
- `user` (EntityUserResponse, optional) — User who initiated the change.

## Types

### EntityResponse

- `id` (string, required)
- `name` (string, required)
- `email` (string, required)
- `isCustomer` (boolean, required) — True if this entity has a direct relationship with your organization.
- `accountType` (enum, required)
  - Allowed values: `business`, `individual`
- `profile` (ProfileResponse, required)
- `status` (enum, required)
  - Allowed values: `unverified`, `pending`, `resubmit`, `review`, `verified`, `failed`
- `acceptedTos` (boolean, required) — True if this entity has accepted the terms of service.
- `isPayor` (boolean, required) — True if this entity can pay invoices.
- `isPayee` (boolean, required) — True if this entity can receive payments.
- `isNetworkPayor` (boolean, required) — True if this entity is available as a payor to any entity on your platform. Otherwise this entity will only be available as a payor to entities that have a direct relationship with this entity.
- `isNetworkPayee` (boolean, required) — True if this entity is available as a payee to any entity on your platform. Otherwise this entity will only be available as a payee to entities that have a direct relationship with this entity.
- `createdAt` (datetime, required)
- `updatedAt` (datetime, required)
- `foreignId` (string, optional) — The ID used to identify this entity in your system
- `emailTo` (string, optional) — Local-part/username of the email address to which to send invoices to be added to the Invoice Inbox.
- `emailToAlias` (list of string, optional) — Email inbox alias addresses. Used when forwarding emails to the emailTo address from an alias.
- `logo` (string, optional) — URL for the entity logo
- `oatfiStatus` (string, optional) — The OatFi status of this entity
- `oatfiUnderwritingResponse` (map from string to string, optional) — The OatFi underwriting response of this entity
- `metadata` (map from string to string, optional) — Simple key/value metadata associated with this entity. For more complex metadata, use the Metadata API.

### EntityUserResponse

- `id` (string, required)
- `roles` (list of string, required)
- `createdAt` (datetime, required)
- `updatedAt` (datetime, required)
- `foreignId` (string, optional) — The ID used to identify this user in your system.
- `email` (string, optional)
- `name` (string, optional)

### ProfileResponse

- `business` (BusinessProfileResponse, optional) — Will be set if the entity is a business
- `individual` (IndividualProfileResponse, optional) — Will be set if the entity is a individual

### BusinessProfileResponse

- `legalBusinessName` (string, required)
- `taxIDProvided` (boolean, required)
- `email` (string, optional)
- `businessType` (enum, optional)
  - Allowed values: `soleProprietorship`, `unincorporatedAssociation`, `trust`, `publicCorporation`, `privateCorporation`, `llc`, `partnership`, `unincorporatedNonProfit`, `incorporatedNonProfit`
- `phone` (PhoneNumber, optional)
- `doingBusinessAs` (string, optional)
- `website` (string, optional)
- `description` (string, optional)
- `address` (Address, optional)
- `ownersProvided` (boolean, optional) — True if all representatives have been provided for this business.
- `taxId` (TaxID, optional)
- `formationDate` (datetime, optional)
- `industryCodes` (IndustryCodes, optional)
- `averageMonthlyTransactionVolume` (double, optional)
- `averageTransactionSize` (double, optional)
- `maxTransactionSize` (double, optional)

### IndividualProfileResponse

- `name` (FullName, required)
- `birthDateProvided` (boolean, required)
- `governmentIDProvided` (boolean, required)
- `email` (string, optional)
- `phone` (PhoneNumber, optional)
- `address` (Address, optional)

### PhoneNumber

- `countryCode` (string, required)
- `number` (string, required)

### Address

- `addressLine1` (string, required)
- `city` (string, required)
- `stateOrProvince` (string, required) — State or province code. Must be in the format XX.
- `postalCode` (string, required) — Postal code. Must be in the format XXXXX or XXXXX-XXXX.
- `addressLine2` (string, optional)
- `country` (string, optional)

### TaxID

- `ein` (Ein, required)

### IndustryCodes

- `mcc` (string, optional)

### FullName

- `firstName` (string, required)
- `lastName` (string, required)
- `middleName` (string, optional)
- `suffix` (string, optional)

### Ein

- `number` (string, required) — Must be in the format XX-XXXXXXX.