> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upag.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Referência

> Objeto Subconta na API Core

Subcontas (PF ou PJ) criadas sob a conta titular da chave de API.

## Estrutura (consulta)

```json theme={null}
{
  "id": "880e8400-e29b-41d4-a716-446655440000",
  "status": "pending",
  "legalEntity": {
    "id": "990e8400-e29b-41d4-a716-446655440000",
    "type": "individual",
    "status": "under_review",
    "documentType": "cpf",
    "documentNumber": "39053344705",
    "legalName": null,
    "tradingName": null,
    "email": "joao@example.com",
    "phone": { "countryCode": "55", "areaCode": "11", "number": "999998888" }
  },
  "account": {
    "id": "880e8400-e29b-41d4-a716-446655440000",
    "name": "João Silva",
    "status": "pending",
    "bankCode": null,
    "branch": null,
    "number": null,
    "digit": null
  },
  "createdAt": "2026-03-18T10:00:00.000Z",
  "updatedAt": "2026-03-18T10:00:00.000Z"
}
```

## Resposta de criação

Inclui adicionalmente:

* `apiKey` — `{ "id", "secret" (exibido uma vez, prefixo `sk\_`), "permissions" }`
* `paymentMethodConfigurations` — tarifas configuradas na abertura
