Response
string
required
The agent name, from
SellerConfig.agentName.string
required
The agent description, from
SellerConfig.agentDescription.string
required
The primary endpoint URL. Points to
/x402/access by default.string
required
Agent version. Defaults to
"1.0.0".string
required
A2A protocol version. Currently
"0.3.0".object
required
Declares supported capabilities and extensions.
AgentSkill[]
required
Array of skills the agent exposes. Key0 registers two skills by default.
object
Organization and URL of the agent provider.
Example Response
Skills
Key0 automatically generates two A2A-compliant skills:discover-plans
A free discovery skill. Clients call this (or GET to/discover) to browse the plan catalog. Returns plan IDs, prices, wallet address, and chain ID.
request-access
The payment-gated skill. Clients call this to initiate a purchase flow:- POST with
planIdto receive a 402 challenge with payment requirements. - Sign an EIP-3009 authorization off-chain.
- Retry the same request with a
PAYMENT-SIGNATUREheader. - Receive a 200 response with an
AccessGrantcontaining the bearer token.
endpoint— the directPOST /x402/accessURL and method, so clients don’t need to parse the description.inputSchema— a JSON Schema for the request body (planId,requestId,resourceId).workflow— a step-by-step array of instructions for completing the payment flow programmatically.
x402 Extension
The Agent Card declares the x402 extension asrequired: true in capabilities.extensions:
uri follows the A2A x402 extension spec v0.2.
TypeScript Types
Related
SellerConfig
The configuration object that drives agent card generation.
How It Works
Overview of the Key0 payment flow and agent discovery.
API Reference Overview
Index of all Key0 API endpoints and protocols.

