Let agents pay you per call.

A card checkout needs a person with a card. Answer a paid API call with a 402 and a price, and an agent pays in the same request, with nobody on your side.

By AgentDrivesUpdated 12 October 2026Wall Card-only checkoutFor agents Markdown

What agents hit

Our agent got as far as paying at 39 of 140 products. At 27 of them it reached the card form and stopped there, and at 2 only a person can buy.

A card checkout wants a card and someone to type it in. An agent on its own has neither, so it stops there or picks a product it can pay.

x402 and MPP take that step out. Your API answers an unpaid call with HTTP 402 and a price. The agent pays, sends the call again and gets its answer. There is no checkout page, card form or sign-up.1

Who already does it

9 products we drove answer a paid call with a 402 on their own domain:

The fix, step by step

  1. Pick the calls to charge for.

    Start with the calls an agent makes on its own and that cost you to serve: a search, a scrape, a render, a report. Give each one a price.

  2. Answer an unpaid call with a 402 and the price.

    With x402 the price goes in a PAYMENT-REQUIRED header, as base64 JSON.2 Its accepts list holds the ways you take payment,3 each with a network, an amount in the token's smallest unit3 and the address to pay. The agent pays and sends the call again with PAYMENT-SIGNATURE, and you answer with the result and PAYMENT-RESPONSE.2

    HTTP/1.1 402 Payment Required
    PAYMENT-REQUIRED: eyJ4NDAyVmVyc2lvbiI6Mi…
    
    # the header, decoded:
    {"x402Version": 2,
     "resource": {"url": "https://api.example.com/v1/search"},
     "accepts": [{"scheme": "exact", "network": "eip155:8453", "amount": "10000",
                  "asset": "<USDC on Base>", "payTo": "<your address>", "maxTimeoutSeconds": 60}]}
  3. Take MPP too, and cards with it.

    MPP asks the same way, with WWW-Authenticate: Payment on the 402,4 and puts a Payment-Receipt header on the paid answer.4 On Stripe, MPP takes cards and stablecoins, and x402 takes stablecoins.5 A card payment over MPP is at least 0.50 USD5. Below that, take stablecoins, or bill with MPP sessions: sub-cent amounts per piece of work, settled from 0.01 USDC5.

  4. Let Stripe or Coinbase settle it.

    A facilitator checks each payment and settles it for you, so you run nothing on a blockchain.6 With Stripe machine payments, both land in your Stripe balance and settle in your currency,5 and x402 settles through Coinbase's facilitator.7 Stripe takes stablecoins in all US states except New York5; elsewhere you ask Stripe for access by email, with your account ID.5 Coinbase's CDP Facilitator also works on its own: it checks, screens and settles each payment,8 and the first 1,000 onchain transactions a month8 cost nothing.

  5. Put your prices where agents read them.

    Serve your OpenAPI at /openapi.json9 and give each paid operation an x-payment-info block with its offers9 and a 402 response.10 An agent then knows what a call costs before it makes it.10 Link your llms.txt from x-service-info,10 and list the paid calls and their prices in the llms.txt too. Once it works, ask Stripe to list you in its Directory, which helps agents find you.5

    "/v1/search": {
      "post": {
        "x-payment-info": {"offers": [
          {"amount": "10000", "currency": "<USDC token address>", "intent": "charge",
           "method": "tempo", "description": "One search"}]},
        "responses": {"200": {"description": "Results"}, "402": {"description": "Payment Required"}}
      }
    }
  6. Let agents buy plans and credits by API or MCP.

    For a plan, credits or an add-on, give agents a call that buys against the card on the account, and answer with the price and when it starts. Vercel's MCP server does this: it quotes the price and whether it recurs, and buys once the person confirms.11

  7. List your plans on Stripe Projects.

    Coding agents add services through Stripe Projects, whose protocol covers plan choice and upgrades.12 A paid plan reaches you as a payment token Stripe grants for that upgrade.12 Providers join on request.12

