v1

latestOpenAPI 3.1.02026-07-24890394.2 KB

Criar representante legal

Cria um representante legal para o onboarding.

post/clients/{onboarding_id}/legal_representatives

Path parameters

onboarding_idstring required

Id da solicitação de cadastro.

Request body

namestring required

Nome completo do representante legal.

emailstring required

E-Mail da empresa.

phonestring required

Telefone do representante legal.

documentNumberstring required

CPF do representante legal.

birthDatestring date required

Data de nascimento do representante legal.

nationalitystring required

Código alpha-2 do país de origem do representante legal.

maritalStatus'single' | 'married' required

Estado civil do representante legal.

identityDocumentNumberstring required

Número do RG ou RNE do representante legal.

identityDocumentIssuingAgencystring

Órgão expedidor do RG ou RNE.

proofOfPowerDueDatestring

Validade do documento de comprovação de poderes.

kind'administrator' | 'attorney' required

Tipo do representante legal.

representationKind'in_isolation' | 'together' required

Tipo de representação.

subscriberKind'required' | 'participate' | 'dont_subscribe' required

Tipo de assinatura.

Response

200

Example response

{
  "data": {
    "id": "b7eba684-abc1-458b-8685-f4ef7a8850a0",
    "type": "legalRepresentative",
    "attributes": {
      "documentNumber": "12233344478",
      "name": "Michael Gary Scott",
      "birthDate": "1962-03-15",
      "nationality": "BR",
      "identityDocumentNumber": "123456789012",
      "identityDocumentIssuingAgency": "SSP",
      "maritalStatus": "single",
      "email": "michael.scott@dunder-mifflin.paper",
      "phone": "11999999999",
      "representationKind": "together",
      "subscriberKind": "required",
      "createdAt": "2024-04-05T14:31:31.855-03:00",
      "updatedAt": "2024-04-05T14:31:32.292-03:00",
      "identityDocument": {
        "data": {
          "id": "2770db90-bdd4-4df3-a391-8c4e583eba1d",
          "type": "file",
          "attributes": {
            "filename": "identity-document.pdf",
            "content": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgID"
          }
        }
      },
      "proofOfPower": {
        "data": {
          "id": "9fe3343c-19bc-4453-a5b4-abccb8485f66",
          "type": "file",
          "attributes": {
            "filename": "proof-of-Power.pdf",
            "content": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgID"
          }
        }
      },
      "pep": {
        "data": {
          "type": "shared",
          "attributes": {
            "kind": "none"
          }
        }
      },
      "address": {
        "data": {
          "type": "address",
          "attributes": {
            "zipCode": "01452002",
            "street": "AV BRIG FARIA LIMA",
            "number": "1355",
            "complement": "ANDAR 15 SALA 5",
            "country": "BR",
            "state": "SP",
            "city": "SÃO PAULO",
            "neighborhood": "JARDIM PAULISTANO"
          }
        }
      }
    }
  }
}