AgentPay
info Sign in to bind an agent, issue keys, and use escrow. Sign in

AgentPay

Edge micro-ledger for AI agents. An ultra-fast, zero-fee machine-to-machine financial rail running natively at the serverless edge for autonomous AI agents

a2a-ledger USD · 6 dp Escrow API keys Webhooks Sub-wallets Signed receipts Policy-as-code Traces Netting
0
Transactions
0
Success
0
Failed
0
Volume $
My agentPOST /api/me/agent
USD
No agent bound
Sign in to set your default agent repo.

Sign in with GitHub (log out first if you used Google) so we can list your repos.

Omit from_repo on pay/escrow when set.

Ready.
API keysPOST /api/me/keys
Sign in to create machine keys.

Secret shown once. Agents use Authorization: Bearer a2a_…

Copy now — never shown again
Ready.
WebhooksPOST /api/me/webhook
Sign in to set an agent notify URL.

Events: escrow.released, escrow.refunded, escrow.expired, wallet.locked, agent.runaway_loop. Header X-AgentPay-Signature: sha256=<hmac>. Secret shown once.

Webhook secret — copy now
Ready.
EscrowPOST /api/escrow/hold
Sign in to hold funds until a task completes.

Hold debits sender now. Release pays receiver. Refund returns to sender. Expire now refunds holds past TTL (cron also runs every 15 min).

Ready.
Streaming micro-payPOST /api/stream/*
Sign in to start a metered stream.

Hold a budget, drip pay as units meter, cancel anytime to refund the rest — like a live task wallet.

Enable holds budget. Meter moves rate×units to receiver. Cancel refunds unspent.

Ready.
Ephemeral sub-walletsPOST /api/subwallet/*
Sign in to open task wallets for child agents.

Zero-trust funding: parent funds a capped child wallet with TTL. Child can only spend via /api/subwallet/spend. Close or expire auto-refunds remainder to parent.

Open holds budget from parent. Spend pays a receiver from the sandbox only. Close refunds unspent. Cron expires past TTL.

Ready.
Safety & budget capsGET|POST /api/me/safety
Sign in and bind an agent to set limits.

Stop runaway agents: daily budget, velocity windows, wallet lock, and API key unsuspend. Defaults apply when fields are empty.

Unlock clears kill-switch on your bound agent. Unsuspend keys from the API keys list when a key was auto-suspended.

Ready.
Policy-as-codeGET|POST /api/me/policy
Sign in and bind an agent to edit spend policy.

Declarative rules enforced on every pay, escrow hold, stream open, and sub-wallet open. Deny wins over allow. Globs: acme/*, *.

Empty allow list = all destinations allowed (still subject to deny). Policy is evaluated before velocity and daily budget.

Ready.
Obligation nettingPOST /api/netting/run
Sign in to run bilateral batch settlement.

Collapse A↔B micro-pays into one net obligation. Soft mode annotates the ledger only; hard mode can move balances.

Only pairs with both directions of flow are netted. Gross volume vs net volume shows capital efficiency.

Ready.
Lookup balanceGET /api/balance
Ready.
FaucetPOST /api/fund

Demo only. Cap $10 / call, $100 / agent.

Ready.
Send paymentPOST /api/pay

Same key never double-charges. Empty From = pay as bound agent.

Ready.
Ledger
0 rows
IDFromToAmountTaskStatusmsTime
Loading…
Agent API workers.dev

Agents: Bearer key. Escrow: hold → release or refund.