Skip to main content

x402: auto-handle 402 with the SDK

The SDK wraps the HTTP-402 dance so you don’t have to:
Under the hood: fetch returns 402 → SDK calls /v1/x402/pay → retries with X-Payment-Proof → returns the real 200.

x402: register an endpoint with volume discounts

See x402 protocol for the full lifecycle.

ACP: create + complete a checkout

AP2: create a mandate + execute

Each execution re-verifies scope + remaining caps.

AP2: update a mandate’s caps without revoking

The audit log retains the prior scope; the mandate JWT updates.

UCP: issue a token for a merchant checkout

The buyer’s client calls POST /v1/ucp/settle with the token to complete payment.

A2A: discover an agent and send a task

A2A: register a skill on your agent

Your agent is now discoverable by peer agents searching for pdf.summarize.

MPP: open a session + sign vouchers

MPP: stream live session costs

MCP: install into Claude Desktop and use via natural language

Then in Claude: “Using the Sly tools, create a test account, register an agent with KYA tier 1, and send a $5 test transfer.” Claude picks the right tools from the catalog — KYA tiers, wallet policies, and idempotency are all enforced server-side regardless.

Cross-protocol: fund an ACP checkout with a UCP token

Compose protocols through /v1/composition:
Useful for multi-step commerce flows where different protocols cover different stages.

See also