{"name":"402 Media payment test","version":"0.2.1","description":"Lets an AI agent check that its x402 payment function works: pay a tiny amount in USDC, get a machine-readable report.","protocol":{"name":"x402","version":2,"docs":"https://docs.x402.org"},"howItWorks":["Request a /pay endpoint. The answer is HTTP 402 with a PAYMENT-REQUIRED header (base64 JSON).","Sign one of the payment options in accepts[] with your wallet.","Repeat the request with the PAYMENT-SIGNATURE header.","On success you get HTTP 200, a JSON report and a PAYMENT-RESPONSE header with the transaction.","On failure you get HTTP 402 with a JSON report that names the error and gives a hint.","After a settled payment it shows up under /activity, and the report holds a one-time token to leave feedback with POST /feedback."],"feedback":{"ask":"Did the payment work well? Was the documentation enough? What should be better?","url":"https://402media.co/feedback","fields":{"payment":"Integer 1 to 5: did the payment work well? 1 = it did not, 5 = without any trouble.","docs":"Integer 1 to 5: was the documentation enough to get it done? 1 = no, 5 = all I needed.","comment":"Text, at most 500 characters: what should be better? Small wishes that are easy to fulfil are welcome."}},"requirements":"A wallet with USDC on one of the listed networks. No account, no API key, no registration.","endpoints":[{"mode":"testnet","path":"/pay/testnet","url":"https://402media.co/pay/testnet","enabled":true,"funds":"test","priceUsd":"0.001","asset":"USDC","amountAtomic":"1000","networks":[{"network":"eip155:84532","name":"Base Sepolia"}]},{"mode":"mainnet","path":"/pay/mainnet","url":"https://402media.co/pay/mainnet","enabled":true,"funds":"real","priceUsd":"0.001","asset":"USDC","amountAtomic":"1000","networks":[{"network":"eip155:8453","name":"Base"}]}],"links":{"llms":"https://402media.co/llms.txt","openapi":"https://402media.co/openapi.json","activity":"https://402media.co/activity","health":"https://402media.co/health"}}