# pague.dev: English

## English

### Overview

- [Introduction](https://docs.pague.dev/en/index.md): pague.dev API documentation
- [Webhooks](https://docs.pague.dev/en/api-reference/webhooks.md): Receive real-time notifications about payment events

### Authentication

- [Generate Access Token](https://docs.pague.dev/en/api-reference/auth/token.md): Exchanges your credential's `client_id` and `client_secret` for a short-lived access token. Send the returned token in the `Authorization: Bearer <access_token>` header of subsequent requests.

### Account

- [Get Account Details](https://docs.pague.dev/en/api-reference/account/get.md): Returns the account details, company information, and available balance.

### PIX

- [Create PIX Charge](https://docs.pague.dev/en/api-reference/pix/create.md): Creates an instant PIX charge.

### Withdrawals

- [Create PIX Withdrawal](https://docs.pague.dev/en/api-reference/withdrawals/create.md): Creates a new PIX withdrawal by providing the PIX key and destination account holder details.

### Transactions

- [Get Transaction](https://docs.pague.dev/en/api-reference/transactions/get.md): Returns the details of a specific transaction by its ID.
- [Request Refund](https://docs.pague.dev/en/api-reference/transactions/refund.md): Requests a full refund of the given payment transaction. The refund is asynchronous — confirmation arrives via the `refund_completed` webhook once the PSP processes it.

### Balance Blocks

- [List Balance Blocks](https://docs.pague.dev/en/api-reference/balance-blocks/list.md): Returns the account's balance blocks (MED, judicial, or administrative). Optionally filter by block status.

### Projects

- [Create Project](https://docs.pague.dev/en/api-reference/projects/create.md): Creates a new project.
- [List Projects](https://docs.pague.dev/en/api-reference/projects/list.md): Returns a paginated list of projects.

### Sub-accounts

- [Create Sub-account](https://docs.pague.dev/en/api-reference/sub-accounts/create.md): Creates a sub-account with its own balance, fully independent from the main account balance.
- [List Sub-accounts](https://docs.pague.dev/en/api-reference/sub-accounts/list.md): Returns the sub-accounts of the account.

## OpenAPI Specs

- [openapi.en](/openapi.en.json)
