POST
/
v1
/
businesses
/
{businessId}
/
bank-transactions
/
{transactionId}
/
documents

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string

Content-Type must be set to multipart/form-data

Path Parameters

businessId
string
required

The UUID of the business to upload the document for

transactionId
string
required

The UUID of the transaction to associate this document with

Body

multipart/form-data
type
string

The type of document. Supported types are jpg, png, and pdf.

file
file

The document file.

name
string

The name of the document.

Response

200 - application/json
id
string | null

Optional unique identifier for the file, can be null if not specified.

fileType
string
required

The type of the file (e.g., PDF, DOCX, JPEG).

filename
string
required

The name of the file including its extension.

documentType
enum<string>
required

The type of document.

Available options:
RECEIPT