{"uid":"cap_MzBofni7DQdNAvVQ6aUgQ","slug":"x402-integration-pack-documentation-85c15ec7","name":"x402 Integration Pack Documentation","description":"USDC pay-per-call APIs for AI agents via the x402 protocol (v2, exact, Base mainnet). Send a request, receive HTTP 402 with payment requirements, pay with @x402/fetch or any x402 client, retry with the PAYMENT-SIGNATURE header.","url":"https://call402.com/api/x402-integration-pack?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body","example"],"properties":{"body":{"type":"object","required":[],"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"example":{"type":"object","required":[],"properties":{}},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example","schema"],"properties":{"type":{"type":"string"},"schema":{"type":"object"},"example":{"type":"object","required":["doc_ref","pack_markdown"],"properties":{"doc_ref":{"type":"string"},"pack_markdown":{"type":"string"}}}}}}},"responseSchema":{"type":"json","schema":{"type":"object","required":["doc_ref","pack_markdown"],"properties":{"doc_ref":{"type":"string"},"pack_markdown":{"type":"string"}}},"example":{"doc_ref":"C402-PACK-2510","pack_markdown":"# x402 Integration Pack"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wyRspFdvGfTSc6KvB7Hpm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the x402 protocol integration pack documentation (markdown guide and reference ID) for building USDC pay-per-call AI agent services on Base mainnet.","exampleAgentPrompt":"Can you fetch me the x402 integration pack documentation so I can learn how to implement USDC pay-per-call payments using the x402 protocol on Base mainnet?","exampleUseCases":[{"title":"Onboarding to x402 payment flow","prompt":"Pull up the x402 integration pack for me — I need to understand the full payment flow, from getting the 402 response to attaching the PAYMENT-SIGNATURE header and retrying the request."},{"title":"Building a pay-per-call AI agent API","prompt":"I want to set up my own USDC pay-per-call API for AI agents using x402 on Base mainnet. Can you get the integration documentation so I know exactly what to implement?"},{"title":"Evaluating x402 for agent monetization","prompt":"I'm exploring ways to monetize my AI agent's capabilities at $0.005 per call using USDC — can you retrieve the x402 integration pack so I can review the technical requirements?"}],"resultDescription":"Returns a JSON object containing a document reference ID (e.g. 'C402-PACK-2510') and a full markdown integration guide covering the x402 protocol v2 flow, including how to handle HTTP 402 responses, pay with @x402/fetch or compatible clients, and retry requests with the PAYMENT-SIGNATURE header on Base mainnet.","failureModes":["Payment not sent or invalid PAYMENT-SIGNATURE header causes continued 402 responses","Insufficient USDC balance on Base mainnet prevents payment processing","Malformed POST body causes 400 error","Network issues with Base mainnet facilitator delay or block payment settlement","Stale or expired payment token causes rejection on retry"],"whenToPreferThis":"Choose this endpoint when you need authoritative x402 protocol integration documentation specific to call402.com's implementation on Base mainnet with USDC. Prefer this over generic x402 GitHub docs when you want a curated, versioned integration pack (pack_markdown) with a stable reference ID, especially when building AI agent workflows that need to pay for APIs programmatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T14:15:23.179Z","isFirstParty":false,"canonicalSlug":"x402-integration-pack-documentation-85c15ec7"}