๐Ÿค Partner Integration Program โ€” Now Open

A2A Escrow with
Message Protocol
For Payment Processors

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.

Apply for Partner Access โ†’ See How It Works
โœ“ Patent Pending โœ“ x402 Native โœ“ Base L2 + Solana โœ“ Atomic Settlement

Built for integration with

Three Core Scenarios

What A2A Escrow Unlocks

The A2A Escrow with Message Protocol enables three transformative payment scenarios that existing infrastructure cannot handle.

๐Ÿค–

Scenario 1 โ€” AI Agent Commerce

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.

Agent A โ†’ POST /analyze
X-Payment: USDC:0.05:base:escrow
X-Message: "Summarize Q1 earnings report"
โ†’ Atomic: pay + instruct + escrow
AI Agents Autonomous Commerce
๐Ÿญ

Scenario 2 โ€” IoT & Supply Chain

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.

Drone โ†’ POST /charge-pad/dock-3
X-Payment: USDC:0.002:base:escrow
X-Message: "Request 20min charge slot"
โ†’ Slot reserved + payment locked
IoT Devices Supply Chain
๐Ÿข

Scenario 3 โ€” Business Service Escrow

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.

Client โ†’ POST /api/jobs/create
X-Payment: USDC:250:base:escrow
X-Message: "Build landing page by Friday"
โ†’ $250 locked, job ticket created
B2B Payments Freelance / SaaS

How It Works

The entire escrow lifecycle runs inside a single HTTP request/response cycle โ€” no polling, no webhooks required.

1

Send Request + Payment Header

Caller sends a normal HTTP POST with an X-Payment header specifying amount, asset, network, and escrow mode.

2

Atomic Lock on-Chain

AgentPay intercepts the payment header, locks funds in a smart escrow contract on Base L2. Confirmation happens in ~2 seconds.

3

Message Delivered

The message/instruction in the request body is delivered to the receiver simultaneously. Payment proof is included in the headers.

4

Release or Dispute

Receiver accepts โ†’ funds release instantly. Receiver denies โ†’ automatic refund. 24-hour expiry window protects both parties.

API Reference

Integrate in Minutes

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."}'
Base Endpoint
https://www.x402-agent-pay.com/api/agentpay/
Auth Header
X-AgentPay-Key: ap_your_key
Networks
Base L2 ยท Solana ยท Ethereum
Settlement
~2 seconds ยท USDC

Simple, Volume-Based Fees

No monthly fees. No minimums. You pay only when transactions flow. Volume discounts kick in automatically.

Sandbox

Free
Full API access, testnet USDC
  • Unlimited testnet transactions
  • Full escrow + message API
  • Webhook support
  • Sandbox API key instantly
  • Integration support via docs

Enterprise / White-Label

Custom
volume pricing + SLA
  • Custom fee rates (<0.5% at volume)
  • White-label API + branding
  • Dedicated support channel
  • Custom escrow logic
  • Co-marketing opportunities
Integration Partners

Built For Your Platform

Whether you process payments for millions of merchants or power the next generation of AI commerce, there's a path to integrate.

๐Ÿ”ต

Coinbase Commerce

Add A2A escrow to your merchant crypto checkout flow

Integration Open
โšช

Circle / USDC

Native USDC escrow โ€” no bridging, atomic on Base L2

Integration Open
๐ŸŸฃ

Stripe

Add crypto escrow as a payment method alongside fiat rails

Integration Open
๐ŸŸก

AI Platforms

LangChain, AutoGPT, CrewAI โ€” enable paid tool use between agents

Integration Open
โš™๏ธ

IoT / Robotics

Arduino, Raspberry Pi, industrial PLCs โ€” machine-to-machine payments

Integration Open
๐Ÿ—๏ธ

Enterprise SaaS

Add escrow-based billing to any API-first SaaS product

Coming Soon

Get Your API Keys Today

Sandbox access is instant. Production access approved within 24โ€“48 hours.

โœ…

Application Received!

Your sandbox API key is ready. Production access will be reviewed within 24โ€“48 hours.

Generating your sandbox key...

Check your email for full onboarding instructions, code samples, and your Postman collection.

View Docs Open Dashboard