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 24 October 2026Wall Card-only checkoutFor agents Markdown

What agents hit

Our agent got as far as paying at 45 of 151 products. At 30 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.

  • Free, after a fix. Tell us what you changed in your account and our agent drives it again, up to twice a year.
  • An Audit Drive, $499. We drive you again after your fixes, within your Audit year. A certificate once an agent can use it fully with no person.

Where our agent stopped in each.

6 products in this guide, by level.

  • AgentMailEmail infrastructure
    • Learn: Docs it can act on: llms.txt, an OpenAPI and an MCP server.
    • Access: Key by API.
    • Use: 100% of the work.
    • Pay: Reaches the checkout: An agent payment for part of its API, none made yet.
    • Leave: Nothing to cancel; its account stays.
    L4Runs on its ownDriven 14 Oct 2026
  • ParallelSearch APIs
    • Learn: Docs it can act on: llms.txt, an OpenAPI and an MCP server.
    • Access: No key needed, pay per call, sign-up in a browser.
    • Use: 80% of the work.
    • Pay: Pays per call for part of it: Paid $0.01 to $0.10 a call (x402), 15 Oct.
    • Leave: Nothing to cancel; its account stays.
    L4Runs on its ownDriven 15 Oct 2026
  • BrowserbaseBrowser infrastructure
    • Learn: Docs it can act on: llms.txt, an OpenAPI and an MCP server.
    • 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 inDriven 13 Oct 2026
  • ExaSearch APIs
    • Learn: Docs it can act on: llms.txt, an OpenAPI and an MCP server.
    • Access: No key needed, pay per call.
    • Use: 20% of the work.
    • Pay: Pays per call for part of it: Paid $0.001 to $0.012 a call (x402), 15 Oct.
    • Leave: Leaves on its own: Nothing to cancel, made nothing to delete.
    L2Gets inDriven 15 Oct 2026
  • ApifyWeb scrapingpays per use without an account
    • Learn: Docs it can act on: yes: llms.txt, an OpenAPI and an MCP server.
    • Access: Signs up sometimes: partly.
    • Use: 89% of the work: yes.
    • Pay: Pays on its own: yes: Paid $1 for prepaid credit (x402), 16 Oct.
    • Leave: Nothing to cancel: yes: What it made goes after 14 days.
    Gets in 1 of 3 drives; a bot check can stop it
    L1Needs a personDriven 16 Oct 2026
  • Brave Search APISearch APIs
    • Learn: Docs it can act on: yes: llms.txt, an OpenAPI and an MCP server.
    • 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 personDriven 14 Oct 2026

Pages this guide cites.

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

  1. 1docs.cdp.coinbase.com · x402 on Coinbase Developer Platformx402/welcome↩
  2. 2github.com · x402 over HTTPx402-foundation/x402/blob/main/specs/transports-v2/http.md↩
  3. 3github.com · x402 specification, version 2x402-foundation/x402/blob/main/specs/x402-specification-v2.md↩
  4. 4ietf.org · The Payment HTTP authentication scheme (MPP)archive/id/draft-httpauth-payment-01.txt↩
  5. 5docs.stripe.com · Machine paymentspayments/machine↩
  6. 6docs.x402.org · x402: the facilitatorcore-concepts/facilitator↩
  7. 7docs.stripe.com · x402 on Stripepayments/machine/x402↩
  8. 8docs.cdp.coinbase.com · CDP Facilitatorx402/seller/facilitator↩
  9. 9paymentauth.org · MPP payment discoverydraft-payment-discovery-01↩
  10. 10mpp.dev · MPP: discoveryadvanced/discovery↩
  11. 11vercel.com · Vercel MCP now supports purchaseschangelog/vercel-mcp-now-supports-purchases↩
  12. 12docs.stripe.com · Stripe Projectsprojects↩

Asked about this guide.

Does a card checkout count toward L5?

Only a real purchase. L5 needs everything in L4 and a payment our agent made, which we checked: over x402 or MPP, or one purchase at your checkout with your discount code (a Payment proof, at cost). A checkout an agent could finish but didn't pay shows as Ready to pay. A proven payment counts for 90 days. 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.” 24 October 2026. agentdrives.com/guides/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.