openapi: 3.1.0 info: title: Rutter Unified Accounting Banking API description: The Rutter Unified API provides a single RESTful interface connecting to over 60 commerce, payments, and accounting platforms. It supports connection management, accounting data (accounts, transactions, invoices, bills, expenses), commerce data (orders, products, customers, stores), payments data, ads data, and banking data. All requests require Basic authentication using client_id and client_secret, plus an access_token query parameter to identify the specific connection. version: '2024-08-31' contact: name: Rutter Developer Documentation url: https://docs.rutter.com/ servers: - url: https://production.rutterapi.com/versioned description: Production - url: https://sandbox.rutterapi.com description: Sandbox security: - basicAuth: [] tags: - name: Banking description: Banking and financial account data paths: /bank-accounts: get: operationId: listBankAccounts summary: List Bank Accounts description: Retrieve a list of bank accounts from the connected banking platform. tags: - Banking parameters: - $ref: '#/components/parameters/XRutterVersion' - $ref: '#/components/parameters/AccessToken' - $ref: '#/components/parameters/Cursor' responses: '200': description: Successful response content: application/json: schema: type: object properties: bank_accounts: type: array items: $ref: '#/components/schemas/BankAccount' next_cursor: type: string components: parameters: Cursor: name: cursor in: query schema: type: string description: Pagination cursor from previous response next_cursor field AccessToken: name: access_token in: query required: true schema: type: string description: Unique access token identifying the specific connection XRutterVersion: name: X-Rutter-Version in: header required: true schema: type: string example: '2024-08-31' description: API version identifier schemas: BankAccount: type: object properties: id: type: string name: type: string type: type: string enum: - checking - savings balance: type: number format: double currency: type: string institution_name: type: string securitySchemes: basicAuth: type: http scheme: basic description: Use client_id as username and client_secret as password. Encode as base64(client_id:client_secret). externalDocs: description: Rutter API Documentation url: https://docs.rutter.com/