v53

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-041561443.9 MB
Bank statements

End upload session

Use the End upload session endpoint to finalize a bank statement upload session. Include a status in the request body to indicate if you want to cancel the processing of the dataset or trigger the ingestion and enrichment of the data.

A session is a one-time process that enables you to upload bank statements to Codat. It will time out after 90 minutes if no data is uploaded.

post/companies/{companyId}/connections/{connectionId}/bankStatements/upload/dataset/{datasetId}/endSession

Request body

status'Cancel' | 'Process'

An indicator to cancel the dataset processing or trigger ingestion and enrichment of data.

Response

Success