{"uid":"cap_qckfUfaxUjU2PAVwfW6rK","slug":"loyal-spark-check-voucher-status-629f4b8d","name":"Loyal Spark Check Voucher Status","description":"Onchain loyalty protocol on Base L2. Launch B20 rewards, earn and redeem tokens, trade P2P, automate with AI agents via REST and MCP.","url":"https://api.loyalspark.online/x402-gateway/mcp-tools/check_voucher_status","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","toolName","inputSchema"],"properties":{"type":{"type":"string","const":"mcp"},"example":{"type":"object"},"toolName":{"type":"string"},"transport":{"enum":["streamable-http","sse"],"type":"string"},"description":{"type":"string"},"inputSchema":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{}}}}},"responseSchema":{"type":"json"},"example":{"request":{"id":1,"method":"tools/call","params":{"name":"get_platform_info","arguments":{}},"jsonrpc":"2.0"},"response":{"id":1,"result":{"content":[{"text":"{\"name\":\"Loyal Spark\",\"chain\":\"Base L2\",\"chain_id\":8453,\"token_standard\":\"ERC-20\",\"features\":[\"loyalty_programs\",\"rewards\",\"marketplace\",\"tiers\",\"referrals\",\"vouchers\",\"analytics\"],\"api_docs\":\"https://loyalspark.online/api-docs\"}","type":"text"}]},"jsonrpc":"2.0"}},"exampleRequest":{"id":1,"method":"tools/call","params":{"name":"get_platform_info","arguments":{}},"jsonrpc":"2.0"},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kRkU0aQHvwOtbc4E17HBX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks the current status of a loyalty voucher on the Loyal Spark onchain loyalty protocol running on Base L2","exampleAgentPrompt":"Can you check the current status of my Loyal Spark voucher with code SPARK-7842XQ — I want to know if it's still valid and hasn't been redeemed yet?","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the voucher's current status (e.g. active, redeemed, expired, invalid), along with any relevant metadata such as expiry date, redemption timestamp, associated loyalty program, and token balance or value tied to the voucher.","failureModes":["Voucher ID not found — returns error indicating the voucher does not exist on Base L2","Invalid voucher code format — returns validation error","Payment not received — x402 payment of $0.01 USDC required per call, returns 402 if unpaid","Network or RPC error querying Base L2 state — returns 500 or timeout","Voucher belongs to a different program or chain — may return not-found or mismatch error"],"whenToPreferThis":"Use this endpoint when you need to verify the current redemption or validity state of a specific loyalty voucher issued by the Loyal Spark protocol on Base L2, before attempting to redeem, trade, or display it to a user. Prefer this over a generic blockchain state query when working within the Loyal Spark loyalty ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:50:09.936Z","isFirstParty":false}