Use Crossmint's unified API to accept both x402 stablecoin and ACP card payments from AI agents through a single integration

domain: docs.crossmint.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Enable both the Agentic Cards (Visa/ACP) and x402 modules in the Crossmint developer console; configure accepted assets and chains for the x402 path and card acceptance settings for the ACP path
  2. In your API server, return a structured 402 response that advertises both payment methods: include an X-Accept-Payment header with x402 options and an ACP checkout URL reference for card-based agents
  3. Implement a Crossmint payment verification middleware that accepts either a signed x402 payload (stablecoin) or an ACP Shared Payment Token (card); route each to the appropriate Crossmint verification endpoint based on payment type
  4. On verification success from either path, Crossmint returns a normalized payment confirmation object; use this object to fulfill the request, regardless of the underlying payment rail used
  5. Reconcile settlement across both rails via the Crossmint reporting API, which provides a unified transaction ledger combining stablecoin on-chain receipts and card settlement records

Known gotchas

Related routes

Build a server that responds to HTTP 402 and accepts x402 stablecoin payments so AI agents can pay per API call without accounts or sessions
docs.cdp.coinbase.com/x402/welcome · 6 steps · unrated
Implement an x402-capable server endpoint so AI agents can pay per API call with stablecoins without accounts or sessions
x402.org · 5 steps · unrated
Integrate the Stripe Machine Payments Protocol (MPP) so your platform can accept fiat and stablecoin payments directly from autonomous agents using Shared Payment Tokens
stripe.com/blog/machine-payments-protocol · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans