{"uid":"cap_AQVeWgK6b6vhiYdXIDbex","slug":"aeml-x402-tier-2-payment-receipt-57e818d5","name":"AEML x402 Tier 2 Payment Receipt","description":"Tiered payment receipt (tier 2): pay once with x402 and get back a short-lived receipt token that /pay/verify checks for you. The tier is fixed by the path - you do not send it. Optional ?ref= carries your own opaque reference, such as a query hash, straight through to the receipt. This mints a receipt rather than returning data, so there is no lookup that can come back empty.","url":"https://aeml-x402.zeabur.app/pay/tier2","method":"GET","headers":{},"bodySchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"ref":{"type":"string","description":"optional - opaque reference such as a query hash"},"tier":{"type":"string","description":"optional - ignored; fixed to 2 by this path"}},"additionalProperties":false}}},"output":{"type":"object","required":["type"],"properties":{"type":{"const":"json"}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GBkMp9Vi2n7Hxk76Pk8Qn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Accepts an x402 USDC-on-Base micropayment and returns a short-lived signed receipt for tier 2 access, verifiable by gauge-frontdesk /pay/verify.","exampleAgentPrompt":"Pay the tier 2 x402 gate using USDC on Base and get me back the signed receipt so I can verify access with gauge-frontdesk.","exampleUseCases":null,"resultDescription":"Returns a JSON object with: ok (boolean indicating success), exp (Unix timestamp when receipt expires), ref (optional query hash echo), tier (integer, should be 2), receipt (signed receipt string for downstream verification), and paid_via (payment method string indicating x402/USDC/Base).","failureModes":["Payment not detected or insufficient USDC — returns 402 Payment Required with x402 payment instructions","Expired or replayed payment header — rejected with auth error","Invalid x402 payment format — bad request error","Network congestion on Base causing payment confirmation delays","Receipt already consumed or expired before verification"],"whenToPreferThis":"Use this endpoint when you need to gate tier 2 access using the x402 USDC-on-Base micropayment protocol and require a short-lived signed receipt for subsequent verification by gauge-frontdesk /pay/verify. Prefer this over tier 1 when the downstream service requires tier 2 authorization level.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:39:38.767Z","isFirstParty":false}