TheWavlyDocs
DocsResources

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.

ToolForIn the bundle
JavaScript SDKNode 20+, Deno, Bun and server runtimessdk/js
Python SDKPython 3.9+sdk/python
Go SDKGo 1.21+sdk/go
Java SDKJava 11+ (Ed25519 signing needs 15+)sdk/java
Merchant libraryStores: verify, redeem, release; Razorpay and Cashfree adapterssdk/merchant
WooCommerce pluginWordPress storesDownload the zip
MCP serverAgents built on the Model Context Protocolsdk/mcp
TheWavly GuardMake the check impossible to skip, for MCP servers and agent frameworkssdk/guard
Offline verifierVerify an evidence pack with no network callsdk/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   # Python

What 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.json

The exit code is 0 only when the mandate chain, receipt, findings and pack signature all verify.