Create an entity
Creates an entity (a business). A direct partner manages a single entity; a platform partner can create as many as it needs.
Authorizations
Headers
Unique key (UUID recommended) that makes a create request safe to retry by replaying the original response; retained 24h per partner.
255Signed MelioSonar session token from the initiating device, used for risk evaluation; invalid or expired tokens return 403.
Body
The business's own attributes. Allowed tax id types depend on businessType (e.g. corporation/llc/partnership → ein only; sole-proprietorship/trust → ssn or ein).
Entity type discriminator. Only business is supported today.
business Company (doing-business-as) name. Between 3 and 100 characters.
3 - 100Full legal business name as it appears on the tax return. Between 3 and 100 characters.
3 - 100Business phone number. Must contain at least 9 digits.
partnership, sole-proprietorship, llc, corporation, trust, non-profit, municipality Business tax identifier. Allowed type values depend on the business formation type: ein is accepted for every formation type, while ssn is accepted only for sole-proprietorship and trust. itin is retained for backward compatibility but is no longer accepted for any formation type.
Organization-level point of contact (a person). First and last name must be at least 2 characters and contain only letters, spaces, hyphens, dots or commas.
The person who owns the entity (the account owner). Name and date of birth are required and are collected for sanctions screening; the owner must be between 18 and 120 years old. Stricter date-of-birth validation applies when the entity's tax id type is SSN.
Partner's own id for the entity (unique per partner)
Free-form string key/value pairs stored and returned verbatim, never interpreted by Melio. Up to 50 keys; each key 1 to 40 chars and may not contain square brackets ([ ], reserved for the metadata[key] filter); value ≤100 chars. Filterable via metadata[key].
Response
Entity created.
Opaque entity id (ent_)
business Free-form string key/value pairs stored and returned verbatim, never interpreted by Melio. Up to 50 keys; each key 1 to 40 chars and may not contain square brackets ([ ], reserved for the metadata[key] filter); value ≤100 chars. Filterable via metadata[key].
Contact as returned in responses; fields may be absent when the stored record is incomplete.
Address as returned in responses; fields may be absent when the stored record is incomplete.
Address as returned in responses; fields may be absent when the stored record is incomplete.