v2

latestOpenAPI 3.0.3raw.githubusercontent.com2025-01-245593419.2 KB
Attachments

Upload attachment

OAuth scope: attachment.write


Upload an attachment


This endpoint allows you to upload an attachment to be then linked to an external transfer. Valid files are: JPEG, PNG and PDFs. The endpoint is particularly useful when you want to link an attachment to an external transfer via POST /v2/external_transfers and POST /v2/external_transfers/checkout.

Inside Qonto, attachments are files uploaded onto transactions by users. Attachments typically correspond to the invoice or receipt, and are used to justify the transactions from a bookkeeping standpoint.

post/v2/attachments

Headers

X-Qonto-Idempotency-Keystring uuid

The API supports idempotency for safely retrying requests without accidentally performing the same operation twice.

X-Qonto-Staging-Tokenstring

Required only for Sandbox API requests; to get one, please submit the following form: https://getqonto.atlassian.net/servicedesk/customer/portal/5/group/47/create/143.

Response

returns an attachment ID