Advanced Commands
Diagnostics, quick Dashboard access, integration examples, and CI automation with the Wajub CLI.
14 min read
Open the Dashboard
wajub open directly opens Wajub Dashboard pages in your browser.
wajub open # Dashboard (default)
wajub open payments # Payments list
wajub open customers # Customers list
wajub open balance # Account balance
wajub open transfers # Transfers
wajub open disputes # Disputes
wajub open webhooks # Webhook endpoints
wajub open settings # Account settings
wajub open keys # API keysIntegration examples
wajub samples clones a ready-to-use example project from GitHub.
# List available examples
wajub samples --list
# Clone an example
wajub samples accept-a-payment my-project
# Available examples:
# - accept-a-payment : Hosted checkout + signature verification (Node & PHP)
# - mobile-money-payout : Create and track a Mobile Money transfer
# - webhooks : Minimal webhook receiver with signature verificationDiagnostics
wajub doctor checks the state of your installation:
wajub doctor
# ✓ Configuration file
# ✓ Credentials
# ✓ API connectivity
# ✓ Authentication
# ✓ Node.js versionChecks: configuration file, credential resolution, API accessibility, authentication validity, and Node.js version.
Check the API
wajub status
# ✓ api.wajub.com — OK (200)Version
wajub version
# @wajub/cli 1.1.2 (linux-x64) node-v20.11.0Feedback
wajub feedback
# Opens a pre-filled GitHub issueCI automation
The CLI is designed for CI/CD pipelines. Use environment variables or the --api-key flag:
# Via environment variable
export WAJUB_API_KEY=sk.xxxxxxxx
export WAJUB_PROFILE=production
wajub payments create -d amount=5000 -d currency=XAF \
-d customer.email=test@example.com
# Via explicit flag (safer in CI)
wajub payments list --api-key sk.xxxxxxxx --limit 10 --jsonWAJUB_API_KEYstringoptionalAPI key for authentication (lowest priority after --api-key).
WAJUB_PROFILEstringoptionalProfile to use by default.
WAJUB_DASHBOARD_URLstringoptionalDashboard URL (default: https://dashboard.wajub.com).
WAJUB_MAX_RETRIESintegeroptionalNumber of API attempts (default: 2).
JSON output for scripts
Add --json for structured output suitable for jq or your automation scripts.