bonly-backend admin

token (hardcoded) system key pos key open

Keys (in sessionStorage)

Keys never leave this browser tab. Only used to sign request payloads via P-256 ECDSA over SHA-256.

Reads token open

List merchants token

List POS token

Balances open

Each entry returns balance, metadata, checked, and created_at (omitted for unknown ids).

Mark voucher checked open

Flips checked = true. Open endpoint, idempotent, non-enforcing — the flag is informational only.

Transactions token

List transactions (paginated)

At least one of account_id or pos_ids required. Both fields filter independently; combining them intersects.

cursor: (none)


Sum transactions

Gross in and out sums (reverted entries excluded). Not netted, so payouts don't reduce reported earnings.

Sigops · system key system

Create account sys


Create merchant sys


Create POS sys

Each POS gets its own keypair. Click Gen new POS keypair to mint one — the privkey lands below and is also what the transfer form below uses to sign.


Zero merchant sys

POS Setup QR pos

Encodes bonlypos://setup?pos_id=…&merchant=…&privkey=… for the Android POS app. Auto-fills after Create POS; merchant name is resolved via GET /merchants. The QR contains a private key — print on demand, hand over directly, and discard.


        

Sigops · POS key pos

Create transfer pos

Output

ready.