SDKs and tools
Official libraries and tools, all without third-party dependencies, in one download under the Apache-2.0 licence. Every SDK retries safely with idempotency keys and verifies webhooks.
| Tool | For | In the bundle |
|---|---|---|
| JavaScript SDK | Node 20+, Deno, Bun and server runtimes | sdk/js |
| Python SDK | Python 3.9+ | sdk/python |
| Go SDK | Go 1.21+ | sdk/go |
| Java SDK | Java 11+ (Ed25519 signing needs 15+) | sdk/java |
| Merchant library | Stores: verify, redeem, release; Razorpay and Cashfree adapters | sdk/merchant |
| WooCommerce plugin | WordPress stores | Download the zip |
| MCP server | Agents built on the Model Context Protocol | sdk/mcp |
| TheWavly Guard | Make the check impossible to skip, for MCP servers and agent frameworks | sdk/guard |
| Offline verifier | Verify an evidence pack with no network call | sdk/verify |
Install
Shell
curl -fL https://thewavly.com/sdk/thewavly-open.tar.gz -o thewavly-open.tar.gz
tar -xzf thewavly-open.tar.gz
npm install ./thewavly-open/sdk/js # JavaScript
python3 -m pip install ./thewavly-open/sdk/python # PythonWhat every SDK covers
- Mandates, checks, outcomes, approvals, disputes, payments, webhook endpoints and events.
- The registry: registering agents, proving websites, adding keys.
- Signing checks as a registered agent, and the checkout headers for stores.
- Public calls for stores and providers: verify an order, redeem and release a payment token.
- Webhook signature verification.
Any endpoint not wrapped by a method is one call away with request(method, path, body).
Verify offline
Shell
node thewavly-open/sdk/verify/wavly-verify.mjs wavly-evidence-chk_123.jsonThe exit code is 0 only when the mandate chain, receipt, findings and pack signature all verify.