transactions

Add an attachment to a transaction

Requires transactions:read:all and either of transactions:write or transactions:write:all scopes.

post/transactions/{transactionId}/files

Request

  • Base URL
    https://api.moneyhub.co.uk/v3
  • URL
    https://api.moneyhub.co.uk/v3/transactions/{transactionId}/files
  • Auth
    API key in header Authorization

Path parameters

transactionIdstring uuid required

The transaction id

Request body multipart/form-data

filestring binary required

File to upload, limit of 10MB and must be an image or PDF.

Response

Successful Transaction Response

metaobject

Example response

{
  "data": {
    "id": "c390a94f-2309-4cdf-8d02-b0c5304d9f66",
    "fileType": "text/html",
    "fileName": "receipt.png",
    "url": "https://s3.amazon.com/receipt.png"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.