Agentic Payments

Agentic payments let software discover a price, authorize a payment, and receive a resource in the same HTTP workflow. An agent can pay for a data query, model inference, or tool call without first creating a billing account or copying an API key.

The common payment flow

MPP and x402 use different headers and data models, but their basic HTTP flow is similar:

Agentic HTTP Payment Flow

MPP and x402

Both protocols can settle stablecoin payments on Solana. Choose based on the payment model and interoperability your service needs, not only the shared 402 status code.

MPPx402
ChallengeWWW-Authenticate: PaymentPAYMENT-REQUIRED
Client authorizationAuthorization: PaymentPAYMENT-SIGNATURE
ReceiptPayment-ReceiptPAYMENT-RESPONSE
Solana payment modelsOne-time charge and capped, metered session intentsSchemes such as exact and upto; support varies by network and client
Settlement architectureServer validation, or an optional relay or gatewayResource server with local verification or a facilitator
Good starting pointAPIs that need HTTP authentication semantics or repeated meteringPay-per-request resources and existing x402 clients

MPP is the Machine Payments Protocol. Do not confuse it with the Model Context Protocol (MCP). MCP exposes tools and resources to agents; MPP or x402 can require payment when an agent invokes one of those tools.

A service may advertise more than one protocol. The client selects a payment option it supports, then uses the matching challenge, authorization, and receipt headers for the entire exchange.

Is this page helpful?

Table of Contents

Edit Page
© 2026 Solana Foundation. All rights reserved.
Agentic Payments on Solana with MPP and x402 | Solana