bitspire/packages/lnbits
Padreug 7120f306b6 feat(lnbits): report_dispense RPC and the dispense-report wire types (ADR-005 §2)
One cash-out's dispense outcome, sent on success as well as failure —
the success report is what captures the settlement server-side. Field
names follow lamassu-server's cash_out_txs / cash_out_actions
(dispense_confirmed, error, error_code) with raw_code and error_class
alongside, per-denomination bills with `requested`, per-bay cassettes
verbatim, the payment hash as the join key, and counts_uncertain.

Idempotent on txid (the server upserts), so the call is wrapped in
idempotent() and safe for the machine's outbox to retry. Until
spirekeeper registers the RPC it rejects with LnbitsRpcError, which the
outbox treats like any other transient failure.
2026-10-10 21:37:47 +02:00
..
src feat(lnbits): report_dispense RPC and the dispense-report wire types (ADR-005 §2) 2026-10-10 21:37:47 +02:00
package.json feat(lnbits): new @bitSpire/lnbits package — LNbits client over the nostr-native-transport 2026-06-01 19:08:03 +02:00
tsconfig.json feat(lnbits): new @bitSpire/lnbits package — LNbits client over the nostr-native-transport 2026-06-01 19:08:03 +02:00