Skip to Content
px402Devnet

Introduction

Pay-per-request APIs on Solana where each paid call is a private transfer.

px402 lets a program pay for an API call one request at a time. The API answers 402 Payment Required, the agent pays with a Helius Privacy Rings private transfer of USDC, and sends the same request again with proof of that payment. It speaks x402 v2.

Status

Alpha, Solana devnet only. It is not audited and depends on an alpha Rings SDK.

Privacy

Amounts and assets are encrypted. Who paid whom, and when, are public on chain, and a provider can see which wallet paid it. See what stays private.

Three roles

RoleWhat they doWhat they hold
AgentA program that calls paid APIsSelf-held: its own key on its own machine. Hosted: nothing; px402 runs the wallet
OwnerThe person who funds agentsA wallet in their own Turnkey sub-organization, controlled by their login
ProviderA team that charges for its APIIts Turnkey sub-organization, its API, and the proxy secret that proves a call came from px402

px402 runs the gateway in front of each provider’s API. It holds each provider’s receiver viewing seed, which lets it read incoming payments to check them. The seed cannot spend.

Built on

ServiceWhat it does here
Helius Privacy RingsEach payment is a private transfer; amount and asset are encrypted on chain
TurnkeySign-in, owner wallets, delegated signing, provider identity and, in preview, Verifiable Cloud

How they fit together.

Two ways to run an agent

Self-held agentHosted agent (devnet preview)
KeyOn your machine, encrypted under your passphraseManaged for you; px402 can sign within your caps
Pay frompx402 CLI or the TypeScript SDKClaude, Cursor, other MCP clients, or px402 hosted
LimitsCaps and allowed origins you set locallyCaps and a provider allowlist the server enforces
What px402 can seePayments made to providers it servesThe agent’s balance and every payment it makes

Where to go