Run Doctor
The CLI creates a hosted session and starts waiting for callbacks.
Callback infrastructure for teams building on payment APIs
CallbackDesk gives developers a hosted HTTPS callback URL, a local CLI forwarder, redacted payload history, and project-scoped tokens for teams that cannot afford lost webhook events.
npx callbackdesk doctor http://localhost:3000/api/mpesa/callback
How it works
The CLI creates a hosted session and starts waiting for callbacks.
Paste the secure `/c/...` callback URL into the provider setting or sandbox request.
CallbackDesk forwards to localhost, records the result, and replays the same payload after you patch your handler.
Designed for real integrations
Anonymous sessions are fast enough for a single integration test. Account projects add ownership, longer retention, and revocable tokens for teams shipping across environments.
callbackdesk replay evt_8M3
What this is
Receive provider callbacks on a hosted HTTPS endpoint before they disappear into local dev failures.
Deliver each captured payload through the CLI to your local handler and record the response.
Re-run the same event after fixing code instead of triggering a fresh provider transaction.
Keep redacted bodies, headers, normalized fields, attempts, and status codes together.