Charge for your AI app in stablecoins. From people or agents.
Sell credits, plans and API access priced in dollars. Users pay from any wallet, agents pay over HTTP 402, and USDC, USDT or native BTC lands in your wallet.
Credit packs your users can pay for in a minute
Inference costs per request, but charging per request on chain is wasteful. Sell a pack of credits in one invoice, store the balance against the account, and draw it down per prompt, image or API call. Open the checkout inside your app with the React checkout or the widget.
- Price packs and plans in dollars, from $1 up
- Users pay in USDC, USDT, ETH, SOL, BTC and other tokens on EVM chains, Solana and Tron
- Up to 20 metadata keys per invoice: account, pack size, API key ID
- Exact amount, network warning and a countdown on every payment
Agents can pay the same invoice
Every invoice has an agent endpoint. A call with no body answers 402 Payment Required with the assets it accepts, x402-style; the agent picks one, gets a deposit address and pays it, with no browser. The payment, the webhooks and the fee are the same as for a person. See x402 payments for how this compares with a facilitator.
POST /v0/checkout/{id}/agent: no API key and no client secret needed to pay- Every agent payment is tagged
channel: "agent"on the invoice and its webhooks - Top up credits on
invoice.paid, which fires only once the money is yours - The MCP server lets your coding agent set up the integration
Revenue in your wallet, priced like your costs
Model providers bill you in dollars, so earning in a dollar stablecoin keeps the margin readable. Each payment settles to the address you registered. We never hold it, so there is no payout minimum, no payout schedule and no account to freeze.
- USDC on Base, Arbitrum, Ethereum, Solana or Polygon
- USDT on Tron, Ethereum, Arbitrum or BNB Smart Chain
- 0.4% per completed payment, with no fixed fee, so small packs keep their margin
- Settlement addresses change only from the dashboard, after a 24-hour wait
Try the real checkout
This is the checkout your customers get, running in test mode. Walk through a payment the way they would.
What your customer sees
- The price in dollars first, then the token and network to pay with
- Connect a wallet, or send manually from an exchange
- The exact amount, a deposit address with a QR code, and a countdown
- A refund address, so a payment that can't complete goes back to them
Test modeNo wallet is connected and no money moves. Choose “Send manually” to see every step through to paid.
0.4% per payment.
No setup, monthly or payout fees. You receive USDC or USDT on Base, Arbitrum, Ethereum and more, or native bitcoin.
import { createClient } from "@intents-fi/sdk";
const intents = createClient({ apiKey: process.env.INTENTS_API_KEY });
const invoice = await intents.checkout.invoices.create({
amount: "20.00",
reference: `credits_${accountId}_${Date.now()}`,
description: "2,000 credits",
metadata: { accountId, credits: "2000" },
});
// A person: open invoice.url, or <CheckoutEmbed invoiceId={invoice.id} clientSecret={invoice.clientSecret} />
// An agent: POST https://api.intents.fi/v0/checkout/${invoice.id}/agent
// On invoice.paid: add metadata.credits to metadata.accountId
# 1. What does this invoice accept? (402 Payment Required)
curl -s -X POST https://api.intents.fi/v0/checkout/$INVOICE_ID/agent
# 2. Ask for a deposit address in one of the accepted assets
curl -s -X POST https://api.intents.fi/v0/checkout/$INVOICE_ID/agent \
-H 'content-type: application/json' \
-d '{"asset":"<caip asset from accepts[]>","mode":"transfer","refundTo":"<agent wallet>"}'
Or let your agent set it up
Paste one prompt into Claude Code, Cursor or Codex. It installs the SDK, creates a test invoice route and a verified webhook handler, and proves it with a test payment.
Questions
Short answers. The docs go deeper.
How do I charge for my API in USDC?
Sell access in prepaid credits or plans. Create an invoice in dollars for each purchase, choose USDC as what you receive, and credit the account when `invoice.paid` arrives. Users can pay in USDC or any other token they hold; it settles to your wallet as USDC.
Can AI agents pay my app without a person?
Yes. Each invoice has an agent endpoint that answers HTTP 402 with the assets it accepts. An agent with a funded wallet picks one, gets a deposit address and pays it, with no browser. You see the payment tagged as coming from an agent.
Is this a per-request x402 facilitator?
No. The agent endpoint pays an invoice, from $1, in any accepted token. For fractions of a cent per request, sell credits in one payment and meter usage in your app. Our x402 guide compares the two approaches.
What does a $20 credit pack cost me?
$0.08. The fee is 0.4% of each completed payment, with no fixed part and no setup, monthly or payout fee, so a small pack keeps nearly all of its margin.
Can my coding agent set this up?
Yes. Paste one prompt into Claude Code, Cursor or Codex. It installs the SDK, adds an invoice route and a verified webhook handler, and proves it with a test payment, all in test mode.