# A2A Paid Gateway — IntelliCore (by Intelli living) > Metered agent-to-agent gateway in front of the IntelliCore engines. Three surfaces, one key: plain HTTP, A2A JSON-RPC and MCP. A successful call is charged in prepaid credits; a call without enough credits answers 402 with Payhip top-up links and the gateway never charges a card itself. ## Start here: get a free key (no card) POST https://a2a.intelliliving.kr/api/onboard/trial Body: {"agent":"your-agent-name"} (optional) Returns: { key, credits: 25, expires_at, endpoints, mcp, first_call } The key is valid for 7 days and carries 25 credits (5 skill calls). It is tied to your network for the UTC day: asking again returns the same 25 credits instead of a new allowance. Rate limit: 6 requests per 10 minutes per IP. Call a skill with it: curl -s https://a2a.intelliliving.kr/v1/call -H "authorization: Bearer $KEY" -H 'content-type: application/json' \ -d '{"skill":"disclosure.inspect","input":{"url":"https://example.com"}}' ## Surfaces | Surface | Endpoint | Protocol | |---|---|---| | Plain HTTP | POST https://a2a.intelliliving.kr/v1/call | JSON in, JSON out | | A2A | POST https://a2a.intelliliving.kr/a2a | JSON-RPC 2.0 message/send (A2A 0.3.0) | | MCP | POST https://a2a.intelliliving.kr/mcp | Streamable HTTP, JSON-RPC 2.0 (MCP 2025-06-18) | | Balance | GET https://a2a.intelliliving.kr/v1/usage | JSON | All of them take the same header: Authorization: Bearer ek_... . A key from /api/onboard/trial, /api/onboard/claim or /api/keys works on all three. ## Discovery documents - Agent card (A2A 0.3.0): https://a2a.intelliliving.kr/.well-known/agent-card.json (legacy path https://a2a.intelliliving.kr/.well-known/agent.json) - Manifest: https://a2a.intelliliving.kr/agent-manifest.json - MCP server card: https://a2a.intelliliving.kr/mcp.json (same at https://a2a.intelliliving.kr/.well-known/mcp.json) - OpenAPI: https://a2a.intelliliving.kr/openapi.json - Catalog and prices: https://a2a.intelliliving.kr/v1/catalog - Pricing page: https://a2a.intelliliving.kr/ ## MCP Add the server: claude mcp add --transport http intellicore-a2a https://a2a.intelliliving.kr/mcp --header "authorization: Bearer ek_..." Or in a config file: {"mcpServers":{"intellicore-a2a":{"type":"http","url":"https://a2a.intelliliving.kr/mcp","headers":{"authorization":"Bearer ek_..."}}}} Methods: initialize, tools/list, tools/call, ping. Tool names use underscores (disclosure_inspect, pg_scan, localizer_render); the dotted skill ids still work in tools/call. ## A2A POST https://a2a.intelliliving.kr/a2a Authorization: Bearer ek_... Body: {"jsonrpc":"2.0","id":1,"method":"message/send","params":{"message":{"role":"user","messageId":"m1","parts":[{"kind":"data","data":{"skill":"disclosure.inspect","input":{"url":"https://example.com"}}}]}}} Errors: -32600 authentication_required (HTTP 401), -32002 payment_required with data.topup (credits short), -32601 method_not_supported, -32603 upstream_error (not charged). ## Skills - disclosure.inspect (5 credits): Inspect a page for AI disclosure, generated-output label and machine-readable marks. - pg.scan (5 credits): Score a checkout page against 28 Korean PG and global MoR review rules. - localizer.render (5 credits): Localize money, tax, date, disclaimers and refund wording into an approved locale pack. ## Payment Credits: Starter pack $9 / 500 credits (https://payhip.com/b/iUbv1) · Growth pack $39 / 2500 credits (https://payhip.com/b/wVcBW) · Scale pack $129 / 10000 credits (https://payhip.com/b/dkRW1) Two self-service ways to turn a purchase into a key: 1. POST https://a2a.intelliliving.kr/api/onboard/claim {"code":""} → { key, credits } in one call. 2. POST https://a2a.intelliliving.kr/api/keys {"token":""} — the older two-step path, still supported. A payment platform can confirm a purchase server-to-server at POST https://a2a.intelliliving.kr/api/onboard/paid with header x-il-billing-signature: sha256=. It answers with the buyer's key (a retried event returns the same key). A 402 is not a retry signal: it means buy credits. Only a successful upstream call is charged. ## Free demo (not metered) POST https://a2a.intelliliving.kr/api/demo, 12 calls per 10 minutes per IP: Body: {"skill":"localizer.render","input":{"locale":"ja","document":{"title":"Pricing","price":{"amount_minor":2900,"currency":"USD"}}}} ## Client SDK (no package manager needed) - Node: https://a2a.intelliliving.kr/sdk/intellicore-a2a.js - Python: https://a2a.intelliliving.kr/sdk/intellicore_a2a.py - MCP stdio bridge: https://a2a.intelliliving.kr/sdk/mcp-server.js - Index with sizes and sha256: https://a2a.intelliliving.kr/sdk Source and examples: https://github.com/295rdptvsm-netizen/intellicore-a2a-mcp