How payment works
x402 over HTTPS, settled in Stellar USDC, verified by the Pakana protocol.
GET /v1/semantic?q=zero-knowledge+payments HTTP/1.1
Host: api.turbodex.ai
HTTP/1.1 402 Payment Required
WWW-Authenticate: x402 realm="turbodex.ai" amount="0.01 USDC"
facilitator="https://facilitator.pakana.net"
# Agent pays via Pakana stealth payment, retries:
GET /v1/semantic?q=zero-knowledge+payments HTTP/1.1
Host: api.turbodex.ai
Authorization: x402 proof=<groth16 proof of stealth payment>
HTTP/1.1 200 OK
Content-Type: application/json
{ "results": [ ... ] }
The TurboDex server forwards the proof to the Pakana x402 facilitator, which verifies it on-chain via
PakanaTracker. If the proof is valid and the payment matches the quoted price, the response is returned. Latency
is dominated by Stellar's 5-second finality, with proof verification adding less than 100ms.