← Accounting API
BankConnections
Singular: BankConnection — Base URL: https://accounting-api.ayoune.app — Access: CRUD
Try it now
beta
Response (live)
Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /bankconnections |
List with filters/pagination | accounting.bankconnections.view |
| GET | /bankconnections/:id |
Single record | accounting.bankconnections.view |
| POST | /bankconnections |
Create new record | accounting.bankconnections.new |
| PUT | /bankconnections |
Update record | accounting.bankconnections.edit |
| DELETE | /bankconnections/:id |
Delete record | accounting.bankconnections.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.accounting.bankConnections.find().limit(10).exec();
// Single record
const one = await ay.accounting.bankConnections.findById('OBJECT_ID').exec();
// Create
const created = await ay.accounting.bankConnections.create({ name: 'Foo' });