> For the complete documentation index, see [llms.txt](https://docs.barte.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.barte.com/api-reference/recorrencias/planos-de-assinatura/listar-planos.md).

# Listar Planos

## Listar todos os planos

> Retorna uma lista com todos os planos disponíveis

```json
{"openapi":"3.0.1","info":{"title":"Barte Plans API v2","version":"2.0.0"},"servers":[{"url":"https://api.barte.com"}],"paths":{"/v2/plans":{"get":{"summary":"Listar todos os planos","description":"Retorna uma lista com todos os planos disponíveis","parameters":[{"name":"X-Token-Api","in":"header","required":true,"schema":{"type":"string"},"description":"Token de autenticação da API"}],"responses":{"200":{"description":"Lista de planos retornada com sucesso","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PlanResponse"}}}}},"401":{"description":"Token de API inválido ou ausente"},"500":{"description":"Erro interno do servidor"}}}}},"components":{"schemas":{"PlanResponse":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","description":"UUID único do plano"},"title":{"type":"string","description":"Título do plano"},"description":{"type":"string","description":"Descrição do plano"},"active":{"type":"boolean","description":"Se o plano está ativo"},"bullets":{"type":"array","items":{"$ref":"#/components/schemas/PlanBullet"},"description":"Lista de benefícios do plano"},"values":{"type":"array","items":{"$ref":"#/components/schemas/PlanValue"},"description":"Valores e tipos de cobrança do plano"},"acceptPaymentMethods":{"type":"array","items":{"type":"string","enum":["CREDIT_CARD","BANK_SLIP","PIX"]},"description":"Métodos de pagamento aceitos"}},"required":["uuid","title","description","active","values","acceptPaymentMethods"]},"PlanBullet":{"type":"object","properties":{"title":{"type":"string","description":"Título do benefício (opcional)"},"description":{"type":"string","description":"Descrição do benefício"}},"required":["description"]},"PlanValue":{"type":"object","properties":{"type":{"type":"string","enum":["MONTHLY","YEARLY","SEMESTER"],"description":"Tipo de cobrança do plano"},"value":{"type":"number","format":"double","description":"Valor total do período (calculado automaticamente)"},"valuePerMonth":{"type":"number","format":"double","description":"Valor mensal equivalente"}},"required":["type","valuePerMonth"]}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.barte.com/api-reference/recorrencias/planos-de-assinatura/listar-planos.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
