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.succeeded
# ✓ 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.succeededtriggeroptionalpayment.failedtriggeroptionalpayment.cancelledtriggeroptionalpayment.pendingtriggeroptionalrefund_completetriggeroptionalrefund_failedtriggeroptionalTrigger name vs. event name
The string you pass to wajub trigger is a scenario name that matches the event it fires.
payment.succeeded fires the real payment.succeeded event.
The trigger refund_failed fires the real refund.failed event —
check the event catalog for the exact event type your
handler should switch on.
Customize the payload
Override fields to reproduce a specific case:
wajub trigger payment.succeeded -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.
Was this page helpful?