Tempo· 13d agoAI rate: 51
Tempo guide: How to charge AI agents per request on an Express API
How to charge AI agents per request in an Express API
AI brief
Tempo’s guide explains how to add per-request charges to Express API routes using MPP and mppx. Unpaid requests receive an HTTP 402 response with pricing information, and the requested result is returned only after payment. The example charges 0.01 on Tempo testnet and notes that production deployments should use shared replay-protection storage, remove the testnet configuration and record Payment-Receipt; onchain settlement on Tempo takes less than a second.
Source:Tempo· tempo.com