v53

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

Set upload configuration

Use the Set upload configuration endpoint to create bank statement upload configuration for the specified data connection.

With this configuration, you set the source of the data you plan to upload, the ID of the account in third-party banking platform, and a provider ID, if required. This lets us determine the expected format of the data and any source-specific requirements.

Each data connection can only have one configuration for each company and external account ID combination. You will receive a Bad Request response if you try to set it again.

post/companies/{companyId}/connections/{connectionId}/bankStatements/upload/configuration

Request body

source'codat'

The source of the banking data that determines its format

accountIdstring

The ID of the account in the third-party platform

providerIdstring

TrueLayer provider ID (only required if source is TrueLayer)

Response

Success

source'codat'

The source of the banking data that determines its format

accountIdstring

The ID of the account in the third-party platform

providerIdstring

TrueLayer provider ID (only required if source is TrueLayer)