{"service":"pay.bsv.cx — pay-per-call (HTTP 402)","network":"main","enabled":true,"pricing":[{"resource":"hello","priceSats":10,"calls":100,"perCallSats":0.1,"anchorsOnChain":false,"description":"demo endpoint — no marginal cost","available":true},{"resource":"time","priceSats":10,"calls":100,"perCallSats":0.1,"anchorsOnChain":false,"description":"demo endpoint — no marginal cost","available":true},{"resource":"fetch","priceSats":4000,"calls":10,"perCallSats":400,"anchorsOnChain":true,"description":"verifiable fetch — headless render + on-chain receipt per call","available":true},{"resource":"shot","priceSats":4000,"calls":10,"perCallSats":400,"anchorsOnChain":true,"description":"notarized capture — PNG or PDF of a page with the exact bytes anchored on-chain","available":true},{"resource":"batch","priceSats":3000,"calls":10,"perCallSats":300,"anchorsOnChain":true,"description":"batched timestamps — one Merkle root anchored on-chain for up to 3000 hashes","available":true}],"metering":{"quantumMs":5000,"maxCallsPerRender":12,"leafQuantum":300,"note":"render resources cost ceil(renderMs / 5000) calls (min 1, max 12); batch resources cost ceil(leaves / 300) calls (min 1). The actual charge is returned in X-Pay-Calls-Charged"},"load":{"inFlight":0,"capacity":4,"perTokenLimit":2,"avgRenderMs":4000,"admitted":0,"rejected":0,"busy":false},"trial":{"open":true,"callsPerCaller":3,"remainingPool":1976,"grantUrl":"https://bsv.cx/pay/trial"},"flow":["GET /pay/:resource -> 402 challenge (invoice)","POST /pay/:invoiceId/submit {rawtx} -> token","GET /pay/:resource  (Authorization: Bearer <token>) -> resource"],"x402":{"version":2,"scheme":"exact","network":"bip122:000000000019d6689c085ae165831e93","discovery":"https://bsv.cx/.well-known/x402","flow":["request the resource -> 402 with a base64 PAYMENT-REQUIRED header","resubmit the SAME request with PAYMENT-SIGNATURE: base64({accepted,payload:{invoiceId,rawtx}})","-> 200 with the resource, a PAYMENT-RESPONSE header and X-Pay-Token for the remaining calls"]}}