TheWavly documentation
Check every purchase an AI agent makes against what the user approved, before the money moves. Keep a signed record that every party can verify, and settle disputes with it.
QuickstartYour first mandate and check in five minutes, in test mode.How TheWavly worksMandates, checks, approvals, payment tokens, receipts and disputes.API referenceEvery endpoint, field, error and example, generated from the OpenAPI document.SDKs and toolsJavaScript, Python, Go and Java SDKs, an MCP server, TheWavly Guard and an offline verifier.
Choose your path
Integrate an AI agentFor teams building agents that pay: check before paying, ask the user, sign as a registered agent.Accept agent ordersFor stores: verify an agent's order and its user's approval before charging. WooCommerce, Razorpay, Cashfree and Node.For payment providersRedeem and release payment tokens, reconcile debits, and give your disputes team evidence.Disputes and findingsEvidence from each party, a signed finding, one appeal, and a remedy tracked to settlement.
The basics
- Base URL:
https://thewavly.com. Every endpoint is under/v1. - Authentication: a secret key in the
Authorization: Bearerheader. Test keys start withsk_test_, live keys withsk_live_. See Authentication. - Amounts: whole numbers of paise. ₹2,499 is
249900. Currency is INR. - Test mode is free. It is fully separate from live data, and every response says which mode produced it in
livemode. - Machine-readable reference: /v1/openapi.json (OpenAPI 3.1), for generated clients, Postman and security reviews.
Note: New to agent payments? Read How TheWavly works first. It takes five minutes and explains every object you will see in the API.