MPP Session Intent
Streaming micropayments via payment channels. Ideal for LLM token billing, real-time data feeds, and continuous compute.
How Sessions Work
- Agent deposits funds into an on-chain escrow
- Creates a channel with a spending limit and TTL
- Sends signed vouchers with cumulative amounts as service is consumed
- Server verifies signatures — no blockchain transaction per request
- Channel settles on-chain when closed or expired
Session Challenge
WWW-Authenticate: Payment
realm="zeny",
method="tempo",
intent="session",
max_amount="10.00",
currency="0xfafddbb3...USDM",
recipient="0xFacilitator...",
ttl="3600"Session Credential
Authorization: Payment base64url({
"channelId": "0xChannel...",
"voucher": {
"cumulativeAmount": "0.50",
"signature": "0x..."
}
})Benefits
- Near-constant time verification (no on-chain tx per request)
- Granular billing (per-token, per-byte, per-second)
- Ideal for streaming and high-frequency interactions
Endpoint
POST /api/mpp/session