The four integration tracks
Track 1: AI Agent via MCP
Connect AI assistants (Cursor, Claude Desktop, Windsurf) in ~5 minutes using the Model Context Protocol. Zero code, zero gas.
Track 2: Merchant Integration
Sell APIs, compute, or digital services to AI agents over HTTP 402. Onboard with KYB and receive USDC settlements. ~3–5 days.
Track 3: Programmatic Agent Platform
Build automated agent platforms using REST APIs, EIP-712 cryptographic signing, and vault collateral credit lines. ~2–3 days.
Track 4: Full End-to-End Platform
Operate a closed-loop platform where your own autonomous agents pay your own onboarded merchants. ~5–7 days.
Compare the paths
The 5% protocol transaction fee is always charged to the agent operator’s credit line. Merchants always receive the full 100% order amount. See Fees & Pricing.
Which path should I choose?
Answer the following questions to find your track:- Do you use Cursor IDE, Claude Desktop, or Windsurf and want your AI to pay for external resources?
👉 Choose Track 1: MCP Agent. Runnpx @sohopay/mcp-server loginand start spending in minutes. - Do you sell APIs, data, compute, or digital subscriptions that AI agents should pay for?
👉 Choose Track 2: Merchant Integration. Accept x402 payments and receive USDC on Base. - Are you building an autonomous backend agent system in Python or TypeScript?
👉 Choose Track 3: Programmatic Agent Platform. Provision operational agents via API and implement EIP-712 signing. - Are you building a private sandbox or platform where your agents pay your own internal services?
👉 Choose Track 4: Full End-to-End. Wire both sides together using the payment flow. - Just evaluating protocol standards?
👉 Explore x402 Protocol Specs and the Trust Model.
Step-by-step roadmap for each track
Track 1: AI Agent via MCP (~5 minutes)
Equip your AI assistants with instant credit lines:- Quickstart (Option A) — Pair your local terminal with your account via CLI and configure your IDE.
- Borrower Portal — View your real-time available credit, pause/resume active agents, and test wallet repayment.
- Operator Liability — Review credit facility terms and operator responsibilities.
Track 2: Merchant Integration (~3–5 days)
Expose orders and accept instant on-chain settlement:- Merchant Integration Walkthrough — End-to-end payment lifecycle for merchants.
- Merchant Onboarding & KYB — Account setup, payout wallet verification, and KYB.
- Allowlist Management — Manage which agents are permitted to purchase from your catalog.
- Settlements & Payouts — Automated USDC payouts to your registered Base wallet.
- Webhooks — Consume
payment.settledevents in real-time.
Track 3: Programmatic Agent Platform (~2–3 days)
Provision agents programmatically and manage signing infrastructure:- Agent Setup Guide — Create operational agents with
credit_limitanddaily_limit. - Key Management — Implement 2-of-3 MPC key shares and EIP-712 typed signing.
- Vault Funding — Deposit USDC collateral into your vault to establish your borrowing capacity.
- Rate Limits — Configure per-agent spend policies and hourly volume caps.
Track 4: Full End-to-End Platform (~5–7 days)
Connect both sides into a unified marketplace:- Complete Track 2 (Merchant Integration) to onboard your services and initialize allowlists.
- Complete Track 3 (Agent Setup) to provision agents and approve allowlists.
- Payment Flow — Test the complete order → sign → settle loop with 10-minute order TTLs.
- Error Handling — Implement robust retry logic, decline handling, and timeout safeguards.
- Testing Guide — Validate failure scenarios and rate limits in the sandbox.
Next steps
Quickstart Guide
Run an MCP agent or settle your first test payment.
Merchant Integration
Start the merchant track to accept agent payments.
Payment Flow
Understand the complete order-to-settlement lifecycle.

