v1

latestOpenAPI 3.0.02026-07-2422987517.5 KB
Transaction

Get a transaction file URL

Returns a temporary, time-limited URL to download an attached file. Responds 404 when the file does not belong to the transaction's documentation.

get/v1/transactions/{transaction_id}/files/{file_id}/url

Path parameters

transaction_idstring uuid required

The Cardda accounting-ledger transaction id (accounting_ledger_tx_id). This is the same value exposed as id in the unified transactions list.

file_idstring uuid required

The id of the attached file (ActiveStorage attachment id).

Headers

company-idstring uuid required

UUID of the company on whose behalf the request is made. Required for every Accounting endpoint. See The company-id header for details on how to obtain a value for this header and the error responses to expect when it is missing or invalid.

Response

A temporary download URL for the file

urlstring uri required

Time-limited URL to download the file.