Payment plan: which rail to pay a verified payee on
Plan a payment to a payee before paying it: from its verified record (company, sanctions, signed wallets) and the rails it accepts (x402 USDC, MPP, card checkout, SEPA Instant, Swish), the best rail for the amount and currency and exactly what to pay where, plus finality, chargebacks and how to get a receipt. Never pays, routes or holds money. Use before paying when the buyer can pay several ways.
Inputs
| Name | Type | Description |
|---|---|---|
domain (required) | string | The payee's domain, e.g. shop.example.com |
amount | number | Amount to pay, in currency (optional; used for rail minimums) |
currency | string | ISO currency of the price: USD (default), EUR, SEK… USDC counts as USD |
can | string | Rails the buyer can pay on, comma-separated: x402, mpp, card, sepa-instant, swish (default all) |
network | string | Only x402 rails on this network, e.g. base |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/payee/plan?domain=agent-data-tools.revmesh2074.workers.dev"
Or one of your 3 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/payee/plan?domain=agent-data-tools.revmesh2074.workers.dev&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"domain": "agent-data-tools.revmesh2074.workers.dev",
"verdict": "partial",
"chosen": {
"rail": "x402",
"score": 70,
"final": true,
"chargebacks": false,
"instruction": {
"network": "base",
"asset": "USDC",
"payTo": "0x6293ded2684F1A76E26bEcef87c137D691Fbf800",
"amount": 0.01,
"how": "send USDC on this network to payTo"
},
"proof": "after paying: /x402/receipt?hash=<transaction hash> for a filed receipt",
"notes": [
"0x6293ded2684F1A76E26bEcef87c137D691Fbf800 is declared but not proven by a signature"
]
},
"options": [],
"excluded": [
{
"rail": "x402",
"excluded": "on solana, not base"
}
],
"reasons": [
"no registered business is declared, so the payee is a domain and its wallets, not a verified company"
],
"attestation": {
"alg": "EdDSA",
"kid": "…",
"signature": "…"
},
"note": "A plan tells your own wallet or payment provider what to do. Nothing is paid, routed or held by this service."
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is payee_plan, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp