API Reference

Build powerful integrations with the PrimeBalance API. Full REST API access to all features.

example.js
// Create a journal entry
const response = await fetch('https://api.prime-balance.de/v1/journal-entries', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer your_api_key',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    date: '2026-01-06',
    description: 'Monthly rent payment',
    lines: [
      { account_id: 'acc_rent_expense', debit: 5000 },
      { account_id: 'acc_cash', credit: 5000 },
    ],
  }),
});

const journalEntry = await response.json();

API Features

Everything you need to build reliable integrations

RESTful JSON API

Simple, predictable URLs with standard HTTP methods.

API Key Authentication

Secure API keys with scoped permissions.

Webhooks

Real-time notifications for events in your account.

Rate Limiting

Generous limits with clear headers and backoff support.

Idempotency

Safe retries with idempotency keys on all mutations.

SDKs & Libraries

Official SDKs for Python, Node.js, and more.

API Endpoints

Complete reference for all available endpoints

Accounts

GET/v1/accounts
POST/v1/accounts
GET/v1/accounts/{id}
PUT/v1/accounts/{id}

Transactions

GET/v1/transactions
POST/v1/transactions
GET/v1/transactions/{id}
POST/v1/transactions/{id}/reverse

Journal Entries

GET/v1/journal-entries
POST/v1/journal-entries
POST/v1/journal-entries/{id}/post

Reports

GET/v1/reports/balance-sheet
GET/v1/reports/income-statement
GET/v1/reports/trial-balance

Ready to Build?

Get your API keys and start integrating with PrimeBalance today.

Get API Access