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

# Download a payment confirmation

> Download a PDF confirmation of a payment, including details about the remitting account, the transfer, the recipient, and the payment itself.

# Step 3: Download a PDF confirmation of a payment

Lastly, you can download a payment confirmation in PDF format. This will include details about the remitting account, the transfer (including its status), the recipient, and the payment itself.

<Info>
  You'll need a `paymentId` to make this request. You can find this in the response when [making a payment](/pages/payments/about-payment-creation).
</Info>

<Info>
  Unlike statement downloads, this request is synchronous — the PDF is returned directly in the response, not emailed to you.
</Info>

Replace `{paymentId}`, `{accountId}`, and `{apiKey}` with your own values.

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

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

If your request is successful, you'll receive a `200` response. The PDF will automatically be downloaded to your machine.
