Step 5: 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.

SandboxProduction
Copy
Copied
curl -i -X GET \
  'https://api-sandbox.equalsmoney.com/v2/payments/{paymentId}/confirmation?accountId={accountId}' \
  -H 'Authorization: ApiKey {apiKey}'
Copy
Copied
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 an empty 200 response. The PDF will automatically be downloaded to your browser.

Next