Payment Gate
X402
Pay to access premium nothing.
What This Is
The x402 metadata endpoint tells clients which resources may require payment.
In this API, premium nothing is exposed through GET /api/nothing.
Discovery Endpoint
/.well-known/x402
{
"x402Version": 2,
"resources": [{
"resource": "/api/nothing",
"type": "http",
"accepts": [{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589...02913",
"amount": "10000"
}]
}]
}
Protected Resource
/api/nothing
curl -i https://nothingeverhappens.world/api/nothing # response indicates payment requirement HTTP/1.1 402 Payment Required
Try It
curl https://nothingeverhappens.world/.well-known/x402
curl -i https://nothingeverhappens.world/api/nothing
Even when payment is accepted, nothing still happens.