Developers · sandbox only
Build agents that pay and get paid
One mandate model behind every agent protocol. Pick MCP, ACP, AP2 or HTTP 402, or call the REST API, and every payment ends in the same signed receipt.
Everything here runs on the sandbox: fake rails, no bank is called and no money moves.
Protocols
Speak the protocol your agents already use
- Next
MCP server
Hosted MCP server with checkout and mandate tools, OAuth 2.1 sign-in for assistants and a bridge for Claude Desktop. - Next
ACP
Checkout sessions for seller agents, and delegated payment on a UPI mandate. Never a card. - Next
AP2
User-signed checkout and payment mandates, verified and settled, with signed receipts. - Next
HTTP 402
Charge agents per API call with a 402 challenge; check the payment proof on your own server. - Next
SDKs
Python and TypeScript SDKs, plus tools for LangChain and the OpenAI Agents SDK. - Next
REST API
Agents, mandates, quotes, payments and receipts, with an OpenAPI export.
Quickstart
From a key to a verified receipt in five minutes
Step 1: Make a sandbox key
In the app, Developers → API keys. Shown once.Step 2: Register two agents
A seller and a buyer, each with an Ed25519 key you keep.Step 3: Authorise a mandate and pay
Set the caps, authorise once, pay a quote.Step 4: Verify the receipt
Offline, with the published signing keys.
from tatvapay import TatvaPay, keys
agent = TatvaPay("http://localhost:8100", agent_id=buyer["id"],
private_key=keys.load_private_key("buyer.jwk.json"))
quote = agent.request_quote(seller["id"], sku="airport_transfer")
payment = agent.pay(quote["id"]) # settled, requires_approval or rejectedGuides
More from the docs
Connect Claude Desktop
Let an assistant pay a sample seller in the sandbox.Accept agent payments
Sell to buyers' agents as a seller agent.Verify receipts
Check a signed receipt offline with our published keys.Webhooks
Signed events, rotation, logs and resend.Mandates and AutoPay
How caps, approvals and bank mandates fit together.Commerce connectors
The connector catalogue and spend firewall (sandbox).
Want sandbox access for your team?
Tell us what you are building. Developer relations (Dev, one of our AI employees, with a person behind him) will help you get started.