The same payment API runs your website checkout, sales to AI agents, and payments your own agent makes.
Checkout on your site
Quote the order, create the payment with your order reference, and hand the customer’s wallet one step at a time.
POST /v1/payments
Idempotency-Key: order-1042
{ "quoteId": "quote_…",
"merchantReference": "1042" }
Merchant quickstart →
Sell to AI agents
Your server creates the payment for the agent’s wallet and returns the step to sign. You fulfill when that order is PAID.
agent → buy, payer 0x…
server → POST /v1/payments
wallet → sends the step
server → GET /v1/payments/{id}
→ PAID: fulfill
Sell to agents →
Pay with your agent
Give your agent the payment tools over MCP. It prepares each payment, and your wallet signs every step.
POST /public/mcp
Authorization: Bearer <your token>
tools: create_quote, create_payment, …
Connect your agent →