# Deposit receipt (/en/docs/conta-digital/endpoints/deposits/get_deposit_receipt)

## GET /transactions/deposit/{depositId}/receipt

`GET https://api.hub.payzu.com.br/api/v1/transactions/deposit/{depositId}/receipt`

Scope: `DEPOSIT_READ`. Returns the deposit receipt as a PDF, base64 encoded.

### Path params

| Field | Type | Required | Details |
| --- | --- | --- | --- |
| `depositId` | string | yes | Deposit identifier. |

### Responses

**200** Receipt.

| Field | Type | Required | Details |
| --- | --- | --- | --- |
| `filename` | string | yes | File name. |
| `contentType` | string | yes | Always `application/pdf`. — `application/pdf` |
| `fileBase64` | string | yes | Receipt PDF, base64 encoded. |

**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. |

**404** Not found, or from another account.

| 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. |