sumsub-webhook-cli 0.1.0

A CLI tool to simulate Sumsub webhook events locally for testing.
sumsub-webhook-cli-0.1.0 is not a library.

sumsub-webhook-cli

Sumsub Webhook CLI

This CLI tool lets you simulate Sumsub webhook events in a local development environment. You can:

  • Send predefined events (e.g. applicantReviewed)
  • Load custom JSON payloads
  • Sign requests with a secret
  • Retry delivery with exponential backoff

Requirements

To build and run this CLI tool, you need to have Rust and Cargo installed.

Install them using rustup:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Once installed, you can run the CLI like this:

cargo run -- event --event applicant-reviewed --secret "your-secret" --url "your-webhook-host-url"

Or install globally with:

cargo install sumsub-webhook-cli

Usage

sumsub-webhook-cli event --event applicant-reviewed --secret xxx --url http://localhost:3000/webhook
sumsub-webhook-cli payload --path ./payload.json --secret xxx --url http://localhost:3000/webhook

Installation

cargo install sumsub-webhook-cli

License

Licensed under either of:

You may choose either license.

License: MIT OR Apache-2.0