# 查询余额 (/zh/docs/conta-digital/endpoints/account/get_balance)

## GET /transactions/balance

`GET https://api.hub.payzu.com.br/api/v1/transactions/balance`

Scope: `STATEMENT_READ`. Returns the account available and blocked balance, with the blocked part broken down by reason.

### Responses

**200** Balance.

| Field | Type | Required | Details |
| --- | --- | --- | --- |
| `total` | integer | yes | `available + blocked`. In cents. |
| `available` | integer | yes | Balance available for withdrawals, Pix copy-and-paste payments and refunds. It is the sum of the statement lines. In cents. |
| `blocked` | integer | yes | Balance in the account that cannot be used: the sum of the three fields below. In cents. |
| `blockedBySecurity` | integer | yes | Held by an open MED dispute and by other blocks that are not withdrawals or refunds, such as the amount of a transfer with no result yet. In cents. |
| `blockedByWithdraw` | integer | yes | Held by a withdrawal still being processed. In cents. |
| `blockedByRefund` | integer | yes | Held by a refund still being processed. In cents. |
| `syncedAt` | string | yes | Time of the response. — format: date-time |

**401** Missing, invalid or expired credential.

| Field | Type | Required | Details |
| --- | --- | --- | --- |
| `message` | string | yes | Description in Portuguese, ready to display. It may change at any time. |
| `code` | string | yes | Stable error code. Your system decides what to do based on it. |
| `details` | object | no | Structured error context, when available. |

**403** Not allowed: scope, IP or disabled operation.

| Field | Type | Required | Details |
| --- | --- | --- | --- |
| `message` | string | yes | Description in Portuguese, ready to display. It may change at any time. |
| `code` | string | yes | Stable error code. Your system decides what to do based on it. |
| `details` | object | no | Structured error context, when available. |

**412** A step is missing before this operation.

| Field | Type | Required | Details |
| --- | --- | --- | --- |
| `message` | string | yes | Description in Portuguese, ready to display. It may change at any time. |
| `code` | string | yes | Stable error code. Your system decides what to do based on it. |
| `details` | object | no | Structured error context, when available. |