> ## Documentation Index
> Fetch the complete documentation index at: https://docs.equalsmoney.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate payment confirmation

> Download a PDF confirmation for a specific payment. A payment confirmation includes details about the remitting account, the transfer (including its s

# Payment confirmation

Download a PDF confirmation for a specific payment. A payment confirmation includes details about the remitting account, the transfer (including its status), the recipient, and the payment itself.

## Download a payment confirmation PDF

<Note>
  **GET** `/payments/{paymentId}/confirmation`
</Note>

### Request

Use this request to download a PDF confirmation of a payment. The PDF includes comprehensive details about the payment transaction, including account information, payment status, recipient details, and transfer information.

<Info>
  If you need a comprehensive view of all transaction activity across your accounts, you can [download a transaction activity report in CSV format](/pages/reports/about-reports) instead.
</Info>

You must provide the payment ID and account ID to retrieve the confirmation.

<CodeGroup>
  ```bash Sample request theme={null}
  curl -i -X GET \
    'https://api.equalsmoney.com/payments/12345/confirmation?accountId=F12345' \
    -H 'Authorization: ApiKey YOUR_API_KEY_HERE'
  ```

  ```bash Request structure theme={null}
  curl -i -X GET \
    '{{https://api.equalsmoney.com/payments/{paymentId}/confirmation?accountId={accountId}}}' \
    -H 'Authorization: ApiKey YOUR_API_KEY_HERE'
  ```
</CodeGroup>

#### Request parameters

##### Path parameters

<ParamField body="paymentId" type="integer" required>
  The ID of the payment for which you're downloading the confirmation.

  Allowable values: An existing `paymentId` (>= 1)
</ParamField>

##### Query parameters

<ParamField body="accountId" type="string" required>
  The ID of the account associated with the payment.

  Allowable values: An existing `accountId` (e.g., `F50091`)
</ParamField>

### Response

If your request is successful, you'll receive a `200` response with the payment confirmation PDF file.

The PDF includes:

* Remitting account details
* Transfer information and status
* Recipient details
* Payment details

For more information about this request and its response, [see the API reference](/api-reference/payment-confirmation/download-pdf-confirmation-of-a-payment).
