Skip to main content
POST
/
v1
/
businesses
/
{businessId}
/
bank-transactions
/
{transactionId}
/
documents
/
{documentId}
/
archive
Archive document
curl --request POST \
  --url https://sandbox.layerfi.com/v1/businesses/{businessId}/bank-transactions/{transactionId}/documents/{documentId}/archive \
  --header 'Authorization: Bearer <token>'
{
  "type": "{}"
}

Authorizations

Authorization
string
header
required

Bearer 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
required

The UUID of the business to archive the document for.

transactionId
string
required

The UUID of the transaction to associate this document with.

documentId
string
required

The UUID of the document to fetch.

Response

type
string

Resource type. Value will be 'com.layerfi.controllers.EmptyResponse'.

Example:

"{}"