POST v2/{token}/vendedor/pessoajuridica
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
token | string |
Required |
Body Parameters
VendedorPessoaJuridicaRequestName | Description | Type | Additional information |
---|---|---|---|
owner | ProprietarioRequest |
None. |
|
description | string |
None. |
|
fiscal_responsibility | string |
None. |
|
business_name | string |
None. |
|
business_phone | string |
None. |
|
business_email | string |
None. |
|
ein | string |
None. |
|
statement_descriptor | string |
None. |
|
business_opening_date | date |
None. |
|
mcc | string |
None. |
|
revenue | integer |
None. |
|
business_address | Endereco |
None. |
|
owner_address | Endereco |
None. |
Request Formats
application/json, text/json
Sample:
{ "owner": { "first_name": "sample string 1", "last_name": "sample string 2", "email": "sample string 3", "phone_number": "sample string 4", "taxpayer_id": "sample string 5", "birthdate": "2024-11-25T22:39:47.4254852-03:00" }, "description": "sample string 1", "fiscal_responsibility": "sample string 2", "business_name": "sample string 3", "business_phone": "sample string 4", "business_email": "sample string 5", "ein": "sample string 6", "statement_descriptor": "sample string 7", "business_opening_date": "2024-11-25T22:39:47.4254852-03:00", "mcc": "sample string 8", "revenue": 9, "business_address": { "line1": "sample string 1", "line2": "sample string 2", "line3": {}, "neighborhood": "sample string 4", "city": "sample string 5", "state": "sample string 6", "postal_code": "sample string 7", "country_code": "sample string 8" }, "owner_address": { "line1": "sample string 1", "line2": "sample string 2", "line3": {}, "neighborhood": "sample string 4", "city": "sample string 5", "state": "sample string 6", "postal_code": "sample string 7", "country_code": "sample string 8" } }
application/xml, text/xml
Sample:
<VendedorPessoaJuridicaRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoctusPay.Request"> <CNPJ>sample string 6</CNPJ> <DataAbertura>2024-11-25T22:39:47.4254852-03:00</DataAbertura> <Descricao>sample string 1</Descricao> <DescricaoEmpresa>sample string 7</DescricaoEmpresa> <Email>sample string 5</Email> <EnderecoComercial xmlns:d2p1="http://schemas.datacontract.org/2004/07/DoctusPay.Dominio"> <d2p1:Bairro>sample string 4</d2p1:Bairro> <d2p1:CEP>sample string 7</d2p1:CEP> <d2p1:Cidade>sample string 5</d2p1:Cidade> <d2p1:CodigoPais>sample string 8</d2p1:CodigoPais> <d2p1:Complemento /> <d2p1:Estado>sample string 6</d2p1:Estado> <d2p1:Logradouro>sample string 1</d2p1:Logradouro> <d2p1:Numero>sample string 2</d2p1:Numero> </EnderecoComercial> <EnderecoProprietario xmlns:d2p1="http://schemas.datacontract.org/2004/07/DoctusPay.Dominio"> <d2p1:Bairro>sample string 4</d2p1:Bairro> <d2p1:CEP>sample string 7</d2p1:CEP> <d2p1:Cidade>sample string 5</d2p1:Cidade> <d2p1:CodigoPais>sample string 8</d2p1:CodigoPais> <d2p1:Complemento /> <d2p1:Estado>sample string 6</d2p1:Estado> <d2p1:Logradouro>sample string 1</d2p1:Logradouro> <d2p1:Numero>sample string 2</d2p1:Numero> </EnderecoProprietario> <Faturamento>9</Faturamento> <Nome>sample string 3</Nome> <Proprietario xmlns:d2p1="http://schemas.datacontract.org/2004/07/DoctusPay"> <d2p1:CPF>sample string 5</d2p1:CPF> <d2p1:DataNascimento>2024-11-25T22:39:47.4254852-03:00</d2p1:DataNascimento> <d2p1:Email>sample string 3</d2p1:Email> <d2p1:Nome>sample string 1</d2p1:Nome> <d2p1:Sobrenome>sample string 2</d2p1:Sobrenome> <d2p1:Telefone>sample string 4</d2p1:Telefone> </Proprietario> <Telefone>sample string 4</Telefone> <fiscal_responsibility>sample string 2</fiscal_responsibility> <mcc>sample string 8</mcc> </VendedorPessoaJuridicaRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |