Skip to content

Add invoice commands to the CoinPay CLI - #241

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
phucnguyen1707:feat/invoice-cli-commands
Aug 12, 2026
Merged

Add invoice commands to the CoinPay CLI#241
ralyodio merged 1 commit into
profullstack:masterfrom
phucnguyen1707:feat/invoice-cli-commands

Conversation

@phucnguyen1707

Copy link
Copy Markdown
Contributor

Summary

  • add coinpay invoice create, list, and get to the installed SDK CLI
  • support the existing auth flow, invoice filters, wallet routing, readable output, and --json
  • normalize invoice API envelopes and safely encode invoice IDs in SDK paths
  • document the commands and add subprocess/API-mock coverage

invoice create only creates a draft. It does not send, schedule, mark paid, or move funds.

Tests

  • pnpm exec vitest run test/cli-invoice.test.js test/invoices.test.js (32 passed)
  • full SDK suite (534 passed, 3 skipped)
  • node --check and git diff --check

SDK lint is currently blocked by the existing ESLint 8/9 plugin mismatch in unchanged src/auth.js.

@ralyodio
ralyodio merged commit 1cc6e08 into profullstack:master Aug 12, 2026
5 checks passed
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.

2 participants