# Charge receipt (/en/docs/conta-digital/endpoints/charges/get_payment_receipt)

## GET /transactions/payment/{paymentId}/receipt

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

Scope: `PAYMENT_READ`. Returns the charge receipt as a PDF, base64 encoded. Only for `PAID` or `REFUNDED` charges.

### Path params

| Field | Type | Required | Details |
| --- | --- | --- | --- |
| `paymentId` | string | yes | Charge 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. |

**422** Business rule refusal.

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