aYOUne
← Buchhaltung API

BankAccounts

Singular: BankAccount — Base-URL: https://accounting-api.ayoune.app — Zugriff: read-only

play_circle Jetzt ausprobieren beta

Requests werden über den consumer-app Proxy an *.ayoune.app weitergeleitet. Tokens bleiben im Browser und werden pro Call mitgesendet.

Beispiel-Response (aufgezeichnet) Beispiel

Eine echte, zuvor aufgezeichnete GET /:id-Antwort dieses Endpunkts — nicht der Live-Call oben. Sensible Felder sind maskiert.

{
  "payload": {
    "currency": "EUR",
    "_id": "65e0afe0121b7d48fe155dc9",
    "type": "bank",
    "active": true,
    "bankUrl": "",
    "currentSaldo": 0,
    "client_id": "",
    "client_secret": "",
    "webhook": "",
    "createdBy": "6045f4d25704710012485569",
    "createdAt": "2024-02-29T16:25:04.923Z",
    "updatedAt": "2024-02-29T16:25:04.923Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://accounting-api.ayoune.app/bankaccounts/65e0afe0121b7d48fe155dc9",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "BankConnections",
        "title": "MODEL_BANKCONNECTION",
        "href": "https://api.ayoune.app/accounting/bankconnections",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "accounting.bankconnections"
      },
      {
        "rel": "LedgerAccounts",
        "title": "MODEL_LEDGERACCOUNT",
        "href": "https://api.ayoune.app/accounting/ledgeraccounts",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "accounting.ledgeraccounts"
      }
    ],
    "debugId": "6a62da4532b48bf3f8122e0d",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_BANKACCOUNT",
        "href": "https://api.ayoune.app/accounting/bankaccounts/65e0afe0121b7d48fe155dc9/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_BANKACCOUNT",
        "href": "https://api.ayoune.app/accounting/bankaccounts/65e0afe0121b7d48fe155dc9/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.22.5",
      "core": "2026.257.1"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2494",
      "reset": "1784866900",
      "resetDate": "Fri Jul 24 2026"
    },
    "responseTime": 276.32938,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

MethodePathBeschreibungRight
GET /bankaccounts Liste mit Filtern/Paginierung accounting.bankaccounts.view
GET /bankaccounts/:id Einzelner Datensatz via ID accounting.bankaccounts.view

SDK

import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');

// Alle abrufen
const list = await ay.accounting.bankAccounts.find().limit(10).exec();

// Einzelnen Datensatz
const one = await ay.accounting.bankAccounts.findById('OBJECT_ID').exec();

Weiterführend