The three paths
Merchant Integration
Accept payments from AI agents. You onboard as a merchant, manage an allowlist, and receive USDC settlements. ~3–5 days.
Agent Setup
Operate agents that pay merchants. You provision credit lines, fund a vault, and handle signing. ~2–3 days.
Full End-to-End
Run both sides — a platform where your own agents pay your own merchants. Do merchant first, then agent, then the payment flow. ~5–7 days.
Compare the paths
The 5% transaction fee is always charged to the operator’s credit line — merchants receive the full order amount. Details in Fees.
Which path am I?
Answer in order — the first “yes” is your path:- Do you sell a product or API that AI agents should pay for? You’re a merchant → Merchant Integration.
- Do you run agents that need to buy things autonomously? You’re an operator → Agent Setup.
- Are you a platform doing both — your agents paying merchants you onboard? Full End-to-End: complete the merchant track, then the agent track, then Payment Flow.
- Just evaluating the protocol? Skip integration for now and read x402 and the trust model.
What each path looks like
Path 1: Merchant Integration (3–5 days)
You expose orders, decide which agents may pay you, and receive settlements.- Merchant Integration — the end-to-end walkthrough.
- Merchant Onboarding — account setup; KYB when you go to mainnet.
- Allowlist Management — approve the agents allowed to pay you.
- Settlements & Payouts — reconciliation and fee breakdowns.
- Webhooks — react to
payment.settledandmerchant.settlement.completedinstead of polling.
Path 2: Agent Setup (2–3 days)
You create agents with credit lines and let them spend within limits you set.- Agent Setup — create agents, set
credit_limitanddaily_limit, accept operator liability. - Key Management — how the 2-of-3 MPC signing model works and what you hold.
- Vault Funding — deposit USDC collateral; vault balance is your borrowing capacity.
Path 3: Full End-to-End (5–7 days)
Do the two tracks sequentially, then connect them:- Complete the merchant track above — you need a live merchant with an allowlist before any agent can pay it.
- Complete the agent track — create agents and allowlist them against your merchant.
- Payment Flow — the full order → sign → settle loop, including the 10-minute order TTL.
- Error Handling — declines, expirations, and retries across both sides.
- Testing — exercise the whole loop in sandbox before requesting mainnet access.
Next steps
Merchant Integration
Start the merchant track.
Agent Setup
Start the agent track.
Payment Flow
See how the two sides meet.

