Receipts
Upload transaction document
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.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Content-Type must be set to multipart/form-data
Path Parameters
The UUID of the business to upload the document for
The UUID of the transaction to associate this document with
Body
multipart/form-data
Response
200
application/json
Contains metadata about a file, including its type, name, and the category of document it represents.