x402 APIEndpoints

x402 API Endpoints

Complete reference for the approved /api/x402 contract.

RoutePurposeNotes
GET /api/x402Readiness documentSafe bootstrap route for x402 clients
POST /api/x402/quotesCreate a paid quoteLegacy quote path; not used for Wormhole bridge route cards
POST /api/x402/ordersCreate a paid orderUses x402 pay-and-retry plus SIGN-IN-WITH-X
GET /api/x402/orders/{orderId}Read normalized orderWallet-bound GET with SIGN-IN-WITH-X
POST /api/x402/orders/{orderId}/emergencyTrigger emergency actionPaid wallet-bound route
GET /api/x402/routesList paid route inventoryPaid GET for private/offchain plus Onchain DEX & Bridge routes; keep walletAddress as the source signer and pass recipientAddress for cross-namespace recipients such as Mayan EVM-to-Solana discovery
POST /api/x402/routes/resolveResolve route quotePaid route returning route-specific output
POST /api/x402/onchain/routes/resolveResolve onchain routeUse the Wormhole routeQuoteId from /routes; returns executionAccessToken
POST /api/x402/onchain/executionsReport onchain executionPaid wallet-bound route; also send X-Onchain-Execution-Access-Token
GET /api/x402/onchain/executions/{executionPlanId}Read execution statusWallet-bound GET plus execution access token
POST /api/x402/market-intel/jobsCreate market-intel jobPaid wallet-bound route; 200 for replay or 202 for a new job
GET /api/x402/market-intel/jobs/{jobId}Read market-intel jobWallet-bound GET with SIGN-IN-WITH-X