v1
latestOpenAPI 3.1.02026-08-06236494759.4 KBTransaction Attachments
Upload Transaction Attachment
Endpoint to upload a TransactionAttachment to a Transaction. The first step is to get a temporary URL where to upload the attachment file.
post/business/v2/transactions/{transactionId}/attachments
Path parameters
transactionIdstring required
The Transaction ID.
Example:7bf79328-a7ae-4222-aa54-091ff7f429a7
Response
The returned resource is a single TransactionAttachment.
Example response
{
"attachment_id": "2d65bd5e-3fdf-4002-b166-bde7fb8863fa",
"transaction_id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"file_name": "invoice01.jpg",
"file_extension": ".jpg",
"file_size": 32768,
"content_type": "binary/octet-stream",
"upload_time": "2017-06-01T12:48:40Z",
"compressed_file": {
"file_name": "invoice01_thumb.jpg",
"file_extension": ".jpg",
"file_size": 32768
},
"last_update_time": "2017-06-01T12:48:40Z"
}