{ "error_code": "validation", "error_description": "Validation error", "fields": { "legal_name": ["The legal name field is required."], "tax_id": ["The tax id must be a valid CNPJ."], "contacts.0.email": ["The contact e-mail field must be a valid email address."] }}
Onboarding
Account Opening Request
API for creating onboarding requests for corporate account (legal entities). To successfully create a corporate account, you must provide at least one administrator and one legal representative.
{ "error_code": "validation", "error_description": "Validation error", "fields": { "legal_name": ["The legal name field is required."], "tax_id": ["The tax id must be a valid CNPJ."], "contacts.0.email": ["The contact e-mail field must be a valid email address."] }}
Company’s tax identification number (CNPJ for Brazilian companies), without formatting.
If country = BR: exactly 14 characters (valid CNPJ), in either format issued by the Receita Federal:
numeric — 14 digits, e.g. 12345678000199;
alphanumeric (issued since July 2026) — letters and digits in the first 12 positions, the 2 check digits always numeric, e.g. 12ABC34501DE35.
If country ≠ BR: max 50 characters
Letters are normalized to upper case, and the mask separators (., / and -) are removed before validation — so 12.abc.345/01de-35 is stored as 12ABC34501DE35. The expected format is still the unformatted one.
Must be unique per parent — a parent cannot have two solicitations with the same tax_id, compared on the normalized value.
Identifier of the merchant (level 1 in the account hierarchy) the solicitation will be created under. When omitted, your own company is used as the parent — which must itself be a merchant. A master/holding account (level 0) has no implicit merchant and must provide a parent_id.The parent_id must belong to your accessible companies and be a merchant; otherwise the request fails with 422.
Unique identifier of the segment. Must reference an existing segment, otherwise the request fails with 422 Unprocessable Entity.
Example: 7
To obtain a valid segment.id, call the List Segments endpoint (GET /v2/register/segments) and use the id of the desired segment. You can also fetch a single segment with GET /v2/register/segments?id={id} to confirm it exists before sending it.
On a 422, fields maps each rejected field to its messages. The key is the path of the field in
the payload you sent — tax_id, address.city, contacts.0.email — so you can show the message
next to the input that caused it. Messages follow the language of the authenticated user.
{ "error_code": "validation", "error_description": "Validation error", "fields": { "legal_name": ["The legal name field is required."], "tax_id": ["The tax id must be a valid CNPJ."], "contacts.0.email": ["The contact e-mail field must be a valid email address."] }}
Configure webhook notifications for onboarding events
Update Webhook
Update existing webhook configuration
List Segments
Retrieve segment IDs to associate with a company
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"WEpayments API","colors":{"primary":"#0070F3","light":"#3B82F6","dark":"#1E40AF"},"logo":{"light":"https://mintcdn.com/wepayments/GK7WnsFFvtF-KM57/logo/light.png?fit=max\u0026auto=format\u0026n=GK7WnsFFvtF-KM57\u0026q=85\u0026s=7fc96daf3fce22b28043ddd60dc04dab","dark":"https://mintcdn.com/wepayments/GK7WnsFFvtF-KM57/logo/dark.png?fit=max\u0026auto=format\u0026n=GK7WnsFFvtF-KM57\u0026q=85\u0026s=7646399133c566139392d17a9aa3a598"},"favicon":"https://mintcdn.com/wepayments/GK7WnsFFvtF-KM57/favicon.png?fit=max\u0026auto=format\u0026n=GK7WnsFFvtF-KM57\u0026q=85\u0026s=9acc6fa7d8d2cb32974438376b9d611b","api":{"mdx":{"auth":{"method":"bearer"},"server":"https://api.sandbox.wepayout.com.br"}},"navbar":{"links":[{"href":"https://app.wepayout.co/#/dashboard","label":"Dashboard"},{"href":"https://wepayments.instatus.com/","label":"Status Page"}],"primary":{"type":"button","label":"Get API Key","href":"https://support.wepayments.com.br/support/legal/api-authentication"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/wepayments"}},"seo":{"metatags":{"canonical":"https://docs.wepayout.co"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"wepayments","hasAudioNarration":false,"actualSubdomain":"wepayments","customDomains":["docs.wepayout.co"],"gitSource":{"type":"gitlab","owner":"wepayout","repo":"docs","projectId":75684596,"deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad665ec88e502fb0aeb6d58","collectionId":"a257797e-6229-4e73-9191-5a18d62ff1aa","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad665ec88e502fb0aeb6d58"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ad665ec88e502fb0aeb6d58","clientVersion":"0.0.4039","searchFilterCounts":[{"language":"default","tag":"API Reference","count":71},{"language":"default","tag":"Payin","count":42},{"language":"default","tag":"Documentation","count":35},{"language":"default","tag":"Pix","count":28},{"language":"default","tag":"Payout","count":26},{"language":"default","tag":"Account","count":22},{"language":"default","tag":"Automatic Pix","count":16},{"language":"default","tag":"Markup","count":14},{"language":"default","tag":"Onboarding","count":11},{"language":"default","tag":"Webhooks","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/account/create","slug":"/api-reference/account/create","pageMetadata":{"title":"Account Opening Request","api":"POST https://api.sandbox.wepayout.com.br/v2/register/companies","description":"API for creating onboarding requests for corporate account (legal entities). To successfully create a corporate account, you must provide at least one administrator and one legal representative.","href":"/api-reference/account/create"},"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: \"API for creating onboarding requests for corporate account (legal entities). To successfully create a corporate account, you must provide at least one administrator and one legal representative.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,Expandable,Heading,Note,ParamField,ResponseField,Table,Tip}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`allowed-roles`,children:`Allowed Roles`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Role`}),_jsx(_components.th,{children:`Required`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`administrator`}),_jsx(_components.td,{children:`✓`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`legal_representative`}),_jsx(_components.td,{children:`✓`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`financial`}),_jsx(_components.td,{children:`✗`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`commercial`}),_jsx(_components.td,{children:`✗`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`compliance`}),_jsx(_components.td,{children:`✗`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsxs(ParamField,{body:`legal_name`,type:`string`,required:true,id:`param-legal-name`,children:[_jsx(_components.p,{children:`Official registered name of the company as it appears in legal documents.`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Min: 1 character`}),`\n`,_jsx(_components.li,{children:`Max: 150 characters`}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`Company X LTDA`})]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`trade_name`,type:`string`,required:true,id:`param-trade-name`,children:[_jsx(_components.p,{children:`Common or commercial name used by the company in business operations.`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Min: 1 character`}),`\n`,_jsx(_components.li,{children:`Max: 150 characters`}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`Company X`})]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`tax_id`,type:`string`,required:true,id:`param-tax-id`,children:[_jsx(_components.p,{children:`Company’s tax identification number (CNPJ for Brazilian companies), without formatting.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`If country = BR: exactly 14 characters (valid CNPJ), in either format issued by the Receita Federal:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`numeric`}),` — 14 digits, e.g. `,_jsx(_components.code,{children:`12345678000199`}),`;`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`alphanumeric`}),` (issued since July 2026) — letters and digits in the first 12 positions, the 2 check digits always numeric, e.g. `,_jsx(_components.code,{children:`12ABC34501DE35`}),`.`]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.li,{children:`If country ≠ BR: max 50 characters`}),`\n`,_jsxs(_components.li,{children:[`Letters are normalized to upper case, and the mask separators (`,_jsx(_components.code,{children:`.`}),`, `,_jsx(_components.code,{children:`/`}),` and `,_jsx(_components.code,{children:`-`}),`) are removed before validation — so `,_jsx(_components.code,{children:`12.abc.345/01de-35`}),` is stored as `,_jsx(_components.code,{children:`12ABC34501DE35`}),`. The expected format is still the unformatted one.`]}),`\n`,_jsxs(_components.li,{children:[`Must be `,_jsx(_components.strong,{children:`unique per parent`}),` — a parent cannot have two solicitations with the same `,_jsx(_components.code,{children:`tax_id`}),`, compared on the normalized value.`]}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`12345678000199`})]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`website`,type:`string`,required:true,id:`param-website`,children:[_jsx(_components.p,{children:`Company’s website.`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Max: 255 characters`}),`\n`,_jsx(_components.li,{children:`Accepted as free text: the API checks only the length, not the URL format.`}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`https://www.companyx.com`})]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`parent_id`,type:`integer`,id:`param-parent-id`,children:[_jsxs(_components.p,{children:[`Identifier of the `,_jsx(_components.strong,{children:`merchant`}),` (level 1 in the account hierarchy) the solicitation will be created under. When omitted, your own company is used as the parent — which must itself be a merchant. A master/holding account (level 0) has no implicit merchant and `,_jsx(_components.strong,{children:`must`}),` provide a `,_jsx(_components.code,{children:`parent_id`}),`.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`parent_id`}),` must belong to your accessible companies and be a merchant; otherwise the request fails with `,_jsx(_components.code,{children:`422`}),`.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`1024`})]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`contacts`,type:`array[object]`,required:true,id:`param-contacts`,children:[_jsx(_components.p,{children:`List of individuals associated with the company, such as administrators, legal representatives, or other relevant roles.`}),_jsxs(Expandable,{title:`Contact Object`,children:[_jsxs(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:[_jsx(_components.p,{children:`Full name of the contact person.`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Min: 1 character`}),`\n`,_jsx(_components.li,{children:`Max: 120 characters`}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`João Silva`})]}),`\n`]})]}),_jsxs(ParamField,{body:`email`,type:`string`,required:true,id:`param-email`,children:[_jsx(_components.p,{children:`Contact’s professional email address.`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Max: 100 characters`}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`joao.silva@companyx.com`})]}),`\n`]})]}),_jsxs(ParamField,{body:`phone`,type:`string`,required:true,id:`param-phone`,children:[_jsx(_components.p,{children:`Contact’s phone number, including country and area code.`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Max: 15 characters`}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`5511999999999`})]}),`\n`]})]}),_jsxs(ParamField,{body:`role`,type:`string`,required:true,id:`param-role`,children:[_jsx(_components.p,{children:`Role of the contact person within the company. Must be one of the allowed roles.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Allowed values: `,_jsx(_components.code,{children:`administrator`}),`, `,_jsx(_components.code,{children:`legal_representative`}),`, `,_jsx(_components.code,{children:`financial`}),`, `,_jsx(_components.code,{children:`commercial`}),`, `,_jsx(_components.code,{children:`compliance`})]}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`administrator`})]}),`\n`]})]}),_jsxs(ParamField,{body:`tax_id`,type:`string`,required:true,id:`param-tax-id-1`,children:[_jsx(_components.p,{children:`Personal tax identification number of the contact (CPF for Brazil), without formatting.`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`If country = BR: max 11 characters (valid CPF)`}),`\n`,_jsx(_components.li,{children:`If country ≠ BR: max 30 characters`}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`12345678909`})]}),`\n`]})]})]})]}),`\n`,_jsxs(ParamField,{body:`address`,type:`object`,required:true,id:`param-address`,children:[_jsx(_components.p,{children:`Company’s main business address.`}),_jsxs(Expandable,{title:`Address Object`,children:[_jsxs(ParamField,{body:`city`,type:`string`,required:true,id:`param-city`,children:[_jsx(_components.p,{children:`City where the company is located.`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Max: 40 characters`}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`São Paulo`})]}),`\n`]})]}),_jsxs(ParamField,{body:`state`,type:`string`,required:true,id:`param-state`,children:[_jsx(_components.p,{children:`State or province where the company is located (ISO code preferred).`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Max: 4 characters`}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`SP`})]}),`\n`]})]}),_jsxs(ParamField,{body:`country`,type:`string`,required:true,id:`param-country`,children:[_jsx(_components.p,{children:`Country code where the company is registered (ISO 3166-1 alpha-2 format).`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Max: 4 characters`}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`BR`})]}),`\n`]})]}),_jsxs(ParamField,{body:`zip_code`,type:`string`,required:true,id:`param-zip-code`,children:[_jsx(_components.p,{children:`Postal code of the company address, without formatting.`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Max: 12 characters`}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`01001000`})]}),`\n`]})]}),_jsxs(ParamField,{body:`street`,type:`string`,required:true,id:`param-street`,children:[_jsx(_components.p,{children:`Street name of the company address.`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Max: 80 characters`}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`Av. Paulista`})]}),`\n`]})]}),_jsxs(ParamField,{body:`number`,type:`string`,id:`param-number`,children:[_jsx(_components.p,{children:`Street number of the company address.`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Max: 10 characters`}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`1000`})]}),`\n`]})]}),_jsxs(ParamField,{body:`complement`,type:`string`,id:`param-complement`,children:[_jsx(_components.p,{children:`Additional address details, such as suite, floor, or unit.`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Max: 80 characters`}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`Conjunto 12`})]}),`\n`]})]})]})]}),`\n`,_jsxs(ParamField,{body:`segment`,type:`object`,id:`param-segment`,children:[_jsx(_components.p,{children:`Optional business segment to associate with the company at creation time. When omitted, the company is created without a segment.`}),_jsx(Expandable,{title:`Segment Object`,children:_jsxs(ParamField,{body:`id`,type:`integer`,id:`param-id`,children:[_jsxs(_components.p,{children:[`Unique identifier of the segment. Must reference an existing segment, otherwise the request fails with `,_jsx(_components.code,{children:`422 Unprocessable Entity`}),`.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`7`})]}),`\n`]})]})})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`To obtain a valid `,_jsx(_components.code,{children:`segment.id`}),`, call the `,_jsx(_components.a,{href:`/api-reference/account/segments/list-segments`,children:`List Segments`}),` endpoint (`,_jsx(_components.code,{children:`GET /v2/register/segments`}),`) and use the `,_jsx(_components.code,{children:`id`}),` of the desired segment. You can also fetch a single segment with `,_jsx(_components.code,{children:`GET /v2/register/segments?id={id}`}),` to confirm it exists before sending it.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`On a `,_jsx(_components.code,{children:`422`}),`, `,_jsx(_components.code,{children:`fields`}),` maps each rejected field to its messages. The key is the path of the field in\nthe payload you sent — `,_jsx(_components.code,{children:`tax_id`}),`, `,_jsx(_components.code,{children:`address.city`}),`, `,_jsx(_components.code,{children:`contacts.0.email`}),` — so you can show the message\nnext to the input that caused it. Messages follow the language of the authenticated user.`]})}),`\n`,_jsxs(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:[_jsx(_components.p,{children:`Unique identifier of the corporate subaccount opening request.`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Format: UUID`}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`339074a8-1834-49c5-af94-4a044248d88d`})]}),`\n`]})]}),`\n`,_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:[_jsx(_components.p,{children:`Current status of the onboarding request.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Default: `,_jsx(_components.code,{children:`pending`})]}),`\n`]})]}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`related-resources`,children:`Related Resources`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Setup Webhook`,icon:`webhook`,href:`/api-reference/account/webhook/webhook-setup`,children:_jsx(_components.p,{children:`Configure webhook notifications for onboarding events`})}),_jsx(Card,{title:`Update Webhook`,icon:`pen-to-square`,href:`/api-reference/account/webhook/webhook-update`,children:_jsx(_components.p,{children:`Update existing webhook configuration`})}),_jsx(Card,{title:`List Segments`,icon:`layer-group`,href:`/api-reference/account/segments/list-segments`,children:_jsx(_components.p,{children:`Retrieve segment IDs to associate with a company`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Account Opening Request","api":"POST https://api.sandbox.wepayout.com.br/v2/register/companies","description":"API for creating onboarding requests for corporate account (legal entities). To successfully create a corporate account, you must provide at least one administrator and one legal representative.","href":"/api-reference/account/create"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[213,231,"pre:`pre`,span:`span`,strong:`strong`,tb"],[350,384,"CodeBlock,Expandable,Heading,Note,ParamField,ResponseExample"],[522,529,"CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expanda"],[732,747,"Example)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingM"],[13816,14952,"_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`201 Created`,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"339074a8-1834-49c5-af94-4a044248d88d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`422 Unprocessable Entity`,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"validation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error_description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Validation error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"legal_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The legal name field is required.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tax_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The tax id must be a valid CNPJ.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"contacts.0.email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The contact e-mail field must be a valid email address.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`related-resources`,children:`Related Resources`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Setup Webhook`,icon:`webhook`,href:`/api-reference/account/webhook/webhook-setup`,children:_jsx(_components.p,{children:`Configure webhook notifications for onboarding events`})}),_jsx(Card,{title:`Update Webhook`,icon:`pen-to-square`,href:`/api-reference/account/webhook/webhook-update`,children:_jsx(_components.p,{children:`Update existing webhook configuration`})}),_jsx(Card,{title:`List Segments`,icon:`layer-group`,href:`/api-reference/account/segments/list-segments`,children:_jsx(_components.p,{children:`Retrieve segment IDs to associate with a company`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}"]]},"mdxExtracts":{"tableOfContents":[{"title":"Allowed Roles","slug":"allowed-roles","depth":2,"children":[]},{"title":"Request Body","slug":"request-body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Related Resources","slug":"related-resources","depth":2,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"201 Created","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"339074a8-1834-49c5-af94-4a044248d88d\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pending\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"422 Unprocessable Entity","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error_code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"validation\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error_description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Validation error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"fields\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"legal_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The legal name field is required.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tax_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The tax id must be a valid CNPJ.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"contacts.0.email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The contact e-mail field must be a valid email address.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Account Opening Request","path":"/v2/register/companies","servers":[{"url":"https://api.sandbox.wepayout.com.br"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"legal_name":[{"type":"string","description":"Official registered name of the company as it appears in legal documents. Min: 1 character Max: 150 characters Example: `Company X LTDA`","required":true}],"trade_name":[{"type":"string","description":"Common or commercial name used by the company in business operations. Min: 1 character Max: 150 characters Example: `Company X`","required":true}],"tax_id":[{"type":"string","description":"Company’s tax identification number (CNPJ for Brazilian companies), without formatting. If country = BR: exactly 14 characters (valid CNPJ), in either format issued by the Receita Federal: numeric — 14 digits, e.g. `12345678000199` ; alphanumeric (issued since July 2026) — letters and digits in the first 12 positions, the 2 check digits always numeric, e.g. `12ABC34501DE35` . If country ≠ BR: max 50 characters Letters are normalized to upper case, and the mask separators ( `.` , `/` and `-` ) are removed before validation — so `12.abc.345/01de-35` is stored as `12ABC34501DE35` . The expected format is still the unformatted one. Must be unique per parent — a parent cannot have two solicitations with the same `tax_id` , compared on the normalized value. Example: `12345678000199`","required":true}],"website":[{"type":"string","description":"Company’s website. Max: 255 characters Accepted as free text: the API checks only the length, not the URL format. Example: `https://www.companyx.com`","required":true}],"parent_id":[{"type":"integer","description":"Identifier of the merchant (level 1 in the account hierarchy) the solicitation will be created under. When omitted, your own company is used as the parent — which must itself be a merchant. A master/holding account (level 0) has no implicit merchant and must provide a `parent_id` . The `parent_id` must belong to your accessible companies and be a merchant; otherwise the request fails with `422` . Example: `1024`"}],"contacts":[{"type":"object","properties":{"name":[{"type":"string","description":"Full name of the contact person. Min: 1 character Max: 120 characters Example: `João Silva`","required":true}],"email":[{"type":"string","description":"Contact’s professional email address. Max: 100 characters Example: `joao.silva@companyx.com`","required":true}],"phone":[{"type":"string","description":"Contact’s phone number, including country and area code. Max: 15 characters Example: `5511999999999`","required":true}],"role":[{"type":"string","description":"Role of the contact person within the company. Must be one of the allowed roles. Allowed values: `administrator` , `legal_representative` , `financial` , `commercial` , `compliance` Example: `administrator`","required":true}],"tax_id":[{"type":"string","description":"Personal tax identification number of the contact (CPF for Brazil), without formatting. If country = BR: max 11 characters (valid CPF) If country ≠ BR: max 30 characters Example: `12345678909`","required":true}]},"description":"List of individuals associated with the company, such as administrators, legal representatives, or other relevant roles.","required":true}],"address":[{"type":"object","properties":{"city":[{"type":"string","description":"City where the company is located. Max: 40 characters Example: `São Paulo`","required":true}],"state":[{"type":"string","description":"State or province where the company is located (ISO code preferred). Max: 4 characters Example: `SP`","required":true}],"country":[{"type":"string","description":"Country code where the company is registered (ISO 3166-1 alpha-2 format). Max: 4 characters Example: `BR`","required":true}],"zip_code":[{"type":"string","description":"Postal code of the company address, without formatting. Max: 12 characters Example: `01001000`","required":true}],"street":[{"type":"string","description":"Street name of the company address. Max: 80 characters Example: `Av. Paulista`","required":true}],"number":[{"type":"string","description":"Street number of the company address. Max: 10 characters Example: `1000`"}],"complement":[{"type":"string","description":"Additional address details, such as suite, floor, or unit. Max: 80 characters Example: `Conjunto 12`"}]},"description":"Company’s main business address.","required":true}],"segment":[{"type":"object","properties":{"id":[{"type":"integer","description":"Unique identifier of the segment. Must reference an existing segment, otherwise the request fails with `422 Unprocessable Entity` . Example: `7`"}]},"description":"Optional business segment to associate with the company at creation time. When omitted, the company is created without a segment."}]}}],"examples":{"example":{"value":{"legal_name":"\u003cstring>","trade_name":"\u003cstring>","tax_id":"\u003cstring>","website":"\u003cstring>","parent_id":123,"contacts":{"name":"\u003cstring>","email":"\u003cstring>","phone":"\u003cstring>","role":"\u003cstring>","tax_id":"\u003cstring>"},"address":{"city":"\u003cstring>","state":"\u003cstring>","country":"\u003cstring>","zip_code":"\u003cstring>","street":"\u003cstring>","number":"\u003cstring>","complement":"\u003cstring>"},"segment":{"id":123}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"id":[{"type":"string","description":"Unique identifier of the corporate subaccount opening request. Format: UUID Example: `339074a8-1834-49c5-af94-4a044248d88d`"}],"status":[{"type":"string","description":"Current status of the onboarding request. Default: `pending`"}]}}],"examples":{"example":{"value":{"id":"\u003cstring>","status":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"wepayments","siteName":"WEpayments API","title":"Account Opening Request - WEpayments API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-07T18:22:05.631Z","originalFileLocation":"api-reference/account/create.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=\"API for creating onboarding requests for corporate account (legal entities). To successfully create a corporate account, you must provide at least one administrator and one legal representative.\">\u003cmeta data-mint-head name=\"application-name\" content=\"WEpayments API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wepayments/qGQxngX3buQQZYlT/_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=\"/mintlify-assets/_mintlify/favicons/wepayments/qGQxngX3buQQZYlT/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wepayments/qGQxngX3buQQZYlT/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/wepayments/qGQxngX3buQQZYlT/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/wepayments/qGQxngX3buQQZYlT/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wepayments/qGQxngX3buQQZYlT/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wepayments/qGQxngX3buQQZYlT/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/wepayments/qGQxngX3buQQZYlT/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/wepayments/qGQxngX3buQQZYlT/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Account Opening Request - WEpayments API\">\u003cmeta data-mint-head property=\"og:description\" content=\"API for creating onboarding requests for corporate account (legal entities). To successfully create a corporate account, you must provide at least one administrator and one legal representative.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"WEpayments API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.wepayout.co/api-reference/account/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://wepayments.mintlify.app/_mintlify/api/og/v2?division=Onboarding\u0026amp;title=Account+Opening+Request\u0026amp;description=API+for+creating+onboarding+requests+for+corporate+account+%28legal+entities%29.+To+successfully+create+a+corporate+account%2C+you+must+provide+at+least+one+administr\u0026amp;theme=cacbf319b9db3ade4bd16632\u0026amp;signature=9fae16e928699a1c0c580be1d6bbe687913aad061b9c4c91e2536d7db9f2a869\">\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=\"Account Opening Request - WEpayments API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"API for creating onboarding requests for corporate account (legal entities). To successfully create a corporate account, you must provide at least one administrator and one legal representative.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://wepayments.mintlify.app/_mintlify/api/og/v2?division=Onboarding\u0026amp;title=Account+Opening+Request\u0026amp;description=API+for+creating+onboarding+requests+for+corporate+account+%28legal+entities%29.+To+successfully+create+a+corporate+account%2C+you+must+provide+at+least+one+administr\u0026amp;theme=cacbf319b9db3ade4bd16632\u0026amp;signature=9fae16e928699a1c0c580be1d6bbe687913aad061b9c4c91e2536d7db9f2a869\">\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=\"/mintlify-assets/_mintlify/favicons/wepayments/qGQxngX3buQQZYlT/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"WEpayments API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0070F3\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.wepayout.co/api-reference/account/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/account/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.wepayout.co/#organization\",\"name\":\"WEpayments API\",\"url\":\"https://docs.wepayout.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/wepayments/GK7WnsFFvtF-KM57/logo/light.png?fit=max\u0026auto=format\u0026n=GK7WnsFFvtF-KM57\u0026q=85\u0026s=7fc96daf3fce22b28043ddd60dc04dab\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.wepayout.co#website\",\"name\":\"WEpayments API\",\"url\":\"https://docs.wepayout.co\",\"publisher\":{\"@id\":\"https://docs.wepayout.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.wepayout.co/api-reference/account/create#webpage\",\"url\":\"https://docs.wepayout.co/api-reference/account/create\",\"name\":\"Account Opening Request\",\"description\":\"API for creating onboarding requests for corporate account (legal entities). To successfully create a corporate account, you must provide at least one administrator and one legal representative.\",\"dateModified\":\"2026-10-07T18:22:05.631Z\",\"isPartOf\":{\"@id\":\"https://docs.wepayout.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.wepayout.co/api-reference/account/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.wepayout.co/api-reference/account/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"WEpayments API\",\"item\":\"https://docs.wepayout.co\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Account Opening Request\",\"item\":\"https://docs.wepayout.co/api-reference/account/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.wepayout.co/api-reference/account/create#apireference\",\"headline\":\"Account Opening Request\",\"name\":\"Account Opening Request\",\"description\":\"API for creating onboarding requests for corporate account (legal entities). To successfully create a corporate account, you must provide at least one administrator and one legal representative.\",\"url\":\"https://docs.wepayout.co/api-reference/account/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.wepayout.co/api-reference/account/create#webpage\"},\"dateModified\":\"2026-10-07T18:22:05.631Z\",\"publisher\":{\"@id\":\"https://docs.wepayout.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.wepayout.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"WEpayments API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"WEpayments API","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/model-context-protocol"}]},{"tab":"API Reference","groups":[{"group":"Account","pages":[{"group":"Onboarding","pages":[{"title":"Account Opening Request","api":"POST https://api.sandbox.wepayout.com.br/v2/register/companies","href":"/api-reference/account/create"},{"title":"List Account Opening Requests","api":"GET /v2/register/companies","description":"Retrieves a list of all account opening requests submitted through the registration process.","href":"/api-reference/account/list-accounts"},{"title":"Get Account Opening Request By ID","api":"GET /v2/register/companies/{id}","href":"/api-reference/account/get-account-by-id"},{"group":"Segments","pages":[{"title":"List Segments","api":"GET /v2/register/segments","href":"/api-reference/account/segments/list-segments"}]},{"group":"Webhook","pages":[{"title":"Setup","api":"POST /v2/register/companies/webhooks","href":"/api-reference/account/webhook/webhook-setup"},{"title":"Query","api":"GET /v2/register/companies/webhooks","href":"/api-reference/account/webhook/webhook-query"},{"title":"Update","api":"PUT /v2/register/companies/webhooks","href":"/api-reference/account/webhook/webhook-update"},{"title":"Remove","api":"DELETE /v2/register/companies/webhooks","href":"/api-reference/account/webhook/webhook-remove"}]},{"group":"Documents","pages":[{"title":"Upload Document","api":"POST /v2/register/companies/{uuid}/documents","href":"/api-reference/account/documents/upload-document"},{"title":"List Documents","api":"GET /v2/register/companies/{uuid}/documents","href":"/api-reference/account/documents/list-documents"}]},{"group":"Signature","pages":[{"title":"Get Signature Link","api":"GET /v2/register/companies/{uuid}/signature/link","href":"/api-reference/account/signature/signature-link"}]}]},{"group":"Pix Keys","pages":[{"title":"List Merchant Pix Keys","api":"GET /v2/register/pix-keys","href":"/api-reference/account/pix-keys/list-pix-keys"}]},{"title":"Get Balance","api":"GET /v2/account/{merchantId}/balance","href":"/api-reference/account/get-balance"},{"title":"Get Balance Specific Day","api":"GET /v2/account/{merchantId}/balance/history","href":"/api-reference/account/get-balance-specific-day"},{"title":"Get Statement","api":"GET /v2/account/{merchantId}/statement","href":"/api-reference/account/get-statement"},{"title":"Change Fee Target Account","api":"POST /v2/account/{merchantId}/fee-target","href":"/api-reference/account/change-fee-target"}]},{"group":"Banks","pages":[{"title":"List Institutions","api":"GET /v2/banks","href":"/api-reference/banks/list-institutions"}]},{"group":"Payin","pages":[{"group":"Pix","pages":[{"group":"Charge","pages":[{"title":"Create Charge (Pix)","api":"POST /v2/payin/payments","href":"/api-reference/cash-in/payin/create-charge-pix"},{"title":"List Charge","api":"GET /v2/payin/payments","href":"/api-reference/cash-in/payin/list-charge"},{"title":"Get Unique Charge","api":"GET /v2/payin/payments/{id}","href":"/api-reference/cash-in/payin/get-unique-charge"},{"title":"Cancel Charges","api":"DELETE /v2/payin/payments/request-multiple-cancel","href":"/api-reference/cash-in/payin/request-multiple-cancel"},{"title":"Cancel Charges by Period","api":"DELETE /v2/payin/payments/request-cancel-by-period","href":"/api-reference/cash-in/payin/cancel-by-period"}]},{"group":"Refund","pages":[{"title":"Create Refund","api":"POST /v2/payin/payments/payin-refund/{id}","href":"/api-reference/cash-in/refund/create-refund"},{"title":"Get Unique Refund","api":"GET /v1/payin/payments/payin-refund/{refundId}","href":"/api-reference/cash-in/refund/get-unique-refund"}]},{"group":"Webhooks","pages":[{"title":"Resend Payin Webhooks (Bulk)","api":"POST /v2/payin/notifications/resend","href":"/api-reference/cash-in/webhooks/resend-bulk"},{"title":"Resend Job Status","api":"GET /v2/payin/notifications/resend/{jobId}","href":"/api-reference/cash-in/webhooks/resend-bulk-status"}]},{"group":"Automatic Pix","pages":[{"group":"Authorizations","pages":[{"title":"Create Authorization","api":"POST /v2/payin/payments","href":"/api-reference/automatic-pix/authorizations/create"},{"title":"List Authorizations","api":"GET /v2/automatic-pix/authorizations","href":"/api-reference/automatic-pix/authorizations/list"},{"title":"Get Authorization","api":"GET /v2/automatic-pix/authorizations/{id}","href":"/api-reference/automatic-pix/authorizations/get"},{"title":"Update Authorization","api":"PATCH /v2/automatic-pix/authorizations/{id}","href":"/api-reference/automatic-pix/authorizations/update"},{"title":"Cancel Authorization","api":"DELETE /v2/automatic-pix/authorizations/{id}","href":"/api-reference/automatic-pix/authorizations/cancel"}]},{"group":"Schedules","pages":[{"title":"List Schedules","api":"GET /v2/automatic-pix/schedules","href":"/api-reference/automatic-pix/schedules/list"},{"title":"Get Schedule","api":"GET /v2/automatic-pix/schedules/{id}","href":"/api-reference/automatic-pix/schedules/get"},{"title":"Update Schedule","api":"PATCH /v2/automatic-pix/schedules/{id}","href":"/api-reference/automatic-pix/schedules/update"},{"title":"Cancel Schedule","api":"DELETE /v2/automatic-pix/schedules/{id}","href":"/api-reference/automatic-pix/schedules/cancel"}]},{"group":"Webhooks","pages":[{"title":"List Authorization History Webhooks","api":"GET /v2/automatic-pix/webhooks/authorization-history/{id}","href":"/api-reference/automatic-pix/webhooks/list-authorization-history"},{"title":"Resend Authorization Webhook","api":"POST /v2/automatic-pix/webhooks/authorization-history/{id}/resend","href":"/api-reference/automatic-pix/webhooks/resend-authorization-history"},{"title":"List Schedule Webhooks","api":"GET /v2/automatic-pix/webhooks/schedule/{id}","href":"/api-reference/automatic-pix/webhooks/list-schedule"},{"title":"Resend Schedule Webhook","api":"POST /v2/automatic-pix/webhooks/schedule/resend/{historyId}","href":"/api-reference/automatic-pix/webhooks/resend-schedule"}]}]}]},{"group":"Bank Slip","pages":[{"title":"Create Charge (Bank Slip)","api":"POST /v2/payin/payments","href":"/api-reference/cash-in/payin/create-charge-bank-slip"}]},{"group":"CreditCard","pages":[{"title":"Create Charge","api":"POST /v1/payin/payments/credit-card","href":"/api-reference/credit-card/create-charge"}]}]},{"group":"Payout","pages":[{"group":"Payout","pages":[{"title":"Create Payment","api":"POST /v2/payout/payments","href":"/api-reference/cash-out/payout/create-payment"},{"title":"List Payment","api":"GET /v2/payout/payments","href":"/api-reference/cash-out/payout/list-payment"},{"title":"Get Unique Payment","api":"GET /v2/payout/payments/{id}","href":"/api-reference/cash-out/payout/get-unique-payment"},{"title":"Create Transfer","api":"POST /v2/payout/transfers","href":"/api-reference/cash-out/payout/create-transfer"},{"title":"Decode QR Code","api":"POST /v2/payout/qrcode-decode","href":"/api-reference/cash-out/payout/decode-qr-code"}]},{"group":"Webhooks","pages":[{"title":"Resend Payout Webhooks (Bulk)","api":"POST /v2/payout/notifications/resend","href":"/api-reference/cash-out/webhooks/resend-bulk"},{"title":"Resend Job Status","api":"GET /v2/payout/notifications/resend/{jobId}","href":"/api-reference/cash-out/webhooks/resend-bulk-status"}]},{"group":"Data Qualification","pages":[{"title":"Get Data Qualification Services","api":"GET /v1/payout/data-qualification/services","href":"/api-reference/data-qualification/get-services"},{"title":"Create Data Qualification","api":"POST /v1/payout/data-qualification","href":"/api-reference/data-qualification/create-data-qualification"},{"title":"List Data Qualifications","api":"GET /v1/payout/data-qualification","href":"/api-reference/data-qualification/list-data-qualification"},{"title":"Get Data Qualification By ID","api":"GET /v1/payout/data-qualification/{id}","href":"/api-reference/data-qualification/get-by-id"},{"title":"Get Data Qualification Statuses","api":"GET /v1/payout/data-qualification/status","href":"/api-reference/data-qualification/get-status"},{"title":"Get Data Qualification By Custom Code","api":"GET /v1/payout/data-qualification/custom-code/{customCode}","href":"/api-reference/data-qualification/get-by-custom-code"}]}]},{"group":"KYC","pages":[{"title":"KYC Webhook","icon":"webhook","href":"/api-reference/kyc/webhook"},{"title":"List KYC","api":"GET /v1/kyc","href":"/api-reference/kyc/list-kyc"},{"title":"Get KYC By ID","api":"GET /v1/kyc/{id}","href":"/api-reference/kyc/get"},{"title":"Get KYC By Document","api":"POST /v1/kyc/document/{cpf_or_cnpj}","href":"/api-reference/kyc/get-by-document"},{"title":"Submit Document For KYC","api":"POST /v1/kyc/documents/{documentId}/update","href":"/api-reference/kyc/submit-document"}]},{"group":"Markup","pages":[{"group":"Account","pages":[{"title":"Create Merchant Markup Configuration","api":"POST https://api.sandbox.wepayout.com.br/v2/account/markup","href":"/api-reference/markup/account/create-merchant-markup"},{"title":"Update Merchant Markup Configuration","api":"PATCH https://api.sandbox.wepayout.com.br/v2/account/markup/{markupId}","href":"/api-reference/markup/account/update-merchant-markup"},{"title":"List Merchant Markups Configuration","api":"GET https://api.sandbox.wepayout.com.br/v2/account/markups","href":"/api-reference/markup/account/list-merchant-markups"}]},{"group":"Submerchant","pages":[{"title":"List Submerchant Markups","api":"GET https://api.sandbox.wepayout.com.br/v2/account/{merchantId}/submerchants/markups","href":"/api-reference/markup/submerchant/list-submerchant-markups"},{"title":"Get Submerchant Markup","api":"GET https://api.sandbox.wepayout.com.br/v2/account/{merchantId}/submerchants/{subMerchantId}/markups","href":"/api-reference/markup/submerchant/get-submerchant-markup"},{"title":"Configure Submerchant Markup","api":"PUT https://api.sandbox.wepayout.com.br/v2/account/{merchantId}/submerchants/{subMerchantId}/markups","href":"/api-reference/markup/submerchant/upsert-submerchant-markup"},{"title":"Remove Submerchant Markup","api":"DELETE https://api.sandbox.wepayout.com.br/v2/account/{merchantId}/submerchants/{subMerchantId}/markups","href":"/api-reference/markup/submerchant/delete-submerchant-markup"},{"title":"Batch Apply Submerchant Markup","api":"POST https://api.sandbox.wepayout.com.br/v2/account/{merchantId}/submerchants/markups/batch","href":"/api-reference/markup/submerchant/batch-apply-submerchant-markup"}]},{"group":"Payin","pages":[{"title":"Create Payin with Inline Markup","api":"POST https://api.sandbox.wepayout.com.br/v2/payin/payments","href":"/api-reference/markup/payin/create-payin-with-inline-markup"},{"title":"Create Payin with Global Markup","api":"POST https://api.sandbox.wepayout.com.br/v2/payin/payments","href":"/api-reference/markup/payin/create-payin-with-global-markup"}]},{"group":"Payout","pages":[{"title":"Create Payout with Inline Markup","api":"POST https://api.sandbox.wepayout.com.br/v2/payout/payments","href":"/api-reference/markup/payout/create-payout-with-inline-markup"},{"title":"Create Payout with Global Markup","api":"POST https://api.sandbox.wepayout.com.br/v2/payout/payments","href":"/api-reference/markup/payout/create-payout-with-global-markup"}]}]}]}]},"basePath":"","title":"Account Opening Request - WEpayments API","buildId":"dpl_77Hw7ZuAABM8E3WMbYAf2ohQCr3v","deploymentId":"dpl_77Hw7ZuAABM8E3WMbYAf2ohQCr3v","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CVpqyvFO.js","utils-vpweLD0v.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BIOodqb0.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B1LM3qmu.js","snippetPresets-C5xK0GtN.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CCsxLnQl.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C2-WKG22.js","shallow-SdoLUC-q.js","getApiPlaygroundDisplay-BnI8L2hB.js","CodeSnippet-D5M8NCHI.js","CodeSnippets-CXRO8Uom.js","Page-CN9QbZiA.js","getPastedJson-CrfHEdRt.js","icon-Cr8AyUnW.js","MethodPill-J_Cs0kNw.js","DuplicateIcon-DrMboxGw.js","createIcon-B4CIWVbU.js","DynamicMarkdown-D9cdbgj9.js","SectionHeading-BO4CouT0.js","axios-vUo_bRtp.js"]}