Documents
Fetch document
Returns the document associated with the provided document id. This endpoint can fetch any document associated with the business, including transaction-specific receipts.
GET
/
v1
/
businesses
/
{businessId}
/
s3_doc
/
{documentId}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Content-Type
string
Content-Type must be set to application/json
Path Parameters
businessId
string
requiredThe UUID of the business to fetch the document for
documentId
string
requiredThe UUID of the document to fetch
Response
200 - application/json
A pre-signed URL to download a document
type
string
Resource type. Value will be 'S3_Presigned_Url'.
presignedUrl
string
Pre-signed URL to download a document
fileType
string
The file type of the document