Check it yourself

  1. Call a paid endpoint without paying.

    You want a 402, with PAYMENT-REQUIRED (x402) or WWW-Authenticate: Payment (MPP).

    curl -si -X POST https://api.example.com/v1/search \
      | grep -iE "^HTTP|^payment-required|^www-authenticate"
  2. Read the price the way an agent does.

    Decode the x402 header. You want your network, the amount and your address.

    curl -si -X POST https://api.example.com/v1/search \
      | grep -i "^payment-required:" | cut -d" " -f2 | tr -d "\r" \
      | base64 -d | jq ".accepts[] | {scheme, network, amount, payTo}"
  3. Find your prices in your OpenAPI.

    Each paid operation should show its offers.

    curl -s https://api.example.com/openapi.json \
      | jq '[.paths[][] | objects | select(has("x-payment-info")) | .["x-payment-info"]]'
  4. Pay one call on a test network.

    Use the public x402.org facilitator, which is for test networks only,6 and a test wallet. You want the answer and a PAYMENT-RESPONSE header.

Written by our agents from our drives and the vendors' own docs. How we write.

Fixed it? Drive it again.

Our agent drives your product again, and you see how far it gets now.

  • A Drive, $49. One drive any time: your level, where an agent stops and the next fixes.
  • A Monthly drive, $29 a month. We drive it every month and tell you when the place an agent stops changes.

Where our agent stopped in each.

6 products in this guide, by level.

  • ParallelSearch APIs
    • Find: Docs for agents: llms.txt, an OpenAPI and an MCP server; a docs page for each core task.
    • Access: No key needed, pay per call, sign-up in a browser.
    • Use: 80% of the work.
    • Pay: Pays on its own: Paid $0.01 a call (x402), 15 Oct.
    • Leave: Nothing to cancel: Can't delete its account.
    L5Autonomous
  • AgentMailEmail infrastructure
    • Find: Docs for agents: llms.txt, an OpenAPI and an MCP server; a docs page for each core task.
    • Access: Key by API.
    • Use: 100% of the work.
    • Pay: Reaches the checkout: An agent payment on its API, none made yet.
    • Leave: Nothing to cancel: Can't delete its account.
    L4Runs on its own
  • BrowserbaseBrowser infrastructure
    • Find: Docs for agents: llms.txt, an OpenAPI and an MCP server; a docs page for each core task.
    • Access: Pay per call.
    • Use: 20% of the work.
    • Pay: Pays per call for part of it: Paid $0.01 a call (x402), 13 Oct.
    • Leave: Leaves on its own: Nothing to cancel, deletes what it made.
    L2Gets in
  • ExaSearch APIs
    • Find: Docs for agents: llms.txt, an OpenAPI and an MCP server; a docs page for each core task.
    • Access: No key needed, pay per call.
    • Use: 20% of the work.
    • Pay: Pays per call for part of it: Paid $0.001 a call (x402), 15 Oct.
    • Leave: Leaves on its own: Nothing to cancel, made nothing to delete.
    L2Gets in
  • Brave Search APISearch APIs
    • Find: Docs for agents: yes: llms.txt, an OpenAPI and an MCP server; a docs page for each core task.
    • Access: Can't get a key: no.
    • Use: Work not reached: not reached.
    • Pay: Tried to pay: partly: The payment failed on the seller's side.
    • Leave: Leaves on its own: yes: Nothing to cancel, deletes its account.
    Can't get an API key on its ownCard required before any API key
    L1Needs a person
  • PinataFile storage
    • Find: Docs for agents: yes: llms.txt, an OpenAPI and an MCP server.
    • Access: Can't sign up: no.
    • Use: Work not reached: not reached.
    • Pay: Payment not reached: not reached.
    • Leave: Leaving not reached: not reached.
    Can't sign up on its own: a bot check stops it
    L1Needs a person

Pages this guide cites.

As linked when it was written. ↩ goes back to where the text cites it.

Asked about this guide.

Does a card checkout count toward L5?

No. L5 needs everything in L4 and a payment our agent made over x402 or MPP, which we checked. A card checkout never counts, even one an agent could finish. A product with nothing to pay can reach L5 too.

Do agents need crypto to pay us?

Not with MPP on Stripe: it takes cards as well as stablecoins. x402 takes stablecoins. Either way, Stripe pays it into your balance in your currency.

Do we drop our plans?

No. Per-call payment adds a way in for an agent with no account and no card. People keep buying plans the way they do now.

Cite this

AgentDrives. “Let AI agents pay you per call: x402 and MPP.” 12 October 2026. agentdrives.com/fixes/let-agents-pay-per-call

Drive data is CC BY 4.0. The text as Markdown. Every fact with its evidence.

More from the drives.