MPP Integration
Overview
MPP (Micropayment Protocol) by Stripe and Tempo enables agents to open pre-authorized spending sessions and stream micropayments.
How It Works
1. Create session with spending limit2. Use session token for tool calls3. Track usage in real-time4. Session auto-expiresCreate Session
POST /mpp/session/createAuthorization: Bearer cv_YOUR_KEYContent-Type: application/json
{ "spending_limit_cents": 5000, "ttl_minutes": 60}Response:
{ "session_id": "mpp_abc123", "token": "mpp_token_...", "expires_at": "2026-03-18T13:00:00Z"}Use Session
Include the session token in tool calls:
curl -X POST https://api.50c.ai/tools/genius \ -H "X-MPP-Session: mpp_token_..." \ -H "Content-Type: application/json" \ -d '{"problem": "What is 2+2?"}'Check Session
GET /mpp/session/mpp_abc123Authorization: Bearer cv_YOUR_KEYResponse:
{ "session_id": "mpp_abc123", "spent_cents": 230, "remaining_cents": 4770, "call_count": 47, "status": "active", "expires_at": "2026-03-18T13:00:00Z"}Session Limits
When the session exhausts its spending limit:
{ "error": "Session exhausted", "spent_cents": 5000, "limit_cents": 5000}Create a new session to continue.
Supported Currencies
- USD (via Stripe)
- USDC (via Tempo)
- EUR (via Stripe)
Use Cases
- Autonomous agent spending
- Streaming micropayments
- Time-limited access
- Budget-controlled automation
Status
MPP is new (launched 2026-03-18). Check availability:
GET /mpp/statusIf unavailable, use x402 or API keys instead.