Wajub CLI
The Wajub CLI brings the API closer to your terminal — receive your webhooks locally, trigger test events, and interact with the API from the command line.
4 min read
The Wajub CLI is the developer's local tool. It lets you forward your webhooks to localhost, trigger test
events, and interact with the API without writing code.
CLI vs Konsole
Konsole is the web debugger (inspection, replay, observability). The CLI is its terminal counterpart, designed for the local development loop — especially the webhook tunnel to your machine.
Command overview
| Command | Role |
|---|---|
wajub login / wajub logout | Authenticate or revoke CLI tokens. |
wajub listen | Forward webhooks to a local URL. |
wajub trigger <event> | Emit a test event (e.g. payment.succeeded). |
wajub payments create | Create a test payment without writing code. |
wajub get / post / delete | Raw HTTP requests to the API. |
wajub open [page] | Open a Dashboard page (balance, customers, etc.). |
wajub samples [name] | Clone an example project. |
wajub doctor | Diagnose your installation. |
First steps
# 1. Install (see Installation page for all methods)
brew install wajub/tap/wajub
# 2. Authenticate
wajub login
# 3. Receive your webhooks locally
wajub listen --forward-to localhost:3000/webhooksWas this page helpful?