{"uid":"cap_ngy4p6DuXo9vmU-2rzTZa","slug":"restarules-license-gateway-x402-d515e5ad","name":"Restarules License Gateway (x402)","description":"Sells an Ed25519-signed license receipt (agentic-receipt-v2.2) for Restarules for 1.00 USDC on Base mainnet.","url":"https://x402-license-gateway.selfradiance.workers.dev/license/vq01-restarules","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["status","certification","receipt","signature","verification_key","verification_key_source","audit","note"],"properties":{"note":{"type":"string"},"audit":{"type":"string","const":"v2.2-sovereign-standard-x402"},"status":{"type":"string","const":"licensed"},"receipt":{"type":"object","required":["schema","kid","issuer","asset","payment","issued_at","algorithm","receipt_id"],"properties":{"kid":{"type":"string"},"asset":{"type":"object","required":["id","sha256","version"],"properties":{"id":{"type":"string"},"sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"},"version":{"type":"string"}},"additionalProperties":false},"issuer":{"type":"string"},"schema":{"type":"string","const":"agentic-receipt-v2.2"},"payment":{"type":"object","required":["rail","scheme","network","amount","currency","payer","payment_payload_sha256"],"properties":{"rail":{"type":"string","const":"x402"},"payer":{"type":"string"},"amount":{"type":"string"},"scheme":{"type":"string"},"network":{"type":"string"},"currency":{"type":"string","const":"USDC"},"payment_payload_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"}},"additionalProperties":false},"algorithm":{"type":"string","const":"Ed25519"},"issued_at":{"type":"string"},"receipt_id":{"type":"string","pattern":"^SRX-[0-9A-F]{16}$"}},"additionalProperties":false},"signature":{"type":"string"},"certification":{"type":"string"},"verification_key":{"type":"string"},"verification_key_source":{"type":"string"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gGgZKEG7isVLYYEwkkLta","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Issues an Ed25519-signed agentic license receipt (agentic-receipt-v2.2) for the Restarules asset upon payment of 1.00 USDC on Base mainnet via x402.","exampleAgentPrompt":"Purchase a Restarules license for me — pay 1 USDC on Base mainnet via x402 and get back the signed agentic-receipt-v2.2 so I can verify my access.","exampleUseCases":[{"title":"Automate Restarules license acquisition","prompt":"Go ahead and buy a Restarules license for me using USDC on Base mainnet — I need the signed receipt back so my workflow can automatically verify that access is properly licensed before proceeding."},{"title":"Verify Restarules access cryptographically","prompt":"I want to make sure my system has a machine-readable, Ed25519-signed proof of my Restarules license. Pay the 1 USDC on Base via x402 and return the agentic-receipt-v2.2 so I can store it for audit purposes."},{"title":"Purchase license for agentic pipeline","prompt":"My agent pipeline needs a verifiable Restarules license receipt before it can run. Trigger the x402 payment of 1 USDC on Base mainnet and hand me back the signed agentic receipt with all the payment details included."}],"resultDescription":"Returns a JSON object with status 'licensed', a structured receipt object (schema: agentic-receipt-v2.2) containing receipt_id (SRX-XXXXXXXXXXXXXXXX), asset ID, asset SHA-256, version, payment details (rail: x402, currency: USDC, network, payer address, payment_payload_sha256), issuer, algorithm (Ed25519), and issued_at timestamp, plus a detached Ed25519 signature, the verification key, verification key source, a certification string, and an audit tag (v2.2-sovereign-standard-x402).","failureModes":["Payment not included or insufficient — x402 payment challenge returned (402 status with payment requirements)","Wrong network or currency — payment rejected if not USDC on Base mainnet","Invalid or expired payment payload — receipt not issued","Gateway worker error — 5xx response from Cloudflare Worker","Malformed request — missing or incorrect HTTP method returns error"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically purchase and obtain a cryptographically verifiable license receipt for Restarules using USDC on Base mainnet via the x402 payment protocol. Prefer this over manual license purchase flows when building agentic workflows that need machine-readable, Ed25519-signed proof of licensing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:32:56.715Z","isFirstParty":false}