Fetch transaction document
Returns the document associated with the provided document id. This endpoint can fetch any document associated with the business, including transaction-specific receipts.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Content-Type must be set to application/json
Path Parameters
The UUID of the business that the transaction to fetch the document for belongs to
The UUID of the document to fetch
Response
A pre-signed URL to download a document
Resource type. Value will be 'S3_Presigned_Url'.
"S3_Presigned_Url"
Pre-signed URL to download a document
"https://example-bucket.s3.amazonaws.com/example-object?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=FAKEAWSACCESSKEY%2F20240710%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240710T000000Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=FAKESIGNATURE1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef\n"
The file type of the document
"csv"