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 from a previously completed payment. If you've followed the payments tutorial, you can use a payment ID from there.
info
Unlike transaction activity reports and statements, payment confirmations are returned synchronously — the PDF is included directly in the response body and downloaded to your machine immediately. No email is sent.
Replace {paymentId}, {accountId}, and {apiKey} with your own values.
SandboxProduction
curl -i -X GET \
'https://api-sandbox.equalsmoney.com/v2/payments/{paymentId}/confirmation?accountId={accountId}' \
-H 'Authorization: ApiKey {apiKey}'curl -i -X GET \
'https://api.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.