> 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/guias/passo-a-passo-do-vendedor/3o-pos-pagamento.md).

# 3º - Pós-pagamento

Esta seção aborda tudo o que acontece **após a tentativa de pagamento** de um pedido, link de pagamento ou assinatura.

Aqui você aprende a **confirmar pagamentos**, **acompanhar o status das cobranças** e **executar estornos**, sempre utilizando os fluxos corretos da Barte.

O pós-pagamento é uma etapa crítica para garantir:

* consistência financeira
* conciliação correta
* segurança contra fraudes
* integração confiável com seu sistema

***

### O que você pode fazer nesta seção

#### <i class="fa-diamond">:diamond:</i> Confirmando pagamento via Webhook

Entenda como receber notificações automáticas sempre que uma transação muda de status e como utilizá-las como **fonte de verdade**.

Acessar [Confirmando pagamento via Webhook](https://docs.barte.com/guias/passo-a-passo-do-vendedor/3o-pos-pagamento/confirmando-pagamento-via-webhook.md)

***

#### <i class="fa-diamond">:diamond:</i> Consultando status do Pedido

Aprenda a consultar o estado atual de um pedido ou cobrança via API, utilizando seu `uuid`.

Acessar [Consultando status do Pedido](https://docs.barte.com/guias/passo-a-passo-do-vendedor/3o-pos-pagamento/consultando-status-do-pedido.md)

***

#### <i class="fa-diamond">:diamond:</i> Estorno de um Pedido

Veja como solicitar o estorno total ou parcial de uma cobrança e acompanhar o resultado.

Acessar [Estorno de um Pedido](https://docs.barte.com/guias/passo-a-passo-do-vendedor/3o-pos-pagamento/estorno-parcial-de-um-pedido.md)

***

#### <i class="fa-diamond">:diamond:</i> Consultando um Estorno

Veja como consultar os estornos de uma cobrança pelo array `refunds[]`.

Acessar [Consultando um Estorno](https://docs.barte.com/guias/passo-a-passo-do-vendedor/3o-pos-pagamento/consultando-um-estorno-parcial.md)


---

# 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/guias/passo-a-passo-do-vendedor/3o-pos-pagamento.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.
