Unique key (UUID recommended) that makes a create request safe to retry by replaying the original response; retained 24h per partner.
Maximum string length: 255
Melio-Sonar-Token
string
Signed MelioSonar session token from the initiating device, used for risk evaluation; invalid or expired tokens return 400 INVALID_SONAR_TOKEN.
Body
application/json
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).
type
enum<string>
required
Entity type discriminator. Only business is supported today.
Available options:
business
name
string
required
Company (doing-business-as) name. Between 3 and 100 characters.
Required string length: 3 - 100
legalName
string
required
Full legal business name as it appears on the tax return. Between 3 and 100 characters.
Required string length: 3 - 100
phoneNumber
string
required
Business phone number. Must contain at least 9 digits.
businessType
enum<string>
required
Available options:
partnership,
sole-proprietorship,
llc,
corporation,
trust,
non-profit,
municipality
taxInfo
object
required
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.
Hide child attributes
contact.firstName
string
required
Minimum string length: 2
contact.lastName
string
required
Minimum string length: 2
address
object
required
Hide child attributes
address.line1
string
required
Street address. Must not be a PO box for the business (physical) address.
address.city
string
required
address.state
string
required
Two-letter US state or territory code (e.g. NY, CA). Must be a recognized USPS abbreviation.
Pattern: ^[A-Za-z]{2}$
address.postalCode
string
required
US ZIP code, 5 or 9 digits, with or without a hyphen before the last 4 (e.g. 10118, 10118-1234).
Pattern: ^\d{5}(-?\d{4})?$
address.line2
string
address.aptNumber
string
address.countryCode
enum<string>
default:US
Available options:
US
legalAddress
object
required
Hide child attributes
legalAddress.line1
string
required
Street address. Must not be a PO box for the business (physical) address.
legalAddress.city
string
required
legalAddress.state
string
required
Two-letter US state or territory code (e.g. NY, CA). Must be a recognized USPS abbreviation.
Pattern: ^[A-Za-z]{2}$
legalAddress.postalCode
string
required
US ZIP code, 5 or 9 digits, with or without a hyphen before the last 4 (e.g. 10118, 10118-1234).
Pattern: ^\d{5}(-?\d{4})?$
legalAddress.line2
string
legalAddress.aptNumber
string
legalAddress.countryCode
enum<string>
default:US
Available options:
US
owner
object
required
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.
Hide child attributes
owner.firstName
string
required
Minimum string length: 2
owner.lastName
string
required
Minimum string length: 2
owner.email
string<email>
required
owner.dateOfBirth
string<date>
required
owner.phoneNumber
string
Optional. When supplied, must contain at least 9 digits.
termsAcceptance
object
required
Your attestation that the business was shown Melio's terms of service in your UI and accepted them. Recorded with the entity and cannot be changed afterwards.
Required: an entity cannot be created without the business accepting the terms of service.
Hide child attributes
termsAcceptance.accepted
enum<boolean>
required
Must be true. A false value is rejected rather than recorded.
Available options:
true
termsAcceptance.acceptedAt
string<date-time>
required
When the business accepted, as recorded in your UI. Must carry a UTC offset - Z or +09:00 - so the instant is unambiguous; a timestamp without one is rejected, because it would be recorded as a different instant than the one the business accepted at. Any timezone is fine. Must also be within the last 90 days and no more than 14 hours ahead of server time, which allows for a skewed clock.
externalId
string
Partner's own id for the entity (unique per partner)
metadata
object
Free-form string key/value pairs stored and returned verbatim, never interpreted by Melio. Up to 500 keys; each key 1 to 40 chars and may not contain square brackets ([], reserved for the metadata[key] filter); value ≤100 chars. The whole object must serialize to at most 128KB of JSON. Filterable via metadata[key].
Hide child attributes
metadata.{key}
string
Maximum string length: 100
website
string
description
string
Response
Entity created.
id
string
required
Opaque entity id (ent_)
type
enum<string>
required
Available options:
business
externalId
string
metadata
object
Free-form string key/value pairs stored and returned verbatim, never interpreted by Melio. Up to 500 keys; each key 1 to 40 chars and may not contain square brackets ([], reserved for the metadata[key] filter); value ≤100 chars. The whole object must serialize to at most 128KB of JSON. Filterable via metadata[key].
Hide child attributes
metadata.{key}
string
Maximum string length: 100
createdAt
string<date-time>
updatedAt
string<date-time>
name
string
legalName
string
businessType
string
taxInfo
object
Hide child attributes
taxInfo.type
enum<string>
Available options:
ein,
ssn,
itin
taxInfo.identifierLast4
string
phoneNumber
string
contact
object
Contact as returned in responses; fields may be absent when the stored record is incomplete.
Hide child attributes
contact.firstName
string
contact.lastName
string
website
string
description
string
address
object
Address as returned in responses; fields may be absent when the stored record is incomplete.
Hide child attributes
address.line1
string
address.line2
string
address.city
string
address.state
string
address.postalCode
string
address.aptNumber
string
address.countryCode
string
legalAddress
object
Address as returned in responses; fields may be absent when the stored record is incomplete.
Hide child attributes
legalAddress.line1
string
legalAddress.line2
string
legalAddress.city
string
legalAddress.state
string
legalAddress.postalCode
string
legalAddress.aptNumber
string
legalAddress.countryCode
string
industry
object
Hide child attributes
industry.naicsCode
string
required
NAICS industry classification code (digits).
Pattern: ^[0-9]+$
industry.name
string
owner
object
Hide child attributes
owner.firstName
string
owner.lastName
string
owner.email
string
termsAcceptance
object
The terms of service acceptance on file for this business. Absent when none has been recorded.
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"Melio Payouts API","colors":{"primary":"#7849ff","light":"#b79eff","dark":"#5f33e6"},"logo":{"light":"https://mintcdn.com/melio/xvWXKzlr8EBNoRDW/images/melio-wordmark.svg?fit=max\u0026auto=format\u0026n=xvWXKzlr8EBNoRDW\u0026q=85\u0026s=64c5b00a44de83a5745e570ecf3d0fc2","dark":"https://mintcdn.com/melio/-5UmKJJuHDVMiDrl/images/melio-wordmark-invert.svg?fit=max\u0026auto=format\u0026n=-5UmKJJuHDVMiDrl\u0026q=85\u0026s=d39c348234f65d6b306ccd6084ebbc01","href":"https://melio.com/"},"favicon":{"light":"https://mintcdn.com/melio/J5BJFv_c5fQarBeJ/images/cropped-Melio_favicon_01-64x64.webp?fit=max\u0026auto=format\u0026n=J5BJFv_c5fQarBeJ\u0026q=85\u0026s=9f502b845554081800303c51cbf82a7c","dark":"https://mintcdn.com/melio/J5BJFv_c5fQarBeJ/images/cropped-Melio_favicon_01-64x64.webp?fit=max\u0026auto=format\u0026n=J5BJFv_c5fQarBeJ\u0026q=85\u0026s=9f502b845554081800303c51cbf82a7c"},"api":{"openapi":"openapi.json","params":{"expanded":"all"},"playground":{"display":"interactive"},"examples":{"defaults":"all","languages":["typescript","python","curl","java","ruby","go"],"prefill":true,"autogenerate":true},"url":"full","mdx":{"auth":{"method":"basic","name":"api-key"},"server":["https://api.staging01.melio.com","https://api.melio.com"]}},"background":{"color":{"dark":"#262D38"}},"navbar":{"links":[{"href":"https://developers.melio.com/contact","label":"Contact us"},{"href":"https://developers.melio.com/sign-in","label":"Log in"}],"primary":{"type":"button","label":"Sign up for beta","href":"https://developers.melio.com/sign-up"}},"seo":{"indexing":"navigable"},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"integrations":{"segment":{"key":"EJ3N2VRhwnd0eFx5CFt1BobojP0OF4GS"}},"markdown":{"schema":true},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"melio","hasAudioNarration":false,"actualSubdomain":"melio","customDomains":["developers.melio.com"],"gitSource":{"type":"github","owner":"melio","repo":"payouts-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae0ec738cfebfdf07ee030c"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af47aa92d65da0928c63ec7","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Documentation","count":32},{"language":"default","tag":"API Reference","count":24},{"language":"default","tag":"Tools","count":10},{"language":"default","tag":"Building with the API","count":8},{"language":"default","tag":"Entities","count":7},{"language":"default","tag":"Core resources","count":6},{"language":"default","tag":"Risk, compliance \u0026 going live","count":6},{"language":"default","tag":"Accounts","count":6},{"language":"default","tag":"Payments","count":6},{"language":"default","tag":"Get started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".sidebar-group-header{font-size:0.9rem!important;font-weight:500!important;letter-spacing:0.01em}#page-title{font-size:2rem;line-height:1.25}#header .eyebrow{font-size:0.7rem!important}#header .prose{font-size:1rem!important}"}],"page":{"pagePath":"api-reference/entities/create-an-entity","slug":"/api-reference/entities/create-an-entity","pageMetadata":{"title":"Create an entity","description":"Creates an entity (a business). A direct partner manages a single entity; a platform partner can create as many as it needs.\n","deprecated":null,"version":null,"openapi":"/openapi.json post /entities","href":"/api-reference/entities/create-an-entity","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Creates an entity (a business). A direct partner manages a single entity; a platform partner can create as many as it needs.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create an entity","description":"Creates an entity (a business). A direct partner manages a single entity; a platform partner can create as many as it needs.\n","deprecated":null,"version":null,"openapi":"/openapi.json post /entities","href":"/api-reference/entities/create-an-entity","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Entities"],"summary":"Create an entity","description":"Creates an entity (a business). A direct partner manages a single entity; a platform partner can create as many as it needs.\n","security":["b5639faf-8b40-437d-9705-dfc1d65c084b"],"parameters":["29e305e1-f6d0-4538-9021-02953a9cd650","2b52b194-5465-49c2-905a-6f3856d4b2d5"],"requestBody":"93dea8bc-dc52-4592-99e2-1712f3e878a9","responses":{"201":"08768a05-4c85-406e-84ac-8d9c6b80b1c5","400":"32bf67f7-7795-4fd1-8a42-0b3c7c36b68c","401":"13371709-3236-43f9-b2f4-3f7d9951cebd","409":"ceda2b75-9570-405e-8932-c6ba7fe3ef39"},"method":"post","type":"path","servers":["11023ec5-d3f9-4571-b97f-e305433ac479","a9b4dcdc-ad19-4ca1-80f3-760819968e97"],"path":"/entities","baseUrlOptions":["https://api.melio.com/v2","https://api.staging01.melio.com/v2"],"title":"Create an entity","codeSamples":[],"requestExampleLanguages":["typescript","python","bash","java","ruby","go"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.type":"business","body.name":"Acme Supplies","body.legalName":"Acme Supplies LLC","body.phoneNumber":"+12125551234","body.businessType":"llc","body.taxInfo.type":"ein","body.taxInfo.identifier":"12-3456789","body.industry.naicsCode":"424410","body.contact.firstName":"Jane","body.contact.lastName":"Doe","body.address.line1":"350 5th Ave","body.address.city":"New York","body.address.state":"NY","body.address.postalCode":"10118","body.legalAddress.line1":"350 5th Ave","body.legalAddress.city":"New York","body.legalAddress.state":"NY","body.legalAddress.postalCode":"10118","body.owner.firstName":"Jane","body.owner.lastName":"Doe","body.owner.email":"[email protected]","body.owner.dateOfBirth":"1985-04-12","body.owner.phoneNumber":"+12125559876","body.termsAcceptance.accepted":true,"body.termsAcceptance.acceptedAt":"2026-09-22T14:31:07Z","body.externalId":"partner-biz-1234","body.website":"https://acmesupplies.com"}],"urlDisplay":"full"},"dependencies":{"parameters":{"29e305e1-f6d0-4538-9021-02953a9cd650":{"name":"Idempotency-Key","in":"header","required":false,"description":"Unique key (UUID recommended) that makes a create request safe to retry by replaying the original response; retained 24h per partner.\n","schema":{"type":"string","maxLength":255,"isRequired":false,"description":"Unique key (UUID recommended) that makes a create request safe to retry by replaying the original response; retained 24h per partner.\n","uniqueKey":"","typeLabel":"string"}},"2b52b194-5465-49c2-905a-6f3856d4b2d5":{"name":"Melio-Sonar-Token","in":"header","required":false,"description":"Signed MelioSonar session token from the initiating device, used for risk evaluation; invalid or expired tokens return 400 INVALID_SONAR_TOKEN.\n","schema":{"type":"string","isRequired":false,"description":"Signed MelioSonar session token from the initiating device, used for risk evaluation; invalid or expired tokens return 400 INVALID_SONAR_TOKEN.\n","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"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).\n","required":["type","name","legalName","phoneNumber","businessType","taxInfo","industry","contact","address","legalAddress","owner","termsAcceptance"],"properties":{"type":{"type":"string","enum":["business"],"description":"Entity type discriminator. Only `business` is supported today.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"Company (doing-business-as) name. Between 3 and 100 characters.","minLength":3,"maxLength":100,"isRequired":true,"uniqueKey":"name","typeLabel":"string"},"legalName":{"type":"string","description":"Full legal business name as it appears on the tax return. Between 3 and 100 characters.","minLength":3,"maxLength":100,"isRequired":true,"uniqueKey":"legalName","typeLabel":"string"},"phoneNumber":{"type":"string","description":"Business phone number. Must contain at least 9 digits.","isRequired":true,"uniqueKey":"phoneNumber","typeLabel":"string"},"businessType":{"type":"string","enum":["partnership","sole-proprietorship","llc","corporation","trust","non-profit","municipality"],"isRequired":true,"uniqueKey":"businessType","typeLabel":"enum\u003cstring>"},"taxInfo":{"type":"object","description":"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.\n","required":["type","identifier"],"properties":{"type":{"type":"string","enum":["ein","ssn","itin"],"isRequired":true,"uniqueKey":"taxInfo.type","typeLabel":"enum\u003cstring>"},"identifier":{"type":"string","description":"9-digit tax identifier, optionally dash-separated (e.g. 12-3456789).","pattern":"^[0-9]{2}-?[0-9]{7}$|^[0-9]{3}-?[0-9]{2}-?[0-9]{4}$","isRequired":true,"uniqueKey":"taxInfo.identifier","typeLabel":"string"}},"isRequired":true,"uniqueKey":"taxInfo","typeLabel":"object"},"industry":{"type":"object","required":["naicsCode"],"properties":{"naicsCode":{"type":"string","description":"NAICS industry classification code (digits).","pattern":"^[0-9]+$","isRequired":true,"uniqueKey":"industry.naicsCode","typeLabel":"string"},"name":{"type":"string","uniqueKey":"industry.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"industry","typeLabel":"object"},"contact":{"type":"object","description":"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.\n","required":["firstName","lastName"],"properties":{"firstName":{"type":"string","minLength":2,"isRequired":true,"uniqueKey":"contact.firstName","typeLabel":"string"},"lastName":{"type":"string","minLength":2,"isRequired":true,"uniqueKey":"contact.lastName","typeLabel":"string"}},"isRequired":true,"uniqueKey":"contact","typeLabel":"object"},"address":{"type":"object","required":["line1","city","state","postalCode"],"properties":{"line1":{"type":"string","description":"Street address. Must not be a PO box for the business (physical) address.\n","isRequired":true,"uniqueKey":"address.line1","typeLabel":"string"},"city":{"type":"string","isRequired":true,"uniqueKey":"address.city","typeLabel":"string"},"state":{"type":"string","description":"Two-letter US state or territory code (e.g. NY, CA). Must be a recognized USPS abbreviation.","pattern":"^[A-Za-z]{2}$","isRequired":true,"uniqueKey":"address.state","typeLabel":"string"},"postalCode":{"type":"string","description":"US ZIP code, 5 or 9 digits, with or without a hyphen before the last 4 (e.g. 10118, 10118-1234).","pattern":"^\\d{5}(-?\\d{4})?$","isRequired":true,"uniqueKey":"address.postalCode","typeLabel":"string"},"line2":{"type":"string","uniqueKey":"address.line2","typeLabel":"string"},"aptNumber":{"type":"string","uniqueKey":"address.aptNumber","typeLabel":"string"},"countryCode":{"type":"string","enum":["US"],"default":"US","uniqueKey":"address.countryCode","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"address","typeLabel":"object"},"legalAddress":{"type":"object","required":["line1","city","state","postalCode"],"properties":{"line1":{"type":"string","description":"Street address. Must not be a PO box for the business (physical) address.\n","isRequired":true,"uniqueKey":"legalAddress.line1","typeLabel":"string"},"city":{"type":"string","isRequired":true,"uniqueKey":"legalAddress.city","typeLabel":"string"},"state":{"type":"string","description":"Two-letter US state or territory code (e.g. NY, CA). Must be a recognized USPS abbreviation.","pattern":"^[A-Za-z]{2}$","isRequired":true,"uniqueKey":"legalAddress.state","typeLabel":"string"},"postalCode":{"type":"string","description":"US ZIP code, 5 or 9 digits, with or without a hyphen before the last 4 (e.g. 10118, 10118-1234).","pattern":"^\\d{5}(-?\\d{4})?$","isRequired":true,"uniqueKey":"legalAddress.postalCode","typeLabel":"string"},"line2":{"type":"string","uniqueKey":"legalAddress.line2","typeLabel":"string"},"aptNumber":{"type":"string","uniqueKey":"legalAddress.aptNumber","typeLabel":"string"},"countryCode":{"type":"string","enum":["US"],"default":"US","uniqueKey":"legalAddress.countryCode","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"legalAddress","typeLabel":"object"},"owner":{"type":"object","description":"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.\n","required":["firstName","lastName","email","dateOfBirth"],"properties":{"firstName":{"type":"string","minLength":2,"isRequired":true,"uniqueKey":"owner.firstName","typeLabel":"string"},"lastName":{"type":"string","minLength":2,"isRequired":true,"uniqueKey":"owner.lastName","typeLabel":"string"},"email":{"type":"string","format":"email","isRequired":true,"uniqueKey":"owner.email","typeLabel":"string\u003cemail>"},"dateOfBirth":{"type":"string","format":"date","isRequired":true,"uniqueKey":"owner.dateOfBirth","typeLabel":"string\u003cdate>"},"phoneNumber":{"type":"string","description":"Optional. When supplied, must contain at least 9 digits.","uniqueKey":"owner.phoneNumber","typeLabel":"string"}},"isRequired":true,"uniqueKey":"owner","typeLabel":"object"},"termsAcceptance":{"type":"object","description":"Your attestation that the business was shown Melio's terms of service in your UI and accepted them. Recorded with the entity and cannot be changed afterwards.\n\nRequired: an entity cannot be created without the business accepting the terms of service.\n","required":["accepted","acceptedAt"],"properties":{"accepted":{"type":"boolean","enum":[true],"description":"Must be `true`. A `false` value is rejected rather than recorded.","isRequired":true,"uniqueKey":"termsAcceptance.accepted","typeLabel":"enum\u003cboolean>"},"acceptedAt":{"type":"string","format":"date-time","description":"When the business accepted, as recorded in your UI. Must carry a UTC offset - `Z` or `+09:00` - so the instant is unambiguous; a timestamp without one is rejected, because it would be recorded as a different instant than the one the business accepted at. Any timezone is fine. Must also be within the last 90 days and no more than 14 hours ahead of server time, which allows for a skewed clock.\n","isRequired":true,"uniqueKey":"termsAcceptance.acceptedAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"termsAcceptance","typeLabel":"object"},"externalId":{"type":"string","description":"Partner's own id for the entity (unique per partner)","uniqueKey":"externalId","typeLabel":"string"},"metadata":{"type":"object","description":"Free-form string key/value pairs stored and returned verbatim, never interpreted by Melio. Up to 500 keys; each key 1 to 40 chars and may not contain square brackets (`[` `]`, reserved for the `metadata[key]` filter); value ≤100 chars. The whole object must serialize to at most 128KB of JSON. Filterable via `metadata[key]`.\n","additionalProperties":{"type":"string","maxLength":100,"uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"maxProperties":500,"uniqueKey":"metadata","typeLabel":"object"},"website":{"type":"string","uniqueKey":"website","typeLabel":"string"},"description":{"type":"string","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"type":"business","externalId":"partner-biz-1234","name":"Acme Supplies","legalName":"Acme Supplies LLC","phoneNumber":"+12125551234","businessType":"llc","taxInfo":{"type":"ein","identifier":"12-3456789"},"industry":{"naicsCode":"424410"},"contact":{"firstName":"Jane","lastName":"Doe"},"website":"https://acmesupplies.com","address":{"line1":"350 5th Ave","city":"New York","state":"NY","postalCode":"10118"},"legalAddress":{"line1":"350 5th Ave","city":"New York","state":"NY","postalCode":"10118"},"owner":{"firstName":"Jane","lastName":"Doe","email":"[email protected]","dateOfBirth":"1985-04-12","phoneNumber":"+12125559876"},"termsAcceptance":{"accepted":true,"acceptedAt":"2026-09-22T14:31:07Z"}},"examples":{"Example":{"title":"Example","value":{"type":"business","externalId":"partner-biz-1234","name":"Acme Supplies","legalName":"Acme Supplies LLC","phoneNumber":"+12125551234","businessType":"llc","taxInfo":{"type":"ein","identifier":"12-3456789"},"industry":{"naicsCode":"424410"},"contact":{"firstName":"Jane","lastName":"Doe"},"website":"https://acmesupplies.com","address":{"line1":"350 5th Ave","city":"New York","state":"NY","postalCode":"10118"},"legalAddress":{"line1":"350 5th Ave","city":"New York","state":"NY","postalCode":"10118"},"owner":{"firstName":"Jane","lastName":"Doe","email":"[email protected]","dateOfBirth":"1985-04-12","phoneNumber":"+12125559876"},"termsAcceptance":{"accepted":true,"acceptedAt":"2026-09-22T14:31:07Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"08768a05-4c85-406e-84ac-8d9c6b80b1c5":{"description":"Entity created.","content":{"application/json":{"schema":{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"Opaque entity id (ent_\u003cuuid>)","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"type":{"type":"string","enum":["business"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"externalId":{"type":"string","uniqueKey":"externalId","typeLabel":"string"},"metadata":{"type":"object","description":"Free-form string key/value pairs stored and returned verbatim, never interpreted by Melio. Up to 500 keys; each key 1 to 40 chars and may not contain square brackets (`[` `]`, reserved for the `metadata[key]` filter); value ≤100 chars. The whole object must serialize to at most 128KB of JSON. Filterable via `metadata[key]`.\n","additionalProperties":{"type":"string","maxLength":100,"uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"maxProperties":500,"uniqueKey":"metadata","typeLabel":"object"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"},"name":{"type":"string","uniqueKey":"name","typeLabel":"string"},"legalName":{"type":"string","uniqueKey":"legalName","typeLabel":"string"},"businessType":{"type":"string","uniqueKey":"businessType","typeLabel":"string"},"taxInfo":{"type":"object","properties":{"type":{"type":"string","enum":["ein","ssn","itin"],"uniqueKey":"taxInfo.type","typeLabel":"enum\u003cstring>"},"identifierLast4":{"type":"string","uniqueKey":"taxInfo.identifierLast4","typeLabel":"string"}},"uniqueKey":"taxInfo","typeLabel":"object"},"phoneNumber":{"type":"string","uniqueKey":"phoneNumber","typeLabel":"string"},"contact":{"type":"object","description":"Contact as returned in responses; fields may be absent when the stored record is incomplete.","properties":{"firstName":{"type":"string","uniqueKey":"contact.firstName","typeLabel":"string"},"lastName":{"type":"string","uniqueKey":"contact.lastName","typeLabel":"string"}},"uniqueKey":"contact","typeLabel":"object"},"website":{"type":"string","uniqueKey":"website","typeLabel":"string"},"description":{"type":"string","uniqueKey":"description","typeLabel":"string"},"address":{"type":"object","description":"Address as returned in responses; fields may be absent when the stored record is incomplete.","properties":{"line1":{"type":"string","uniqueKey":"address.line1","typeLabel":"string"},"line2":{"type":"string","uniqueKey":"address.line2","typeLabel":"string"},"city":{"type":"string","uniqueKey":"address.city","typeLabel":"string"},"state":{"type":"string","uniqueKey":"address.state","typeLabel":"string"},"postalCode":{"type":"string","uniqueKey":"address.postalCode","typeLabel":"string"},"aptNumber":{"type":"string","uniqueKey":"address.aptNumber","typeLabel":"string"},"countryCode":{"type":"string","uniqueKey":"address.countryCode","typeLabel":"string"}},"uniqueKey":"address","typeLabel":"object"},"legalAddress":{"type":"object","description":"Address as returned in responses; fields may be absent when the stored record is incomplete.","properties":{"line1":{"type":"string","uniqueKey":"legalAddress.line1","typeLabel":"string"},"line2":{"type":"string","uniqueKey":"legalAddress.line2","typeLabel":"string"},"city":{"type":"string","uniqueKey":"legalAddress.city","typeLabel":"string"},"state":{"type":"string","uniqueKey":"legalAddress.state","typeLabel":"string"},"postalCode":{"type":"string","uniqueKey":"legalAddress.postalCode","typeLabel":"string"},"aptNumber":{"type":"string","uniqueKey":"legalAddress.aptNumber","typeLabel":"string"},"countryCode":{"type":"string","uniqueKey":"legalAddress.countryCode","typeLabel":"string"}},"uniqueKey":"legalAddress","typeLabel":"object"},"industry":{"type":"object","required":["naicsCode"],"properties":{"naicsCode":{"type":"string","description":"NAICS industry classification code (digits).","pattern":"^[0-9]+$","isRequired":true,"uniqueKey":"industry.naicsCode","typeLabel":"string"},"name":{"type":"string","uniqueKey":"industry.name","typeLabel":"string"}},"uniqueKey":"industry","typeLabel":"object"},"owner":{"type":"object","properties":{"firstName":{"type":"string","uniqueKey":"owner.firstName","typeLabel":"string"},"lastName":{"type":"string","uniqueKey":"owner.lastName","typeLabel":"string"},"email":{"type":"string","uniqueKey":"owner.email","typeLabel":"string"}},"uniqueKey":"owner","typeLabel":"object"},"termsAcceptance":{"type":"object","description":"The terms of service acceptance on file for this business. Absent when none has been recorded.\n","properties":{"acceptedAt":{"type":"string","format":"date-time","uniqueKey":"termsAcceptance.acceptedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"termsAcceptance","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"id":"ent_7c9e6679-7425-40de-944b-e07fc1f90ae7","type":"business","externalId":"partner-biz-1234","createdAt":"2026-07-08T15:00:00Z","updatedAt":"2026-07-08T15:00:00Z","name":"Acme Supplies","legalName":"Acme Supplies LLC","businessType":"llc","taxInfo":{"type":"ein","identifierLast4":"6789"},"phoneNumber":"+12125551234","contact":{"firstName":"Jane","lastName":"Doe"},"website":"https://acmesupplies.com","address":{"line1":"350 5th Ave","city":"New York","state":"NY","postalCode":"10118","countryCode":"US"},"legalAddress":{"line1":"350 5th Ave","city":"New York","state":"NY","postalCode":"10118","countryCode":"US"},"industry":{"naicsCode":"424410"},"owner":{"firstName":"Jane","lastName":"Doe","email":"[email protected]"}},"examples":{"Example":{"title":"Example","value":{"id":"ent_7c9e6679-7425-40de-944b-e07fc1f90ae7","type":"business","externalId":"partner-biz-1234","createdAt":"2026-07-08T15:00:00Z","updatedAt":"2026-07-08T15:00:00Z","name":"Acme Supplies","legalName":"Acme Supplies LLC","businessType":"llc","taxInfo":{"type":"ein","identifierLast4":"6789"},"phoneNumber":"+12125551234","contact":{"firstName":"Jane","lastName":"Doe"},"website":"https://acmesupplies.com","address":{"line1":"350 5th Ave","city":"New York","state":"NY","postalCode":"10118","countryCode":"US"},"legalAddress":{"line1":"350 5th Ave","city":"New York","state":"NY","postalCode":"10118","countryCode":"US"},"industry":{"naicsCode":"424410"},"owner":{"firstName":"Jane","lastName":"Doe","email":"[email protected]"}}}},"exampleType":"examples"}},"exampleType":"examples"},"32bf67f7-7795-4fd1-8a42-0b3c7c36b68c":{"description":"Validation error (includes formation-type / tax-id-type mismatch)","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message"],"properties":{"type":{"type":"string","description":"Coarse, machine-readable error category. Branch on this to handle a whole class of failures without enumerating every `code`.","enum":["invalid_request_error","authentication_error","authorization_error","not_found_error","conflict_error","rate_limit_error","service_unavailable_error","internal_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Machine-readable error code.","enum":["VALIDATION_ERROR","INVALID_ACCOUNT_TYPE","ACCOUNT_NOT_VERIFIED","INVALID_DELIVERY_PREFERENCE","MCC_REQUIRED","MERCHANT_ADDRESS_REQUIRED","GOODS_RECEIVED_REQUIRED","IDEMPOTENCY_KEY_REQUIRED","FEE_CALCULATION_FAILED","UNSUPPORTED_CURRENCY","FX_QUOTE_INVALID","INVALID_SONAR_TOKEN","ATTACHMENT_REQUIRED","COMPLIANCE_UPLOAD_FAILED","ATTACHMENT_UPLOAD_FAILED","INTERNATIONAL_NOT_ENABLED","ENTITY_ONBOARDING_INCOMPLETE","UNAUTHORIZED","IP_NOT_ALLOWED","NOT_FOUND","DUPLICATE_ENTITY","DUPLICATE_ACCOUNT","DUPLICATE_PAYMENT","DUPLICATE_EXTERNAL_ID","ACCOUNT_IN_USE","BUSINESS_NOT_ELIGIBLE","PAYMENT_NOT_EDITABLE","PAYMENT_UPGRADED_BY_RECEIVER","PAYMENT_NOT_CANCELABLE","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_KEY_IN_PROGRESS","IDEMPOTENCY_STORE_UNAVAILABLE","INTERNAL_ERROR"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","description":"Additional error context (e.g. field-level validation failures).","uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request_error","code":"VALIDATION_ERROR","message":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"13371709-3236-43f9-b2f4-3f7d9951cebd":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message"],"properties":{"type":{"type":"string","description":"Coarse, machine-readable error category. Branch on this to handle a whole class of failures without enumerating every `code`.","enum":["invalid_request_error","authentication_error","authorization_error","not_found_error","conflict_error","rate_limit_error","service_unavailable_error","internal_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Machine-readable error code.","enum":["VALIDATION_ERROR","INVALID_ACCOUNT_TYPE","ACCOUNT_NOT_VERIFIED","INVALID_DELIVERY_PREFERENCE","MCC_REQUIRED","MERCHANT_ADDRESS_REQUIRED","GOODS_RECEIVED_REQUIRED","IDEMPOTENCY_KEY_REQUIRED","FEE_CALCULATION_FAILED","UNSUPPORTED_CURRENCY","FX_QUOTE_INVALID","INVALID_SONAR_TOKEN","ATTACHMENT_REQUIRED","COMPLIANCE_UPLOAD_FAILED","ATTACHMENT_UPLOAD_FAILED","INTERNATIONAL_NOT_ENABLED","ENTITY_ONBOARDING_INCOMPLETE","UNAUTHORIZED","IP_NOT_ALLOWED","NOT_FOUND","DUPLICATE_ENTITY","DUPLICATE_ACCOUNT","DUPLICATE_PAYMENT","DUPLICATE_EXTERNAL_ID","ACCOUNT_IN_USE","BUSINESS_NOT_ELIGIBLE","PAYMENT_NOT_EDITABLE","PAYMENT_UPGRADED_BY_RECEIVER","PAYMENT_NOT_CANCELABLE","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_KEY_IN_PROGRESS","IDEMPOTENCY_STORE_UNAVAILABLE","INTERNAL_ERROR"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","description":"Additional error context (e.g. field-level validation failures).","uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request_error","code":"VALIDATION_ERROR","message":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"ceda2b75-9570-405e-8932-c6ba7fe3ef39":{"description":"A direct partner already has an entity (DUPLICATE_ENTITY), the `externalId` is already used by another entity (DUPLICATE_EXTERNAL_ID), or the `Idempotency-Key` was reused with a different body (IDEMPOTENCY_KEY_REUSED) / is still being processed by an earlier request (IDEMPOTENCY_KEY_IN_PROGRESS). On DUPLICATE_EXTERNAL_ID you can retrieve the existing entity with `GET /entities?externalId=\u003cyourId>` and reuse it; this makes retries (e.g. from a queue) safe once the idempotency-key window has elapsed.\n","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message"],"properties":{"type":{"type":"string","description":"Coarse, machine-readable error category. Branch on this to handle a whole class of failures without enumerating every `code`.","enum":["invalid_request_error","authentication_error","authorization_error","not_found_error","conflict_error","rate_limit_error","service_unavailable_error","internal_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Machine-readable error code.","enum":["VALIDATION_ERROR","INVALID_ACCOUNT_TYPE","ACCOUNT_NOT_VERIFIED","INVALID_DELIVERY_PREFERENCE","MCC_REQUIRED","MERCHANT_ADDRESS_REQUIRED","GOODS_RECEIVED_REQUIRED","IDEMPOTENCY_KEY_REQUIRED","FEE_CALCULATION_FAILED","UNSUPPORTED_CURRENCY","FX_QUOTE_INVALID","INVALID_SONAR_TOKEN","ATTACHMENT_REQUIRED","COMPLIANCE_UPLOAD_FAILED","ATTACHMENT_UPLOAD_FAILED","INTERNATIONAL_NOT_ENABLED","ENTITY_ONBOARDING_INCOMPLETE","UNAUTHORIZED","IP_NOT_ALLOWED","NOT_FOUND","DUPLICATE_ENTITY","DUPLICATE_ACCOUNT","DUPLICATE_PAYMENT","DUPLICATE_EXTERNAL_ID","ACCOUNT_IN_USE","BUSINESS_NOT_ELIGIBLE","PAYMENT_NOT_EDITABLE","PAYMENT_UPGRADED_BY_RECEIVER","PAYMENT_NOT_CANCELABLE","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_KEY_IN_PROGRESS","IDEMPOTENCY_STORE_UNAVAILABLE","INTERNAL_ERROR"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","description":"Additional error context (e.g. field-level validation failures).","uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"duplicateEntity":{"title":"duplicateEntity","summary":"Direct partner already has an entity","value":{"error":{"type":"conflict_error","code":"DUPLICATE_ENTITY","message":"Entity already exists; only platform partners may create additional entities"}}},"duplicateExternalId":{"title":"duplicateExternalId","summary":"externalId already in use, recover with GET /entities?externalId=","value":{"error":{"type":"conflict_error","code":"DUPLICATE_EXTERNAL_ID","message":"An entity with externalId 'acme-123' already exists."}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"b5639faf-8b40-437d-9705-dfc1d65c084b":{"ApiKey":{"type":"apiKey","in":"header","name":"api-key","scopes":[],"schemeName":"ApiKey"}}},"servers":{"11023ec5-d3f9-4571-b97f-e305433ac479":{"description":"Production","url":"https://api.melio.com/v2"},"a9b4dcdc-ad19-4ca1-80f3-760819968e97":{"description":"Staging01","url":"https://api.staging01.melio.com/v2"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"api-key","scopes":[],"schemeName":"ApiKey"},"schema":{"title":"api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"api-key"}],"title":"ApiKey"}]},"originalFileLocation":"openapi.json"},"subdomain":"melio","siteName":"Melio Payouts API","title":"Create an entity - Melio Payouts API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-11T07:50:53.750Z","originalFileLocation":"api-reference/entities/create-an-entity.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates an entity (a business). A direct partner manages a single entity; a platform partner can create as many as it needs.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Melio Payouts API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create an entity - Melio Payouts API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates an entity (a business). A direct partner manages a single entity; a platform partner can create as many as it needs.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Melio Payouts API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.melio.com/docs/api-reference/entities/create-an-entity\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://melio.mintlify.site/docs/_mintlify/api/og/v2?division=Entities\u0026amp;title=Create+an+entity\u0026amp;description=Creates+an+entity+%28a+business%29.+A+direct+partner+manages+a+single+entity%3B+a+platform+partner+can+create+as+many+as+it+needs.%0A\u0026amp;theme=840e77e176f335a47137ea1a\u0026amp;signature=14797faa62353be0ad987bf62060bb52e872cba0bb2cd944f1cb03d53ac4eaeb\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create an entity - Melio Payouts API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates an entity (a business). A direct partner manages a single entity; a platform partner can create as many as it needs.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://melio.mintlify.site/docs/_mintlify/api/og/v2?division=Entities\u0026amp;title=Create+an+entity\u0026amp;description=Creates+an+entity+%28a+business%29.+A+direct+partner+manages+a+single+entity%3B+a+platform+partner+can+create+as+many+as+it+needs.%0A\u0026amp;theme=840e77e176f335a47137ea1a\u0026amp;signature=14797faa62353be0ad987bf62060bb52e872cba0bb2cd944f1cb03d53ac4eaeb\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Melio Payouts API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7849ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.melio.com/docs/api-reference/entities/create-an-entity\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/entities/create-an-entity.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.melio.com/#organization\",\"name\":\"Melio Payouts API\",\"url\":\"https://developers.melio.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/melio/xvWXKzlr8EBNoRDW/images/melio-wordmark.svg?fit=max\u0026auto=format\u0026n=xvWXKzlr8EBNoRDW\u0026q=85\u0026s=64c5b00a44de83a5745e570ecf3d0fc2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.melio.com/docs#website\",\"name\":\"Melio Payouts API\",\"url\":\"https://developers.melio.com/docs\",\"publisher\":{\"@id\":\"https://developers.melio.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.melio.com/docs/api-reference/entities/create-an-entity#webpage\",\"url\":\"https://developers.melio.com/docs/api-reference/entities/create-an-entity\",\"name\":\"Create an entity\",\"description\":\"Creates an entity (a business). A direct partner manages a single entity; a platform partner can create as many as it needs.\",\"dateModified\":\"2026-11-11T07:50:53.750Z\",\"isPartOf\":{\"@id\":\"https://developers.melio.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://developers.melio.com/docs/api-reference/entities/create-an-entity#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.melio.com/docs/api-reference/entities/create-an-entity#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Entities\",\"item\":\"https://developers.melio.com/docs/api-reference/entities/list-entities\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create an entity\",\"item\":\"https://developers.melio.com/docs/api-reference/entities/create-an-entity\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.melio.com/docs/api-reference/entities/create-an-entity#apireference\",\"headline\":\"Create an entity\",\"name\":\"Create an entity\",\"description\":\"Creates an entity (a business). A direct partner manages a single entity; a platform partner can create as many as it needs.\",\"url\":\"https://developers.melio.com/docs/api-reference/entities/create-an-entity\",\"mainEntityOfPage\":{\"@id\":\"https://developers.melio.com/docs/api-reference/entities/create-an-entity#webpage\"},\"dateModified\":\"2026-11-11T07:50:53.750Z\",\"publisher\":{\"@id\":\"https://developers.melio.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.melio.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Melio Payouts API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Melio Payouts API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/entities/create-an-entity.md","siteName":"Melio Payouts API","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/Introduction"}]},{"tab":"API Reference","groups":[{"group":"Entities","pages":[{"title":"List entities","description":"Returns your entities, newest first. Use the filters below to narrow the list.","deprecated":null,"version":null,"openapi":"/openapi.json get /entities","href":"/api-reference/entities/list-entities"},{"title":"Create an entity","deprecated":null,"version":null,"openapi":"/openapi.json post /entities","href":"/api-reference/entities/create-an-entity"},{"title":"Get an entity","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json get /entities/{entityId}","href":"/api-reference/entities/get-an-entity"},{"title":"Update an entity","deprecated":null,"version":null,"openapi":"/openapi.json patch /entities/{entityId}","href":"/api-reference/entities/update-an-entity"},{"title":"List beneficial owners","deprecated":null,"version":null,"openapi":"/openapi.json get /entities/{entityId}/beneficial-owners","href":"/api-reference/entities/list-beneficial-owners"},{"title":"Replace beneficial owners","deprecated":null,"version":null,"openapi":"/openapi.json put /entities/{entityId}/beneficial-owners","href":"/api-reference/entities/replace-beneficial-owners"},{"title":"Get limitations","deprecated":null,"version":null,"openapi":"/openapi.json get /limitations","href":"/api-reference/entities/get-limitations"}]},{"group":"Accounts","pages":[{"title":"List accounts","deprecated":null,"version":null,"openapi":"/openapi.json get /accounts","href":"/api-reference/accounts/list-accounts"},{"title":"Create an account","deprecated":null,"version":null,"openapi":"/openapi.json post /accounts","href":"/api-reference/accounts/create-an-account"},{"title":"Create a link to add a Plaid or card account","deprecated":null,"version":null,"openapi":"/openapi.json post /accounts/link","href":"/api-reference/accounts/create-a-link-to-add-a-plaid-or-card-account"},{"title":"Get an account","deprecated":null,"version":null,"openapi":"/openapi.json get /accounts/{accountId}","href":"/api-reference/accounts/get-an-account"},{"title":"Delete an account","deprecated":null,"version":null,"openapi":"/openapi.json delete /accounts/{accountId}","href":"/api-reference/accounts/delete-an-account"},{"title":"Create a link to verify a Plaid account","deprecated":null,"version":null,"openapi":"/openapi.json post /accounts/{accountId}/verify/link","href":"/api-reference/accounts/create-a-link-to-verify-a-plaid-account"}]},{"group":"Attachments","pages":[{"title":"Upload an attachment","deprecated":null,"version":null,"openapi":"/openapi.json post /attachments","href":"/api-reference/attachments/upload-an-attachment"}]},{"group":"Payments","pages":[{"title":"List payments","deprecated":null,"version":null,"openapi":"/openapi.json get /payments","href":"/api-reference/payments/list-payments"},{"title":"Create a payment","deprecated":null,"version":null,"openapi":"/openapi.json post /payments","href":"/api-reference/payments/create-a-payment"},{"title":"Get a payment","deprecated":null,"version":null,"openapi":"/openapi.json get /payments/{paymentId}","href":"/api-reference/payments/get-a-payment"},{"title":"Update a payment","deprecated":null,"version":null,"openapi":"/openapi.json patch /payments/{paymentId}","href":"/api-reference/payments/update-a-payment"},{"title":"Cancel a payment","deprecated":null,"version":null,"openapi":"/openapi.json post /payments/{paymentId}/cancel","href":"/api-reference/payments/cancel-a-payment"},{"title":"Simulate a payment action","deprecated":null,"version":null,"openapi":"/openapi.json post /simulations/payments/{paymentId}/actions","href":"/api-reference/payments/simulate-a-payment-action"}]},{"group":"Tools","pages":[{"title":"Calculate fees","deprecated":null,"version":null,"openapi":"/openapi.json post /tools/fee-calculator","href":"/api-reference/tools/calculate-fees"},{"title":"Quote a currency conversion","deprecated":null,"version":null,"openapi":"/openapi.json post /tools/fx-quote","href":"/api-reference/tools/quote-a-currency-conversion"},{"title":"Check fast payment eligibility","deprecated":null,"version":null,"openapi":"/openapi.json post /tools/fast-payment-eligibility","href":"/api-reference/tools/check-fast-payment-eligibility"},{"title":"Estimate delivery dates","deprecated":null,"version":null,"openapi":"/openapi.json post /tools/delivery-eta","href":"/api-reference/tools/estimate-delivery-dates"}]}]}]},"basePath":"","title":"Create an entity - Melio Payouts API","buildId":"dpl_Aw98ji4XvBsgtZwL1VrkUF9ehFqz","deploymentId":"dpl_Aw98ji4XvBsgtZwL1VrkUF9ehFqz","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CQGbdtm4.js","utils-D88A1f-Z.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-ChqWdz1A.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-yBrxdh_6.js","snippetPresets-BgqDrFJC.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-C2-BijcO.js","ApiExamples-Duxc2rZw.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C7jidOil.js","shallow-xkjpHm-U.js","getApiPlaygroundDisplay-fE3rVpvL.js","CodeSnippet-LgxljKed.js","CodeSnippets-D-pXWDHq.js","getPastedJson-CLRcu-uo.js","icon-Cxirpjgo.js","MethodPill-D49eqY5e.js","DuplicateIcon-CivCz5Rp.js","createIcon-D71qL3f5.js","DynamicMarkdown-BcGRTrw6.js","SectionHeading-DzaqmmSD.js","axios-vUo_bRtp.js","Markdown-CZqUYmMp.js","clsx-B6IZIRsp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-B0ZV6X5T.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-MqLyPtsW.js"]}