Repository navigation
Card Payments
Payment wires: every paid endpoint accepts x402 and MPP (Machine Payments Protocol) on the same 402 - see Paying with x402 and Paying with MPP. Agent402 is the applied layer of Agentic Finance: agents that pay and get paid on their own.
People without a wallet buy report products and monitors by card at /reports and /monitors; an agent can pay a card over the MPP wire on the routes that offer it. This page is for running the card side on your own server; the buyer side is in Reports and Monitors.
| Setting | Effect |
|---|---|
STRIPE_SECRET_KEY |
Mounts the card front door: /reports checkout, /monitors subscriptions, /credits and the credits gate. Unset, none of it is mounted; the /v1 report routes still sell over x402 and MPP |
STRIPE_WEBHOOK_SECRET |
Verifies the Stripe webhook (subscription status, invoices, credits purchases, refunds and disputes). The webhook is verified only when set |
STRIPE_PROFILE_ID |
With the secret key, adds cards over the MPP wire (stripe/charge with Shared Payment Tokens) on the routes priced high enough to carry a card payment |
STRIPE_AUTOMATIC_TAX |
true adds Stripe Tax to every Checkout Session (turn on Stripe Tax in the dashboard first) |
EMAIL_FROM with ZEPTOMAIL_TOKEN or RESEND_API_KEY
|
Emails report links, monitor reports and credits keys. Without them the card pages still work and the report link is shown on the page |
A card payment is never settled before its run. Card refunds are made by a person, never on a schedule.
Every Stripe variable is in the configuration reference. See also Credits and Troubleshooting.
agent402.tools - the applied layer of Agentic Finance: 500+ pay-per-call tools for AI agents over x402 and MPP (Paying with x402 · Paying with MPP · Glossary) · synced from wiki/ in the main repo - edit there, not here.
All other product and company names are trademarks of their respective owners. Naming them describes compatibility or a data source and does not imply affiliation with, or endorsement by, them.
For agents and buyers
- Getting Started
- Agentic Finance
- Why Pay Here
- Reports and Monitors
- Paying with x402
- Paying with MPP
- Solana (USDC)
- Stellar (USDC)
- Algorand (USDC)
- Robinhood Chain (USDG)
- Arc (USDC)
- Ink (USDC)
- Circle Gateway (batched USDC)
- Sessions and Channels
- Credits keys
- Paying with Compute
- Buying at Volume
- Content Pipeline
- MCP Connector
- Adapters
- agent402-client - the buyer SDK
- Amazon Bedrock AgentCore
- Decide - describe a job, get a plan
- Tool Catalog
- Skill Packs
- x402 Index and Router
- Seller Reputation
- x402 Leaderboard
- LLM Gateway (OpenAI /v1)
- LLM Proxy Gateway
- Image Generation Gateway
- Text-to-Speech
- Speech-to-Text
- Text Embeddings
- Payments and x402
- Audit Report - a wallet's signed history
- Memory and Coordination
Tollbooth (for site owners)
- Pay-per-crawl - what it is, install, modes
- Pay-per-crawl Walkthrough - 5-min hands-on
- Tollbooth for Agencies - many-site playbook
Website & Developer
- Reports · Monitors - by card
- Quickstart - first call in 60 seconds
- Playground - try tools in your browser
- SDK REPL - live code editor
- API Explorer - browse OpenAPI
- Adapter Docs - per-framework guides
- Workflows - chaining patterns
- Blog · Changelog
Under the hood
- Architecture
- Security Model
- Operations
- Self-Hosting
- Configuration - every setting
- Tempo (operator setup)
- Card Payments (operator setup)
- Troubleshooting
- Upgrading
- Contributing
- API guide