Charge per request in any token. Agents pay without a gas fee per call.
Paytick brings x402 batch payments to Robinhood Chain: one deposit opens a channel, then every request is a signed voucher, and thousands of them settle in a single transaction. USDG or any ERC20 the seller picks, $AIMCAP included. Built on the official x402 contracts and SDK. No fees, no custody, spend caps for agents.
- 0
- fees. Sellers settle with their own key
- 3
- transactions for 10,000 paid requests
- Any
- ERC20: USDG by signature, others through Permit2
- 7.7 ms
- per paid request, measured on a mainnet fork
How a channel works
The x402 batch-settlement scheme, on the contracts already deployed on Robinhood Chain.
- 01
402
An unpaid request gets 402 Payment Required, offering batch-settlement and exact, priced in the tokens the seller takes (USDG by default, any ERC20 it adds).
- 02
One deposit
The first payment opens a channel: the buyer signs a deposit (EIP-3009 for USDG, Permit2 for any other ERC20), the seller submits it. One transaction.
- 03
Vouchers
Every later request carries a signed voucher for the new running total. Checked locally in milliseconds; no gas, no chain call.
- 04
Claim + settle
The seller claims up to 50 channels in one transaction, then sweeps the tokens to its wallet. The buyer can refund or exit any time.
Base has Coinbase. Robinhood Chain had the contracts and nothing else.
The x402 contracts sit at the same addresses on both chains. Everything around them, the facilitator, the stablecoin wiring, the tooling, stopped at Base.
| Base + Coinbase CDP | Robinhood Chain before | With Paytick | |
|---|---|---|---|
| x402 contracts | Deployed | Deployed (same addresses) | Uses them as-is. Deploys nothing |
| Hosted facilitator | Coinbase CDP | None. CDP covers Base, Polygon, Arbitrum, Monad, World, Solana | Verify-only facilitator, zero keys, live |
| Default stablecoin in the SDK | USDC built in | USDG not in the default list | USDG wired in: EIP-712 domain checked against the chain |
| Other tokens | Opt-in per asset, Permit2 | Nothing set up | Any ERC20 the seller picks: Permit2 detected, one approval, then signatures. $AIMCAP tested |
| Fees | 1,000 tx/month free, then $0.001 a tx | n/a | None. Gas only, about 0.02 gwei |
| Who settles | The facilitator, for you | Nobody | You, with your own key, on a schedule |
| Channel storage at scale | Memory, file or Redis | Same | Durable Object per channel + D1 index |
| Agent spend caps | Per-payment USD cap | Same | Per request, per seller per day, per day, per channel, allowlist, owner token |
| MCP for agents | Client helpers | Same | 10 tools: pay, channels, refunds, limits, reports |
| Compliance screening | OFAC / KYT on CDP | None | None in V1. Bring your own if you need it |
| Discovery | Bazaar | None | Open registry of tokens and facilitators (PR + review) |
Coinbase CDP facts from its x402 docs (November 2026). Paytick V1 has no compliance screening and no privacy; both are listed as gaps on purpose.
Any ERC20. The agents choose.
Sellers list the tokens they take; buyers list the tokens they pay with, each with its own caps. Paytick works out how each token is paid.
USDG and other EIP-3009 tokens
- Paid by signature alone: deposits and exact payments are signed, the seller submits them.
- No approval, no ETH needed by the buyer.
- Detected automatically from the token’s EIP-712 domain.
Any other ERC20 ($AIMCAP, pons tokens…)
- Paid through Permit2, already deployed on Robinhood Chain.
- The first payment in a token sends one approval (about 46,000 gas, a fraction of a cent); after that, signatures only.
- Caps in the token’s own units, so a price swing never stretches a dollar cap.
- Skip fee-on-transfer and rebasing tokens: channels need exact transfers.
Sell: put a price on a route
An unpaid call gets a 402 offering both schemes. Vouchers are checked in your process; your key settles on your schedule.
import { Hono } from 'hono'import { privateKeyToAccount } from 'viem/accounts'import { createSeller } from 'paytick/seller'import { NETWORKS } from 'paytick'const USDG = NETWORKS['eip155:4663'].usdg.addressconst AIMCAP = '0x4EC65c12f4a02cf4A4A4a9843a2e995A42215Eae' // or any ERC20import { paytick } from 'paytick/hono'const seller = createSeller({ account: privateKeyToAccount(process.env.SELLER_KEY), tokens: [USDG, AIMCAP], // any ERC20s you want to take})const app = new Hono()app.use(paytick(seller, { 'GET /weather': '$0.001', // USDG 'POST /summarize': [{ amount: '$0.01' }, { amount: 25, token: 'AIMCAP' }],}))app.get('/weather', (c) => c.json({ temp: 31 }))// every 5 min: claim vouchers, sweep every token to your walletsetInterval(() => seller.runSettlement(), 300_000)import { DurableChannelStorage, d1History, onCron, onQueue } from 'paytick/cloudflare'export { PaytickChannel } from 'paytick/cloudflare'const storage = new DurableChannelStorage(env.PAYTICK_CHANNELS, env.PAYTICK_DB)const seller = createSeller({ account, storage, lockStorage: storage, onEvent: d1History(env.PAYTICK_DB) })export default { fetch: app.fetch, scheduled: (_e, env) => onCron(seller, env.PAYTICK_QUEUE), // */5 * * * * queue: (batch, env) => onQueue(seller, batch), // retries, one run at a time}Settlement policy (defaults)
| Claim a channel | Unclaimed ≥ 1 USDG (any other token: its own claimMin), or the oldest unclaimed voucher is ≥ 6 h old, or the buyer started a withdrawal |
| Per claim transaction | Up to 50 channels: withdrawals first, then the biggest |
| Settle to your wallet | Claimed ≥ 5 USDG (other tokens: settleMin), or 24 h since the last sweep; one sweep per token |
| Withdraw delay | 86,400 s: a buyer’s exit waits a day, so the seller can always claim what was spent first |
| Gas guard | A run is skipped above 2 gwei (Robinhood Chain sits around 0.02) |
| Schedule | Cron every 5 minutes into a Queue: retried on failure, never two at once |
Also in the seller
- Signed webhooks for payment, claim, settle, refund and withdrawal events (HMAC-SHA256).
- Seller-side refunds and buyer-requested cooperative refunds.
- Token allowlist from the registry: a disabled token is refused at verify and settle.
- Optional remote verify through any facilitator; settling always stays with you.
- Payment history in D1 on Workers.
Buy: an agent that can’t overspend
Caps are mandatory, checked and reserved before anything is signed. A payment the seller refuses goes back under the cap.
import { createBuyer, fileStore } from 'paytick/buyer'const AIMCAP = '0x4EC65c12f4a02cf4A4A4a9843a2e995A42215Eae'const buyer = createBuyer({ account: privateKeyToAccount(process.env.AGENT_KEY), limits: { maxPerRequest: '$0.05', maxPerSellerPerDay: '$2', maxPerDay: '$10', maxDepositPerChannel: '$5', }, tokens: [{ token: AIMCAP, limits: { maxPerRequest: 100, maxPerSellerPerDay: 5_000, maxPerDay: 20_000, maxDepositPerChannel: 5_000 } }], ownerToken: process.env.OWNER_TOKEN, // only the human can raise caps store: fileStore('./paytick.json'),})const res = await buyer.fetch('https://api.example.com/weather')import { x402Client } from '@x402/core/client'import { BatchSettlementEvmScheme } from '@x402/evm/batch-settlement/client'import { wrapFetchWithPayment } from '@x402/fetch'const client = new x402Client()client.register('eip155:4663', new BatchSettlementEvmScheme(signer))client.setSpendControls({ allowedAssets: [{ network: 'eip155:4663', asset: USDG }] })const pay = wrapFetchWithPayment(fetch, client)Any official x402 v2 client pays a Paytick seller. USDG on Robinhood Chain is not in the SDK’s default asset list yet, so it needs the one allowedAssets line.
MCP: give an agent a wallet with limits
Add one server to Claude, Cursor or any MCP client. The agent pays; only the human changes the caps.
{ "mcpServers": { "paytick": { "command": "npx", "args": ["-y", "paytick-mcp"], "env": { "PAYTICK_KEY_FILE": "/path/to/agent.key", "PAYTICK_LIMITS": "{\"maxPerRequest\":\"$0.05\",\"maxPerSellerPerDay\":\"$2\",\"maxPerDay\":\"$10\",\"maxDepositPerChannel\":\"$5\"}", "PAYTICK_TOKENS": "[{"token":"0x4EC6…5Eae","limits":{"maxPerRequest":100,…}}]", "PAYTICK_OWNER_TOKEN": "kept by the human" } } }}pay_fetch | Fetch a URL and pay its 402 (batch-settlement first, exact otherwise) |
list_channels | Open channels: seller, escrow, claimed, pending withdrawal |
channel_balance | One channel: escrowed, claimed, still spendable |
top_up | The next request to that seller deposits more, inside the deposit cap |
refund | Cooperative refund of the unspent balance, at once |
request_withdrawal / withdraw | The exit that needs nobody’s help: start it, finish after the delay |
get_limits / set_limits | Read the caps; changing them needs the owner token |
spend_report | Spend per day and per seller |
The facilitator holds nothing
https://paytick.api.8004.im verifies with a read-only signer. No key, no ETH, no fee. Run your own copy in one deploy.
| GET | /supported | exact + batch-settlement on eip155:4663 and eip155:46630; no signers |
| POST | /verify | The official @x402/evm checks with a read-only signer, plus the token allowlist |
| POST | /settle | Always { success: false, errorReason: "self_settlement_required" } |
| GET | /health | RPC reachability and block height per network |
| GET | /registry/tokens.json | The token allowlist it enforces |
Contracts on Robinhood Chain (4663)
| x402BatchSettlement | 0x4020074e…a10003 |
| ERC3009DepositCollector | 0x40208060…550004 |
| Permit2DepositCollector | 0x4020425F…7B0005 |
| x402ExactPermit2Proxy | 0x402085c2…E20001 |
| USDG | 0x5fc5360D…F1d168 |
Same x402 addresses on testnet (46630). USDG: EIP-712 “Global Dollar”, version “1”, 6 decimals.
Tested on a mainnet fork
- 10,000 paid requests on a Robinhood mainnet fork: 1 deposit, 1 claim, 1 settle. 3 seller transactions, 0 from the buyer.
- $AIMCAP over Permit2: 20 paid requests = 1 approval from the buyer + 1 deposit; claimed and swept to the seller. Exact in $AIMCAP too.
- The official x402 v2 client pays a Paytick seller, both schemes.
- One voucher replayed 100 times in parallel: accepted once.
- 100 parallel requests from one buyer: 100 served, each charged exactly once.
- Caps (per request, per seller per day, allowlist, deposit cap, owner token), a disabled token, a cooperative refund, and the withdraw-after-delay exit.
- The Cloudflare path (Durable Object per channel + D1) under wrangler dev: every served request charged once.
Questions
Is there a fee?
No. Paytick takes nothing and the facilitator charges nothing. The seller pays gas for the deposit, claim and settle transactions; on Robinhood Chain that is a fraction of a cent.
Who holds the money?
The audited x402 batch-settlement contract. A buyer’s deposit sits in its channel; the seller can only claim what the buyer signed vouchers for. Nobody else can move it.
What if a seller disappears?
The buyer starts a withdrawal on chain and takes the unspent balance back after the 24 h delay. No permission needed.
Do I have to use Paytick on both sides?
No. A Paytick seller speaks plain x402 v2; the official client pays it. The Paytick buyer pays any x402 v2 seller on Robinhood Chain.
Is it private?
No. Deposits, claims and settles are public transactions. Vouchers stay between buyer and seller until claimed in a batch.
Which tokens?
Any ERC20. The seller lists the tokens it takes and prices each route in one or several of them; the buyer lists the tokens it pays with, each with caps in its own units. USDG (EIP-3009) needs only signatures. Other tokens go through Permit2: the first payment in a token sends one approval transaction, then it is signatures again. Avoid fee-on-transfer and rebasing tokens.
Testnet?
Yes: eip155:46630 has the same contracts and a test USDG. Pass network: "eip155:46630".
The payment rail for agents on Robinhood Chain
Paytick is free and open. It is part of Agent Market, the marketplace for ERC-8004 agents on Robinhood Chain, whose products buy back and burn $AIMCAP. Sellers can take $AIMCAP as payment, and agents can pay in it.