A2A Micropayment Header Generator

App #150 • Generate RFC-compliant HTTP 402 Payment Required and Authorization headers for A2A Paymeter monetization.

1. HTTP 402 Payment Required Response (Server to Bot)

HTTP/1.1 402 Payment Required Content-Type: application/json X-Paymeter-Price: $0.01 USD X-Paymeter-Solana-USDC: 8X7sPxL...PaymeterWallet X-Paymeter-Proxy-Gateway: https://api.pixeloffice.eu/proxy/paymeter { "error": "Payment Required", "message": "AI agent micropayment required ($0.01/call). Attach Bearer token or Solana USDC signature.", "paymeterStudioUrl": "https://pixeloffice.eu/showcase/paymeter-studio/" }

2. HTTP Request Authorization Header (Bot to Server)

POST /api/a2a/v1/extract HTTP/1.1 Host: api.pixeloffice.eu Authorization: Bearer px_paymeter_live_948192a01bf X-Solana-Tx-Signature: 5K9aPx...USDC_Signature_Proof