Skip to content

Added the account balance and top-up commands, and the forfeit notice on fleet delete - #8

Merged
siliconwitch merged 3 commits into
mainfrom
dev
Aug 12, 2026
Merged

Added the account balance and top-up commands, and the forfeit notice on fleet delete#8
siliconwitch merged 3 commits into
mainfrom
dev

Conversation

@siliconwitch

Copy link
Copy Markdown
Member

Companion to siliconwitchery/superstack-server#19 (design.md §10).

  • account balance [fleet_id]: an ID / NAME / BALANCE table over GET /balance, with --json passing the server's exact values through.
  • account topup <fleet_id>: prints the payment link from POST /fleets/{id}/topup; the amount is chosen on the page.
  • balances.go: the shared balance fetch and euro formatting seam.
  • fleet delete now states the credit its confirmation would forfeit, and refuses to prompt at all when the balance cannot be read.

Tested against a local server end to end (top-up through the hosted checkout, balance reflecting the webhook credit) plus the full suite.

@siliconwitch
siliconwitch merged commit 08052b4 into main Aug 12, 2026
1 check passed
@siliconwitch
siliconwitch deleted the dev branch August 12, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant