Upload a document for a transaction, such as a receipt or invoice. Images (jpg
& png
) and PDFs are supported. The document will be associated with the provided transaction id. This functionality is built into Layer’s <BankTransactions>
embedded component, but can be used directly if needed. This endpoint expects a multipart upload.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Content-Type must be set to multipart/form-data
The UUID of the business to upload the document for
The UUID of the transaction to associate this document with
Contains metadata about a file, including its type, name, and the category of document it represents.