Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.prudra.dev/llms.txt

Use this file to discover all available pages before exploring further.

Agent guides overview

Prudra is built for AI agents. An agent calling a Prudra-protected API endpoint goes through the standard HTTP 402 payment flow — it receives a challenge, pays, and gets the result. No SDK is required on the agent side; plain HTTP calls work.

The agent payment flow

Two protocols

ProtocolHeaderHow agent pays
x402PAYMENT-REQUIRED + PAYMENT-SIGNATURESign ERC-3009 auth off-chain (no on-chain tx from agent)
MPPWWW-Authenticate + Authorization: PaymentSend on-chain tx to recipient, submit txHash as proof
Most Prudra servers send both headers. Agents pick the protocol that matches their wallet.

What you need

  • An Ethereum-compatible wallet (for x402) or a Tempo wallet (for MPP)
  • Some USDC (for x402) or USDC.e (for MPP)
  • An HTTP client

Sub-pages

Quickstart

Make your first paid API call in 5 minutes.

Payments

Full x402 and MPP agent payment implementations.

Vault access

Read documents, download files, and subscribe to events.

Wallet management

Manage your agent’s wallet balance and transfer funds.

Webhooks

Receive payment confirmation and vault events.

Troubleshooting

Common errors and how to fix them.