BANKTRUST← Back to landing

API reference · v1

BANKTRUST API

Use the BANKTRUST API to send PDF bank statements and receive ledger-ready, reconciled transaction data with confidence and variance checks built in.

Base URL
https://banktrustapp.com
Version
v1
Auth
X-API-Key header

Authentication

API access is authenticated with a secret key tied to your BANKTRUST account.

  • Send your key in the HTTP header X-API-Key: YOUR_API_KEY.
  • Keys are created and managed inside the app (or provided directly during early access).
  • Treat API keys like passwords — keep them out of frontend code and public repos.

Create statement from PDF

Upload a single PDF bank statement and receive a processed statement record plus all parsed transactions. This matches the same flow you see in the web UI.

Endpoint

  • POST /api/v1/statements
  • Content-Type: multipart/form-data

Headers

  • X-API-Key – your secret API key.
  • Content-Type – handled automatically by your HTTP client when using form-data.

Form fields

  • file – PDF bank statement file (multipart/form-data file field).
  • client_id – UUID of the client in your BANKTRUST account. The statement will be attached to this client.

Response

  • On success, returns 201 Created.
  • Body includes a statement object (summary, balances, confidence, variance) and a transactions array with parsed rows.
  • In early access, the parsing engine is still being tuned, but totals and variance are kept consistent with the web UI.