Attachments are in early access and subject to change. Contact
hi@natural.com for access.
Add a document
SendPOST /attachments as multipart form data with the outgoing transactionId (txn_*) from your transaction history and the file. Include an Idempotency-Key header.
pat_*). A file that is not a valid PDF, PNG, or JPEG is rejected with a 400.
View and remove documents
List documents withGET /attachments?transactionId=txn_…. GET /attachments/{attachmentId}/download returns the file itself, with its content type and filename.
DELETE /attachments/{attachmentId} removes the attachment. Later downloads return not found.
Export document references
UseGET /attachments/export?transactionId=txn_… to get data.filename, data.csvContent, and data.generatedAt. Save csvContent as the named CSV file.
The CSV includes document metadata and stable API paths for retrieving each attachment. These paths require authorization; they are not public download links.
Access
Attachments belong to the business’s outgoingtxn_* and its recorded wallet, regardless of payment rail. Existing read and write permissions apply within that party and wallet scope; read-only callers cannot upload or remove documents. Unpaid Requests are not supported.
Limits
Attached files cannot be replaced. To use a different file, create a new attachment. Validation checks file size and format; it does not scan for malware.