# x402 test purchase (x402-test-purchase 0.1.0)

A $0.001 paid call that proves your wallet and x402 client work: returns what we saw in your payment, pass/fail checks, your optional challenge, and an Ed25519-signed receipt (plus a settlement receipt with the tx hash right after).

- POST https://test.ordstirr.com/v1/test-purchase: Tiny paid call that returns a signed receipt proving your wallet and x402 payment setup work. Optional challenge echoed in the receipt. Price: $0.001 USDC per call.

Body is optional. {} works. Add challenge to bind the receipt to your own nonce; add expect.payer to check which wallet paid.
Free: POST /v1/verify with the whole JSON response to check the receipt hash and signature. GET /v1/receipts/<request_id> after the call for the settlement receipt (tx hash).
There is no lookup here, so the not-found rule does not apply. If receipt signing is not configured, the service answers 503 before any 402, so you are never charged for an unsigned receipt.

Payment: x402 v2, scheme exact, USDC on Base (mainnet), pay to 0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6. An unpaid POST returns 402 with the price.
Never charged: bad input (400), a lookup that finds nothing (404), rate limits (429), or our own failure (503).
Signed receipts: Ed25519 over RFC 8785 JCS. Public keys at https://test.ordstirr.com/.well-known/ordstirr-receipt-keys.json; settlement receipts at https://test.ordstirr.com/v1/receipts/<request_id>.
Terms: https://ordstirr.com/agents/terms. Refunds/contact: li8ertyapps@gmail.com.

Proves one payment path worked at one moment; not a wallet security audit.

openapi.json · /.well-known/x402 · terms