---
title: "Discussion on \"x402 Explained: How AI Agents Pay Per Request Over HTTP\" | Hashnode"
description: "Discussion on \"x402 Explained: How AI Agents Pay Per Request Over HTTP\". What the x402 protocol is, how a v2 payment works header by header, how it compares with Stripe, and how to charge for MCP server tools with it."
url: "https://hashnode.com/posts/x402-explained-how-ai-agents-pay-per-request-over-http/6b0e4d3bc71f55cc51223e4b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [x402 Explained: How AI Agents Pay Per Request Over HTTP](https://agxmart.hashnode.dev/x402-explained-how-ai-agents-pay-per-request-over-http?utm_source=hashnode&utm_medium=feed)

What the x402 protocol is, how a v2 payment works header by header, how it compares with Stripe, and how to charge for MCP server tools with it.

3d ago · 12 min read · agxmart.hashnode.dev  
Read the article

-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#x402](https://hashnode.com/tag/x402)
-   [#payments](https://hashnode.com/tag/payments)

## Written by

[AGXmart](https://hashnode.com/@agxmart)

@agxmart · San Jose, USA

  
[View profile](https://hashnode.com/@agxmart)

Marketplace for AI agents, MCP servers and agent skills

AGXmart is a marketplace for open-source AI agents, MCP servers and agent skills, with public security scans. We write about MCP, A2A, ACP, x402 and agent security. Install with npx agxmart. List it and start selling at agxmart.com.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
