Skip to main content

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.
You’ll need a paymentId to make this request. You can find this in the response when making a payment.
Unlike statement downloads, this request is synchronous — the PDF is returned directly in the response, not emailed to you.
Replace {paymentId}, {accountId}, and {apiKey} with your own values.
curl -i -X GET \
  'https://api-sandbox.equalsmoney.com/v2/payments/{paymentId}/confirmation?accountId={accountId}' \
  -H 'Authorization: ApiKey {apiKey}'
If your request is successful, you’ll receive a 200 response. The PDF will automatically be downloaded to your machine.