---
title: "Criar conta"
method: POST
path: "/accounts"
---

# Criar conta

`POST /accounts`

## Headers

- `x-client-id` string
- `x-client-secret` string
- `Authorization` string

## Request body

- object
  - `type` 'BUYER' | 'SELLER' | 'ENTERPRISE', required — Tipo de conta a ser criada.
  - `business_category` 'ADULT_CONTENT' | 'ARCHITECTURAL_AND_ENGINEERING' | 'ART_AND_ANTIQUE' | 'BAKERY' | 'BEAUTY_AND_BARBER' | 'BROKER' | 'BUTCHERY' | 'CLOTHING_AND_ACCESSORIES' | 'DENTISTRY' | 'DOOR_TO_DOOR_SALES' | 'EDUCATION' | 'ENTERTAINMENT' | 'FLORIST' | 'FREIGHT_FORWARDER' | 'GENERAL_CONTRACTOR' | 'GOVERNMENT' | 'HEALTH_AND_BEAUTY_SERVICE' | 'HOUSEHOLD_APPLIANCE' | 'HOUSE_HOLD' | 'JEWELRY_AND_WATCH' | 'KEY_CHAIN' | 'LEGAL_SERVICE' | 'LODGING' | 'MEDICAL_SERVICE' | 'NONDURABLE_GOODS' | 'OTHER_SERVICES' | 'PACKAGE_STORE' | 'PERSONAL_TRAINER' | 'PET_SUPPLIES' | 'PHOTOGRAPHY_AND_VIDEO' | 'PODIATRIST_AND_CHIROPODIST' | 'PROFESSIONAL_SERVICE' | 'REAL_ESTATE_AGENT' | 'RELIGION_AND_SPIRITUALITY' | 'REPAIR_SHOPS' | 'RESTAURANT' | 'SHOE_STORE' | 'SUPERMARKET' | 'TAILOR_AND_SEAMSTRESS' | 'TATTOOIST' | 'TELECOMMUNICATION' | 'TRANSPORTATION_SERVICE' | 'VEHICLE_AND_PARTS' | 'VEHICLE_SERVICES' | 'VETERINARY_SERVICE' — Classificação do negócio. ⚠️ **Deve ser informada para todas as contas dos tipo `SELLER` ou `ENTERPRISE`.** ⚠️
  - `email` string, required — E-mail utilizado no login da conta.
  - `person` object, required — Dados do dono da conta ou de um sócio em caso de contas para empresas. Apenas um sócio deverá ser informado para esse caso.
    - `name` string, required — Nome completo do usuário ou do sócio.
    - `birth_date` string, required — Data de nascimento do usuário ou do sócio. Formato a ser informado: `yyyy-mm-dd`
    - `mother_name` string, required — Nome da mãe do dono da conta ou do sócio.
    - `tax_id` string, required — CPF do dono da conta ou do único sócio.
    - `address` object — Objeto contendo as informações do endereço.
      - `street` string, required — Rua do endereço.
      - `number` string, required — Número do endereço.
      - `complement` string — Complemento do endereço.
      - `locality` string, required — Bairro do endereço.
      - `city` string, required — Cidade do endereço.
      - `region_code` string, required — Código do Estado do endereço ([Padrão ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
      - `country` string, required — País do endereço ([Padrão ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3)).
      - `postal_code` string, required — CEP do endereço.
    - `phones` object[] — Contém uma lista de telefones de contato.
      - `country` string, required — Código de operadora do País (DDI).
      - `area` string, required — Código de operadora local (DDD).
      - `number` string, required — Número de telefone.
  - `company` object — Dados de cadastro da empresa em caso de contas para pessoas jurídicas (SELLER). ⚠️ **Obrigatório caso você selecione `type = SELLER`. **⚠️
    - `name` string — Razão Social da empresa.
    - `tax_id` string — CNPJ da empresa.
    - `address` object — Objeto contendo as informações do endereço da empresa.
      - `street` string, required — Rua do endereço.
      - `number` string, required — Número do endereço.
      - `complement` string — Complemento do endereço.
      - `locality` string, required — Bairro do endereço.
      - `city` string, required — Cidade do endereço.
      - `region_code` string, required — Código do Estado do endereço ([Padrão ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
      - `country` string, required — País do endereço ([Padrão ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3)).
      - `postal_code` string, required — CEP do endereço.
    - `phones` object[] — Objeto contendo uma lista de telefones da empresa.
      - `country` string, required — Código de operadora do País (DDI).
      - `area` string, required — Código de operadora local (DDD).
      - `number` string, required — Número de telefone.
  - `tos_acceptance` object, required — Aceite do "termos de aceite" do dono da conta na plataforma do parceiro.
    - `user_ip` string — IP que identifica o dispositivo em que o dono da conta concordou com os termos de aceite na plataforma do parceiro.
    - `date` string — Momento em que o usuário concordou com os termos de aceite na plataforma do parceiro.

## Response `201`

201

- union
  - object
    - `id` string
    - `created_at` string
    - `token` object
      - `token_type` string
      - `access_token` string
      - `expires_in` integer
      - `refresh_token` string
      - `scope` string
    - `type` string
    - `email` string
    - `person` object
      - `birth_date` string
      - `name` string
      - `tax_id` string
      - `mother_name` string
      - `address` object
        - `region_code` string
        - `city` string
        - `postal_code` string
        - `street` string
        - `number` string
        - `complement` string
        - `locality` string
        - `country` string
      - `phones` object[]
        - `area` string
        - `country` string
        - `number` string
    - `tos_acceptance` object
      - `user_ip` string
      - `date` string
  - object
    - `id` string
    - `created_at` string
    - `token` object
      - `token_type` string
      - `access_token` string
      - `expires_in` integer
      - `refresh_token` string
      - `scope` string
    - `type` string
    - `email` string
    - `person` object
      - `birth_date` string
      - `name` string
      - `tax_id` string
      - `mother_name` string
      - `address` object
        - `region_code` string
        - `city` string
        - `postal_code` string
        - `street` string
        - `number` string
        - `complement` string
        - `locality` string
        - `country` string
      - `phones` object[]
        - `area` string
        - `country` string
        - `number` string
    - `company` object
      - `name` string
      - `tax_id` string
      - `address` object
        - `region_code` string
        - `city` string
        - `postal_code` string
        - `street` string
        - `number` string
        - `complement` string
        - `locality` string
        - `country` string
      - `phones` object[]
        - `area` string
        - `country` string
        - `number` string
    - `business_category` string
    - `tos_acceptance` object
      - `user_ip` string
      - `date` string
  - object
    - `id` string
    - `created_at` string
    - `token` object
      - `token_type` string
      - `access_token` string
      - `expires_in` integer
      - `refresh_token` string
      - `scope` string
    - `type` string
    - `email` string
    - `person` object
      - `birth_date` string
      - `name` string
      - `tax_id` string
      - `mother_name` string
      - `address` object
        - `region_code` string
        - `city` string
        - `postal_code` string
        - `street` string
        - `number` string
        - `complement` string
        - `locality` string
        - `country` string
      - `phones` object[]
        - `area` string
        - `country` string
        - `number` string
    - `business_category` string
    - `tos_acceptance` object
      - `user_ip` string
      - `date` string
  - object
    - `id` string
    - `created_at` string
    - `token` object
      - `token_type` string
      - `access_token` string
      - `expires_in` integer
      - `refresh_token` string
      - `scope` string
    - `type` string
    - `email` string
    - `person` object
      - `birth_date` string
      - `name` string
      - `tax_id` string
      - `mother_name` string
      - `address` object
        - `region_code` string
        - `city` string
        - `postal_code` string
        - `street` string
        - `number` string
        - `complement` string
        - `locality` string
        - `country` string
      - `phones` object[]
        - `area` string
        - `country` string
        - `number` string
    - `company` object
      - `name` string
      - `tax_id` string
      - `trade_name` string
      - `address` object
        - `region_code` string
        - `city` string
        - `postal_code` string
        - `street` string
        - `number` string
        - `complement` string
        - `locality` string
        - `country` string
      - `phones` object[]
        - `area` string
        - `country` string
        - `number` string
    - `business_category` string
    - `tos_acceptance` object
      - `user_ip` string
      - `date` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/pagbank/apis/nova-plataforma-sandbox.md) · [All operations](https://skmtc.net/pagbank/apis/nova-plataforma-sandbox/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pagbank/nova-plataforma-sandbox/revisions/05e64f3006ab/schema)
