Skip to content

CLI

The bizzle CLI talks to the same /v1 API using a secret key stored in ~/.bizzle/config.json.

The CLI ships in the Bizzle repository (cli/index.mjs) as a dependency-free Node script. From a checkout:

Terminal window
npm link # exposes the `bizzle` binary
Terminal window
bizzle login --api-key sk_test_yourkey

Optionally point at another environment with --base-url. The default base URL is https://api.bizzle.my/v1.

Command Description
bizzle login --api-key <key> Save credentials to ~/.bizzle/config.json
bizzle whoami Verify credentials and print balance
bizzle logs [--limit N] Show recent /v1 requests
bizzle replay <delivery-id> Replay a webhook delivery
bizzle trigger <event-type> [--data '{…}'] Send a test webhook event
bizzle pay --amount <n> [--currency TZS] [--description "…"] Create a payment
bizzle config Print config path and masked key
bizzle help Usage

Global options: --api-key <key>, --base-url <url>.

Terminal window
bizzle login --api-key sk_test_abc
bizzle pay --amount 50000 --description "Order #1042"
bizzle logs --limit 10
bizzle trigger payment.succeeded --data '{"amount":50000}'