{"uid":"cap_41Wg3hPtzGqdHJPUF2ZNB","slug":"x402-qr-api-jwt-endpoint-01956b18","name":"x402 QR API – JWT Endpoint","description":"Generated by create next app","url":"https://x402-qr-api.vercel.app/api/jwt?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9Id3uzU1D1NvF3q4sLVaf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Issues a JWT token via the x402 micropayment protocol for authenticating QR code API requests","exampleAgentPrompt":"Pay the 0.001 USDC x402 fee and get me a JWT token from the QR API so I can start making authenticated QR code requests.","exampleUseCases":[{"title":"Authenticate before generating QR codes","prompt":"I need to get a JWT token from the x402 QR API — pay the micropayment fee and return the token so I can use it to generate QR codes."},{"title":"Automated token refresh for QR workflow","prompt":"My current JWT for the QR API has expired — can you pay the 0.001 USDC x402 fee again and fetch a fresh JWT so my QR generation pipeline keeps running?"},{"title":"One-time QR API credential acquisition","prompt":"I want to try out the x402 QR API — pay the small USDC fee and get me the JWT credential I need to access it."}],"resultDescription":"A signed JWT token that can be used as a bearer credential for subsequent authenticated requests to the x402-qr-api service. The token encodes authorization claims and has an expiry.","failureModes":["Payment not attached or insufficient — 402 Payment Required response","Invalid or expired x402 payment proof — authentication rejected","Service unavailable on Vercel — 503 or timeout","JWT signing failure server-side — 500 Internal Server Error","Rate limiting if too many token requests in a short window"],"whenToPreferThis":"Use this endpoint when you need to obtain a JWT for accessing the x402-qr-api and are prepared to pay the 0.001 USDC x402 micropayment. Choose this over manual auth flows when you want a pay-per-use credential model with no long-term API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:33:45.798Z","isFirstParty":false,"canonicalSlug":"x402-qr-api-jwt-endpoint-01956b18"}