How it works
Provider onboarding
From identity to a live paid route.
- 01Provider CLI → px402 platformEvery call is signed with a one-use token (see below). You create your organization.
- 02Provider CLI → px402 platformThe platform returns a TXT record to publish.
- 03px402 platform → DNSBoth Cloudflare and Google DNS must see the record. It is rechecked daily.
- 04Provider CLI → px402 platformYou register your HTTPS upstream on that domain and get a proxy secret, shown once.
- 05Provider CLI → TurnkeyYour Turnkey wallet signs the Rings derivation message. That signature is your receiver viewing seed.
- 06Provider CLI → px402 platformThe seed is encrypted to a one-time px402 import key. You compare four words first.
- 07Provider CLI → px402 platformYou import a route contract and send the drafts for review.
- 08px402 admin → px402 platformAn admin approves the organization, the provider with its exact domain and upstream, and each route version.
An approved route is live within 15 seconds and listed in the public catalog. Without a receiver, a provider issues no
402 and stays out of the catalog.
How a platform call is signed
- 01Provider CLI → TurnkeyThe CLI asks Turnkey for a token bound to this exact method, path, query, body and a nonce.
- 02Turnkey → Provider CLIThe token lives for about a minute.
- 03Provider CLI → px402 platformThe platform verifies it matches the request it received.
- 04px402 platformEach token is accepted once, so a captured one cannot be replayed.
Domain rules
Three failed daily checks in a row revoke the domain and suspend its providers. Calls that were already paid still finish against the last approved upstream. A revoked domain does not come back: add the hostname again as a new domain and move the upstream to it. Moving an approved provider to another host or domain sends it back to review.
Route contract
| Field | Rule |
|---|---|
key | The route’s name within your provider |
method | GET, POST, PUT, PATCH or DELETE |
path | Up to 8 segments of literals or :params |
price | Base units. On devnet, from 10,000 to 10,000,000 (0.01 to 10 USDC) |
asset | USDC |
description | Shown in the catalog |
A provider can have up to 50 routes. Any content change goes back to review.