Client wrapper handles the entire 402 negotiation, signing, and retry flow — you just make requests as normal.
Quickstart with Agent
The fastest way to get started — let your AI agent handle setup and payments for you.1
Install allium-cli
2
Install agent skills
3
Open your agent
Start Claude Code, Codex, or any compatible AI agent.
4
Ask a question
How It Works
1
Send request
Make an API request using the Tempo
Client.2
Client handles 402
The client automatically receives the
402 Payment Required response, signs a USDC payment authorization, and retries the request.3
Get data
You receive your data with a
200 response. The payment flow is invisible to your code.Supported Tokens & Networks
Tempo MPP payments use USDC on the Tempo network:Implementation
Install
Set Up Your Account
Create aTempoAccount from your private key. This account will sign payments on your behalf.
Make a Paid API Call
Client intercepts the 402 response, constructs and signs the payment using your TempoAccount, and retries the request automatically. You just see the final 200 response with your data.