Retrieve proof of payment

Download the proof of payment attached to an invoice.

This endpoint returns the file itself, not JSON. The response body is the raw document, with Content-Type set to the file's MIME type and Content-Disposition naming it as an attachment. Check proof_of_payment_file_id on the invoice object to tell whether one is attached before calling.

Invoicing is opt-in per organization: unless the invoicing feature flag is enabled for your organization this endpoint returns 403.

Path Params
string
required

Must be a UUID. The unique identifier of the invoice.

Headers
string
enum
Defaults to application/octet-stream

Generated from available response content types

Allowed:
Responses

403

Invoicing is not enabled for the organization, or the caller is missing the invoices:read permission.

404

The invoice has no proof of payment attached, or no such invoice, or the caller's user group does not grant access to its policy.

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/octet-stream
application/pdf
image/png
image/jpeg