Add autonomous machine-to-machine escrow to your payment stack in under a day. One API. Any language. Patent pending technology built on the x402 open standard.
Built for integration with
The A2A Escrow with Message Protocol enables three transformative payment scenarios that existing infrastructure cannot handle.
An AI agent orders services, data, or compute from another AI agent. Payment is held in escrow atomically with the request. The receiving agent executes the task and releases funds on completion โ no human in the loop.
Industrial sensors, smart devices, and logistics systems transact autonomously. A delivery drone pays a charging station. A factory machine orders parts. Payment and instruction arrive in one atomic HTTP call.
A business books a provider โ freelancer, SaaS API, or subcontractor. Payment is locked in escrow with the work order. The provider accepts, delivers, and releases funds โ dispute resolution built in.
The entire escrow lifecycle runs inside a single HTTP request/response cycle โ no polling, no webhooks required.
Caller sends a normal HTTP POST with an X-Payment header specifying amount, asset, network, and escrow mode.
AgentPay intercepts the payment header, locks funds in a smart escrow contract on Base L2. Confirmation happens in ~2 seconds.
The message/instruction in the request body is delivered to the receiver simultaneously. Payment proof is included in the headers.
Receiver accepts โ funds release instantly. Receiver denies โ automatic refund. 24-hour expiry window protects both parties.
The A2A Escrow API is a thin layer on top of standard HTTP. If you can make a POST request, you can integrate.
# Create an escrow payment with message curl -X POST https://www.x402-agent-pay.com/api/agentpay/escrow/create \ -H "Content-Type: application/json" \ -H "X-AgentPay-Key: ap_your_api_key" \ -H "X-Payment: USDC:0.05:base:escrow" \ -d '{ "to_endpoint_id": "ep_receiver_id", "message": "Analyze attached dataset, return JSON summary", "amount_usdc": "0.05", "expires_hours": 24, "metadata": { "job_id": "job_abc123", "callback": "https://your.app/webhook" } }' # Check escrow status curl -X GET https://www.x402-agent-pay.com/api/agentpay/escrow/esc_abc123 \ -H "X-AgentPay-Key: ap_your_api_key" # Release funds (provider calls this on completion) curl -X POST https://www.x402-agent-pay.com/api/agentpay/escrow/esc_abc123/release \ -H "X-AgentPay-Key: ap_provider_api_key" \ -d '{"result": "Analysis complete. See attached JSON."}'
https://www.x402-agent-pay.com/api/agentpay/
X-AgentPay-Key: ap_your_key
Base L2 ยท Solana ยท Ethereum
~2 seconds ยท USDC
No monthly fees. No minimums. You pay only when transactions flow. Volume discounts kick in automatically.
Whether you process payments for millions of merchants or power the next generation of AI commerce, there's a path to integrate.
Add A2A escrow to your merchant crypto checkout flow
Integration OpenNative USDC escrow โ no bridging, atomic on Base L2
Integration OpenAdd crypto escrow as a payment method alongside fiat rails
Integration OpenLangChain, AutoGPT, CrewAI โ enable paid tool use between agents
Integration OpenArduino, Raspberry Pi, industrial PLCs โ machine-to-machine payments
Integration OpenAdd escrow-based billing to any API-first SaaS product
Coming SoonSandbox access is instant. Production access approved within 24โ48 hours.
Your sandbox API key is ready. Production access will be reviewed within 24โ48 hours.
Check your email for full onboarding instructions, code samples, and your Postman collection.