Example: An ERP integration pulls completed and pending transactions from Qonto every 15 minutes and automatically reconciles them against open purchase orders.Prerequisites:
- At least one active bank account in Qonto.
- Scope:
organization.read. It covers every step of this guide, attachments included, so you don’t needattachment.read.
Retrieve your bank accounts
Fetch the list of bank accounts to get their IDs. You can either retrieve the organization object (which includes accounts) or list accounts directly.Endpoint: List business accounts
OAuth scope required:
organization.read- Python
- Node.js
Fetch transactions for each account
For each bank account, list transactions updated since your last sync. Include
includes[]=attachments to retrieve attachment metadata in the same request and avoid extra API calls.Endpoint: List transactionsOAuth scope required:
organization.read- Python
- Node.js
Download transaction attachments
When
includes[]=attachments is used, each transaction includes an attachments array with pre-signed download URLs. Download them immediately, the URLs expire after 30 minutes.Endpoint: Retrieve an attachmentOAuth scope required:
organization.read- Python
- Node.js
We now have an up-to-date local view of all transactions across all bank accounts, with their attachments downloaded.