Developer Docs
English
English
Downloads documents attached to a payment operation via efficient streaming. Lets you retrieve large PDFs or attachments without loading the entire file into memory.
The paymentDocumentUuid comes from the payment.documents[] array returned by the operation detail endpoint. The document is streamed using chunked transfer encoding. The response sets Content-Disposition: attachment; filename="<name>"; when no name is available, payment-document.pdf is used as fallback.
OAuth2 security scheme
"/idp/oauth2/token""api"Access to the APITenant identifier that contains the organisation UUID
"1f56c928-7621-44fe-8cda-c211fda0a828""uuid"UUID of the operation
"uuid"UUID of the payment document
"uuid"Document successfully retrieved and streaming. The response body contains
the raw binary content of the document.
Headers:
Content-Type: Specific MIME type of the document "application/octet-stream"Content-Length: Total size of the document in bytes (if known)Transfer-Encoding:"chunked" for streaming