Trigger Events
wajub trigger emits real test events to your account — to exercise your webhook handlers without a real payment.
wajub trigger creates test objects and emits the corresponding webhooks. Combined with
wajub listen, this is the fastest way to exercise a handler.
Trigger an event
wajub trigger payment.complete
# ✓ created payment trx.Test8x2k
# ✓ payment.succeeded event emitted → evt.Tst7Yh2Available triggers
A curated subset, not the full event catalog
wajub trigger only covers a handful of common scenarios — it does not (yet) cover every
event in the full catalog (transfers, invoices, disputes, sub-accounts,
payment links, …). Run wajub trigger --list for the authoritative, up-to-date list.
customer.createdtriggeroptionalcustomer.updatedtriggeroptionalpayment.completetriggeroptionalpayment.failedtriggeroptionalpayment.cancelledtriggeroptionalpayment.pendingtriggeroptionalrefund_completetriggeroptionalrefund_failedtriggeroptionalTrigger name vs. event name
The string you pass to wajub trigger is a scenario name, not always the literal webhook
event type. payment.complete, for example, fires the real payment.succeeded event (there is
no payment.complete webhook). Only refund_complete/refund_failed happen to reuse
underscore-style names close to their corresponding webhook events (refund.succeeded /
refund_failed) — check the event catalog for the event type your
handler should actually switch on.
Customize the payload
Override fields to reproduce a specific case:
wajub trigger payment.complete -d amount=250000 -d currency=XOF -d channel=sn.wave--amount=<int>flagoptional--currency=<string>flagoptional--channel=<string>flagoptional--phone=<string>flagoptional-d, --data=<key=value>flagoptional--listflagoptionalReal test objects
Objects created by trigger actually exist in your sandbox environment: you
will find them in the Dashboard and in Konsole, with the same signature as in
production.