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.
Headers
The API supports idempotency for safely retrying requests without accidentally performing the same operation twice.
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