Transaction Attachments
Confirm Transaction Attachment Upload
After you got the temporary file URL of type UPLOAD_URL and the attachment file is uploaded, the upload of the TransactionAttachment must be confirmed.
post/business/v2/transactions/{transactionId}/attachments/{attachmentId}
Request
- Base URLhttps://api.soldo.com
- AuthOAuth 2Client credentialsToken URLhttps://api.soldo.com/oauth/authorizeScopestransaction_write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
transactionIdstring required
The Transaction ID.
Example:7bf79328-a7ae-4222-aa54-091ff7f429a7
attachmentIdstring required
The TransactionAttachment ID.
Example:2d65bd5e-3fdf-4002-b166-bde7fb8863fa
Request body application/x-www-form-urlencoded
Example request
{
"fileName": "invoice87.jpg",
"fileType": "PDF"
}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"
}Changes
No recorded changes to this operation across all 10 revisions of this API.