> ## Documentation Index
> Fetch the complete documentation index at: https://bmpdocs.moneyp.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# 71 - Create Account

> <p>Scopes:</p>
<b>api.ext api.onboarding.conta.solicitar</b>

Use this request to request an account opening.


## OpenAPI

````yaml post /v1/api/OnboardingContas/ContaSolicitacaoCriacao
openapi: 3.0.1
info:
  title: BMPSPBExt
  description: '<p><strong>Build Number: </strong>#0.0</p>'
  version: v1
servers:
  - url: https://api.ext.dbs.moneyp.dev.br/
    description: Localhost
security:
  - Bearer: []
paths:
  /v1/api/OnboardingContas/ContaSolicitacaoCriacao:
    post:
      tags:
        - ContaSolicitacaoCriacao
      summary: Realizar uma solicitação de abertura de conta.
      description: "<p>Scopes:</p>\r\n<b>api.ext api.onboarding.conta.solicitar</b>"
      parameters:
        - name: IdempotencyKey
          in: header
          required: true
          schema:
            type: string
        - name: IgnoraHandshake
          in: header
          description: (somente em homologação)
          required: true
          schema:
            type: boolean
            default: true
      requestBody:
        content:
          application/json:
            schema:
              allOf:
                - $ref: >-
                    #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.ContaSolicitacaoCriacaoExternaRequest
          text/json:
            schema:
              allOf:
                - $ref: >-
                    #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.ContaSolicitacaoCriacaoExternaRequest
          application/*+json:
            schema:
              allOf:
                - $ref: >-
                    #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.ContaSolicitacaoCriacaoExternaRequest
      responses:
        '200':
          description: Success
        '400':
          description: Erro de negócio
          content:
            application/json:
              schema:
                type: object
                properties:
                  sucesso:
                    type: boolean
                  mensagem:
                    type: string
        '500':
          description: Erro interno do servidor
          content:
            application/json:
              schema:
                type: object
                properties:
                  sucesso:
                    type: boolean
                  mensagem:
                    type: string
components:
  schemas:
    BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.ContaSolicitacaoCriacaoExternaRequest:
      required:
        - contato
        - documentoFederal
        - endereco
        - nome
      type: object
      properties:
        documentoFederal:
          maxLength: 18
          minLength: 1
          type: string
        nome:
          maxLength: 140
          minLength: 1
          type: string
        tipoPessoa:
          maximum: 2
          minimum: 1
          allOf:
            - $ref: '#/components/schemas/BMPSPB.Infra.Enums.TipoPessoa'
          description: "Tipo do titular da conta:\n\t\t\t1 - Pessoa física,\n\t\t\t2 - Pessoa jurídica\n\t\t"
        modeloConta:
          maximum: 2
          minimum: 1
          allOf:
            - $ref: '#/components/schemas/BMPSPB.Infra.Enums.ModeloConta'
          description: "Modelo da conta:\n\t\t\t1 - Movimento,\n\t\t\t2 - Escrow\n\t\t"
        endereco:
          allOf:
            - $ref: >-
                #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.Endereco
        contato:
          allOf:
            - $ref: >-
                #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.Contato
        pf:
          allOf:
            - $ref: >-
                #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.PFRequest
          nullable: true
        pj:
          allOf:
            - $ref: >-
                #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.PJRequest
          nullable: true
        credor:
          allOf:
            - $ref: >-
                #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.CredorRequest
          nullable: true
        controlador:
          allOf:
            - $ref: >-
                #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.ControladorRequest
          nullable: true
      additionalProperties: false
    BMPSPB.Infra.Enums.TipoPessoa:
      enum:
        - 1
        - 2
      type: integer
      description: ''
      format: int32
    BMPSPB.Infra.Enums.ModeloConta:
      enum:
        - 1
        - 2
        - 3
      type: integer
      description: ''
      format: int32
    BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.Endereco:
      required:
        - bairro
        - cep
        - cidade
        - logradouro
        - nroLogradouro
        - uf
      type: object
      properties:
        cep:
          maxLength: 9
          minLength: 8
          type: string
        logradouro:
          maxLength: 100
          minLength: 1
          type: string
        nroLogradouro:
          maxLength: 15
          minLength: 1
          type: string
        bairro:
          maxLength: 50
          minLength: 1
          type: string
        complemento:
          maxLength: 50
          type: string
          nullable: true
        cidade:
          maxLength: 40
          minLength: 1
          type: string
        uf:
          maxLength: 2
          minLength: 2
          type: string
      additionalProperties: false
    BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.Contato:
      required:
        - email
        - telefoneCelular
      type: object
      properties:
        email:
          maxLength: 60
          minLength: 1
          type: string
        telefoneCelular:
          maxLength: 20
          minLength: 1
          type: string
      additionalProperties: false
    BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.PFRequest:
      required:
        - dtNasc
        - genero
        - nacionalidade
        - nomeMae
        - profissao
        - renda
      type: object
      properties:
        outroDocumento:
          maxLength: 20
          type: string
          nullable: true
        dtExpedicaoOutroDocumento:
          type: string
          format: date-time
          nullable: true
        orgaoExpedidorOutroDocumento:
          maxLength: 10
          type: string
          nullable: true
        dtNasc:
          type: string
          format: date-time
        genero:
          type: string
          description: "Opções de gênero:\n\t\t\tF - Feminino,\n\t\t\tM - Masculino,\n\t\t\tO - Outros\n\t\t"
        nacionalidade:
          maxLength: 40
          minLength: 1
          type: string
        estadoCivil:
          maximum: 9
          minimum: 1
          allOf:
            - $ref: '#/components/schemas/BMPSPB.Infra.Enums.EstadoCivil'
          description: "Opções de gênero:\n\t\t\t1 - Solteiro,\n\t\t\t2 - Casado,\n\t\t\t3 - Desquitado,\n\t\t\t4 - Divorciado,\n\t\t\t5 - Separado,\n\t\t\t6 - Viúvo,\n\t\t\t7 - Outros,\n\t\t\t8 - Não informado,\n\t\t\t9 - Vinculado conjugal\n\t\t"
        nomePai:
          maxLength: 60
          type: string
          nullable: true
        nomeMae:
          maxLength: 60
          minLength: 1
          type: string
        nomeConjuge:
          maxLength: 60
          type: string
          nullable: true
        cpfConjuge:
          maxLength: 20
          type: string
          nullable: true
        indicadorPEP:
          maximum: 2
          minimum: 1
          allOf:
            - $ref: '#/components/schemas/BMPSPB.Infra.Enums.IndicadorPEP'
          description: "Indicação de pessoa politicamente exposta:\n\t\t\t1 - Sim,\n\t\t\t2 - Não\n\t\t"
        renda:
          type: number
          format: double
        profissao:
          maxLength: 100
          minLength: 1
          type: string
      additionalProperties: false
    BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.PJRequest:
      required:
        - capitalSocial
        - codigoCnae
        - dtAberturaEmpresa
        - faturamentoAnual
        - socios
      type: object
      properties:
        dtAberturaEmpresa:
          type: string
          format: date-time
        capitalSocial:
          type: number
          format: double
        faturamentoAnual:
          type: number
          format: double
        tipoEmpresa:
          maximum: 9
          minimum: 1
          allOf:
            - $ref: '#/components/schemas/BMPSPB.Infra.Enums.TipoDocumentoEmpresa'
          description: "Opções tipo de empresa:\n\t\t\t1 - MEI,\n\t\t\t2 - Empresário individual,\n\t\t\t3 - Sociedade limitada unipessoal,\n\t\t\t4 - Sociedade empresária limitada,\n\t\t\t5 - Sociedade simples,\n\t\t\t6 - Sociedade anônima,\n\t\t\t7 - Sociedade cooperativa,\n\t\t\t8 - Sociedade de associação privada,\n\t\t\t9 - Condomínio edifício\n\t\t"
        codigoCnae:
          type: string
          format: uuid
        socios:
          type: array
          items:
            $ref: >-
              #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.SocioRequest
      additionalProperties: false
    BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.CredorRequest:
      required:
        - documentoFederal
        - nome
        - prazoOperacao
        - valorOperacao
      type: object
      properties:
        nome:
          maxLength: 150
          minLength: 1
          type: string
        documentoFederal:
          maxLength: 18
          minLength: 1
          type: string
        tipoOperacao:
          maximum: 99
          minimum: 1
          allOf:
            - $ref: '#/components/schemas/BMPSPB.Infra.Enums.TipoOperacao'
          description: "Tipo da operação:\n\t\t\t1 - Empréstimo,\n\t\t\t2 - Garantia,\n\t\t\t3 - Cessão,\n\t\t\t4 - Desconto,\n\t\t\t5 - Limite crédito,\n\t\t\t6 - Antecipação recebíveis,\n\t\t\t99 - Outros\n\t\t"
        prazoOperacao:
          type: string
          format: date-time
        valorOperacao:
          type: number
          format: double
        informacaoAdicional:
          maxLength: 200
          type: string
          nullable: true
      additionalProperties: false
    BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.ControladorRequest:
      required:
        - bairro
        - cep
        - cidade
        - documentoFederal
        - email
        - logradouro
        - nome
        - nroLogradouro
        - telefoneCelular
        - uf
      type: object
      properties:
        documentoFederal:
          maxLength: 18
          minLength: 1
          type: string
        nome:
          maxLength: 150
          minLength: 1
          type: string
        telefoneCelular:
          maxLength: 20
          minLength: 1
          type: string
        email:
          maxLength: 100
          minLength: 1
          type: string
        cep:
          maxLength: 9
          minLength: 8
          type: string
        logradouro:
          maxLength: 100
          minLength: 1
          type: string
        nroLogradouro:
          maxLength: 15
          minLength: 1
          type: string
        bairro:
          maxLength: 100
          minLength: 1
          type: string
        complemento:
          maxLength: 100
          type: string
          nullable: true
        cidade:
          maxLength: 50
          minLength: 1
          type: string
        uf:
          maxLength: 2
          minLength: 2
          type: string
        tipoEmpresa:
          allOf:
            - $ref: '#/components/schemas/BMPSPB.Infra.Enums.TipoEmpresa'
          description: "Tipo da empresa:\n\t\t\t1 - FIDC,\n\t\t\t2 - Factory,\n\t\t\t3 - Securitizadora,\n\t\t\t4 - Outros,\n\t\t\t5 - Titular,\n\t\t\t6 - Credor,\n\t\t\t7 - Administrador,\n\t\t\t8 - Consultoria especializada,\n\t\t\t9 - Agente depositario\n\t\t"
          nullable: true
      additionalProperties: false
    BMPSPB.Infra.Enums.EstadoCivil:
      enum:
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
      type: integer
      description: ''
      format: int32
    BMPSPB.Infra.Enums.IndicadorPEP:
      enum:
        - 1
        - 2
      type: integer
      description: ''
      format: int32
    BMPSPB.Infra.Enums.TipoDocumentoEmpresa:
      enum:
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
      type: integer
      description: ''
      format: int32
    BMPSPB.Domain.Messaging.API.Externa.OnboardingContas.ContaSolicitacaoCriacao.SocioRequest:
      required:
        - bairro
        - cep
        - cidade
        - documentoFederal
        - dtNascimento
        - email
        - estadoCivil
        - genero
        - logradouro
        - nacionalidade
        - nome
        - nomeMae
        - nroLogradouro
        - profissao
        - renda
        - telefoneCelular
        - uf
      type: object
      properties:
        nome:
          maxLength: 100
          minLength: 1
          type: string
        documentoFederal:
          maxLength: 18
          minLength: 1
          type: string
        email:
          maxLength: 100
          minLength: 1
          type: string
        responsabilidade:
          maximum: 3
          minimum: 1
          allOf:
            - $ref: '#/components/schemas/BMPSPB.Infra.Enums.ResponsabilidadeSocio'
          description: "Modelo da conta:\\n\n\t\t\t1 - Sócio,\\n\n\t\t\t2 - Representante legal,\\n\n\t\t\t3 - Procurador\n\t\t"
        telefoneCelular:
          maxLength: 20
          minLength: 1
          type: string
        dtNascimento:
          type: string
          format: date-time
        rg:
          maxLength: 20
          type: string
          nullable: true
        dataEmissao:
          type: string
          format: date-time
          nullable: true
        orgaoExpedidor:
          maxLength: 20
          type: string
          nullable: true
        nomeMae:
          maxLength: 60
          minLength: 1
          type: string
        nomePai:
          maxLength: 60
          type: string
          nullable: true
        estadoCivil:
          maximum: 3
          minimum: 1
          allOf:
            - $ref: '#/components/schemas/BMPSPB.Infra.Enums.EstadoCivil'
          description: "Opções de gênero:\\n\n\t\t\t1 - Solteiro,\\n\n\t\t\t2 - Casado,\\n\n\t\t\t3 - Desquitado,\\n\n\t\t\t4 - Divorciado,\\n\n\t\t\t5 - Separado,\\n\n\t\t\t6 - Viúvo,\\n\n\t\t\t7 - Outros,\\n\n\t\t\t8 - Não informado,\\n\n\t\t\t9 - Vinculado conjugal\n\t\t"
        cep:
          maxLength: 9
          minLength: 8
          type: string
        logradouro:
          maxLength: 100
          minLength: 1
          type: string
        nroLogradouro:
          maxLength: 15
          minLength: 1
          type: string
        bairro:
          maxLength: 100
          minLength: 1
          type: string
        complemento:
          maxLength: 100
          type: string
          nullable: true
        cidade:
          maxLength: 100
          minLength: 1
          type: string
        uf:
          maxLength: 2
          minLength: 2
          type: string
        indicadorPEP:
          maximum: 2
          minimum: 1
          allOf:
            - $ref: '#/components/schemas/BMPSPB.Infra.Enums.IndicadorPEP'
          description: "Indicação de pessoa politicamente exposta:\\n\n\t\t\t1 - Sim,\\n\n\t\t\t2 - Não\n\t\t"
        nomeConjuge:
          maxLength: 60
          type: string
          nullable: true
        cpfConjuge:
          maxLength: 20
          type: string
          nullable: true
        nacionalidade:
          maxLength: 40
          minLength: 1
          type: string
        genero:
          type: string
          description: "Opções de gênero:\\n\n\t\t\tF - Feminino,\\n\n\t\t\tM - Masculino,\\n\n\t\t\tO - Outros\n\t\t"
        profissao:
          maxLength: 100
          minLength: 1
          type: string
        renda:
          type: number
          format: double
      additionalProperties: false
    BMPSPB.Infra.Enums.TipoOperacao:
      enum:
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 99
      type: integer
      description: ''
      format: int32
    BMPSPB.Infra.Enums.TipoEmpresa:
      enum:
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
      type: integer
      description: ''
      format: int32
    BMPSPB.Infra.Enums.ResponsabilidadeSocio:
      enum:
        - 1
        - 2
        - 3
      type: integer
      description: ''
      format: int32
  securitySchemes:
    Bearer:
      type: apiKey
      description: Copie 'Bearer ' + token
      name: Authorization
      in: header

````