v1
latestOpenAPI 3.1.02026-08-06236494759.4 KBWebhooks
Transaction Attachments
Transaction Attachment - Upload Completed
An attachment is uploaded to a Transaction.
postWebhookupload_completed
Headers
X-Soldo-Fingerprintstring required
Webhook authentication: SHA512SUM of the fingerprint values listed in the fingerprint order for this webhook.
Example:{{fingerprint}}
X-Soldo-Fingerprint-Orderstring required
Webhook authentication: The order of the values used to calculate the fingerprint.
Example:attachmentId, transactionId, fileName
X-Soldo-Fingerprint-Signaturestring required
Webhook authentication: Signature of the X-Soldo-Fingerprint. It must be verified using the Soldo public key.
Example:{{fingerprint_signature}}
Payload
Example payload
{
"event_uuid": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"company_account_id": "XMPL1234",
"data": {
"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"
},
"subscription_id": "2d65bd5e-3fdf-4002-b166-bde7fb8863fa"
}Response
Success.