Documents
Archive document
Archiving a document makes the document inactive. The document will no longer be accessible via normal API endpoints, but the document is retained and can be unarchived in the future.
POST
/
v1
/
businesses
/
{businessId}
/
bank-transactions
/
{transactionId}
/
documents
/
{documentId}
/
archive
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 archive the document for
transactionId
string
requiredThe UUID of the transaction to associate this document with
documentId
string
requiredThe UUID of the document to fetch
Response
200 - application/json
type
string
Resource type. Value will be 'com.layerfi.controllers.EmptyResponse'.