A JSON REST API for accounting, reporting and your own website, plus signed webhooks when a receipt is paid, an invoice is issued or a customer is created.
In the back office under Settings → API access. Owners and managers can do this, signed in with password and two-factor code.
2
Set permissions
Pick only the scopes your application needs. Optionally bind the key to one location, allow IP addresses and set an expiry date.
3
Store the token
The key k1_live_… is shown exactly once. Keep it in your password or secret store, never in browser code.
4
Test the connection
GET /v1/me needs no scope and shows which key and business you are connected to.
Base URL
All routes live under /v1. Send the key as a bearer token.
Base URL
https://pos-api.mellavo.de/v1
ScopesRead or write per area. Write includes read.
LocationReceipts, daily sales, bookings and stock of one location only. Catalogue, customers and invoices apply to the whole business.
IP allowlistUp to 20 IPv4 or IPv6 addresses or CIDR ranges.
Expiry & rotationOptional expiry date. When rotating, the old key can stay valid for up to 7 days.
Scopes
catalog:read
Read products with variants and prices
catalog:write
Activate or deactivate products, change variant prices
orders:read
Read receipts, sales and voids
customers:read
Read customers
customers:write
Create and update customers
invoices:read
Read invoices and credit notes, fetch the PDF
reports:read
Daily sales per location
bookings:read
Read guesthouse and hotel bookings
inventory:read
Read stock levels per location
cashbook:read
Read the cash book with receipt links and DATEV export
Conventions
What is the same everywhere.
Lists and pages
limit from 1 to 100 (default 50), cursor from next_cursor of the previous page. Sorted ascending by updated_at (receipts: created_at). To sync, remember the last timestamp and pass it as updated_since; the bound is inclusive, and you recognise duplicates by their id.
Per key 60, 120, 300 or 600 requests per minute (default 120), fixed one-minute window. Every response carries the current values; when exceeded you get 429 with Retry-After in seconds.
X-RateLimit-*
HTTP/1.1 200 OK
X-RateLimit-Limit: 120
X-RateLimit-Remaining: 117
X-RateLimit-Reset: 42
HTTP/1.1 429 Too Many Requests
Retry-After: 18
Money, time, fields
Amounts always in whole cents with currency (EUR), never as decimals.
Timestamps in ISO 8601 and UTC, calendar days as YYYY-MM-DD.
Field names in snake_case, responses as JSON (invoice PDF as a file).
Tax rates in basis points: 19 % = 1900.
Errors
Every error has the same shape. The code is stable, the message is for humans.
Chronologisch: Barverkäufe und Bar-Stornos (je Bon, mit Bar-Anteil je Steuersatz), Anfangsbestand, Einlagen, Entnahmen, Geldtransit, Trinkgeld-Auszahlungen, Kassendifferenzen, Übertrag-Abweichungen sowie Vermerke ohne Betrag (Z-Abschluss, automatischer Tagesabschluss, Nachtrags-Schicht). Karten-, Gutschein- und Zimmerzahlungen sind keine Kassenbuch-Einträge (siehe /v1/orders). amount_cents mit Vorzeichen, balance_after_cents = Bestand des Standorts, till_balance_after_cents = Bestand der Kasse. receipt_url ist ein dauerhafter E-Bon-Link (10 Jahre gültig), der genau diesen Bon öffnet. Einträge sind unveränderlich; updated_since bezieht sich auf created_at.
Parameters
Name
In
Type
Description
limitoptional
query
string
1–100, Standard 50
cursoroptional
query
string
next_cursor der vorigen Seite
updated_sinceoptional
query
string
ISO-Zeitpunkt (inklusive) für den inkrementellen Abgleich
location_idoptional
query
string
nur dieser Standort (Schlüssel mit Standort-Bindung: nur der eigene)
fromoptional
query
string
YYYY-MM-DD (Kalendertag des Standorts, inklusive) oder ISO-Zeitpunkt (inklusive)
tooptional
query
string
YYYY-MM-DD (Kalendertag des Standorts, inklusive) oder ISO-Zeitpunkt (exklusive)
Kassenbuch als DATEV-Buchungsstapel (EXTF, Windows-1252)
Eine Buchung je Kassenbuch-Eintrag (Barverkauf je Steuersatz), Konto Kasse, Bon-Link in „Beleglink“. Ersetzt für Bargeld die Tagessummen des Backoffice-Exports: Wurde für einen überlappenden Zeitraum Bargeld schon in anderer Form exportiert, antwortet die API mit 409 datev_cash_overlap (mit confirm_overlap=true trotzdem exportieren). Header KassaOne-Export-Warnings = Anzahl der Hinweise.
Parameters
Name
In
Type
Description
confirm_overlapoptional
query
string
true = trotz Überschneidung exportieren
location_idoptional
query
string
nur dieser Standort (Schlüssel mit Standort-Bindung: nur der eigene)
A file instead of JSON (PDF of the archived invoice).
Webhooks
Webhooks: mellavoPOS calls you.
Create subscriptions in the back office under API access → Webhooks, up to 10 per business. The target is always an https:// address; the secret whsec_… is shown only once.
Events
order.paid
A receipt was paid, including after an offline sync.
order.voided
A receipt was voided; data is the void receipt.
invoice.created
An invoice or credit note was issued (no drafts).
customer.created
A customer was created, for example in the back office, via the API or in the shop.
booking.created
A guesthouse or hotel booking was created.
booking.updated
A booking was changed, moved, checked in or checked out.
webhook.ping is the test event. You trigger it with “Send test”; it is delivered once and does not count towards disabling.
Headers
KassaOne-EventType of event
KassaOne-DeliveryID of this delivery
KassaOne-SignatureTimestamp and HMAC-SHA256 over <t>.<raw body>
POST with Content-Type: application/json. data has the same shape as the matching GET /v1/… response. The id stays the same per event so you can spot duplicate deliveries.
import hashlib
import hmac
import time
def verify_kassaone(raw_body: bytes, header: str, secret: str) -> bool:
parts = dict(p.strip().split("=", 1) for p in header.split(",") if "=" in p)
try:
t = int(parts.get("t", ""))
except ValueError:
return False
if abs(time.time() - t) > 300:
return False
signed = f"{t}.".encode() + raw_body
expected = hmac.new(secret.encode(), signed, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, parts.get("v1", ""))
# Flask: verify_kassaone(request.get_data(), request.headers.get("KassaOne-Signature", ""), secret)
Delivery and retries
A delivery succeeds with an HTTP 2xx response within 10 seconds.
Otherwise it is retried after 30 s, 2 min, 10 min, 30 min, 2 h, 6 h and 12 h: 8 attempts over about 21 hours.
Redirects (3xx) are not followed and count as failures.
After 5 deliveries in a row that finally fail, mellavoPOS disables the subscription and emails the owners.
The delivery log (30 days) shows status and duration and lets you resend single deliveries.
Security & limits
Security and limits.
Shown only once
Token and webhook secret appear only right after creation. The key is stored only as HMAC-SHA256 with a server secret that is not in the database.
Scopes and location
Every route requires its scope. A key bound to a location sees that location’s receipts, bookings and stock, no others.
IP allowlist and expiry
Allowed addresses, expiry date, revoking and rotating per key. Failed attempts with a known key are recorded in the audit log.
Separate businesses
The business comes only from the key, and every query is filtered to it. IDs from another business return 404.
What the API never returns
No TSE credentials or secrets, no password or PIN hashes, no tokens, no internal notes and no payment provider references.
Webhooks only go outside
Targets only via https, no local or private addresses; the target address is checked again when sending.
How we secure the rest of mellavoPOS is described under Security.
Version
Version v1
All routes live under /v1. New fields and endpoints may be added; your code should ignore unknown fields. Anything that breaks existing fields would come under a new version.
The API is new and has so far only run in our own tests and on the demo server, not in real operation.
v120 Nov 2026v1 released: API keys, 17 endpoints, webhooks.
Building an integration?
Tell us what you have in mind. We will tell you which data the API delivers today and what is still missing.