{"uid":"cap_4QJpN6V9r4fY3NAThGWlT","slug":"loyal-spark-lookup-gift-certificate-f95492b5","name":"Loyal Spark - Lookup Gift Certificate","description":"Loyalty rewards: Preview a gift certificate by LOYAL-XXXXXX code without claiming (face value, expiry, program). Onchain loyalty on Base: brands launch rewards in minutes, customers earn with every purchase, AI agents automate the rest via REST and MCP. Pay-only works: the paying wallet is the caller; API key optional.","url":"https://api.loyalspark.online/x402-gateway/recipient-mcp-tools/lookup_gift_certificate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{}}},"inputSchema":{"type":"object"}}},"responseSchema":{"type":"json","example":{"id":1,"result":{"content":[{"text":"{...}","type":"text"}],"structuredContent":{}},"jsonrpc":"2.0"}},"example":null,"exampleRequest":null,"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_pdsefghtWH6Up0vqDkE56","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":"Looks up the details and status of a gift certificate on the Loyal Spark onchain loyalty protocol running on Base L2.","exampleAgentPrompt":"Can you look up the gift certificate with code GC-8473-SPARK on Loyal Spark and tell me if it's still valid, how much it's worth, and whether it's been redeemed yet?","exampleUseCases":null,"resultDescription":"Returns JSON containing the gift certificate's details such as its current status (active, redeemed, expired), token value, issuing loyalty program, recipient address, and any relevant expiration or redemption metadata stored onchain on Base L2.","failureModes":["Gift certificate ID or code not found — returns 404 or empty result","Invalid input format for certificate code — returns 400 validation error","Certificate belongs to a different program or chain — returns mismatch error","Payment of $0.01 USDC not provided or rejected — returns 402 payment required","Onchain RPC node unavailable — returns 503 service unavailable","Rate limiting exceeded — returns 429 too many requests"],"whenToPreferThis":"Use this endpoint when an agent or user needs to check the existence, validity, value, or redemption status of a specific gift certificate on the Loyal Spark onchain loyalty protocol on Base L2. Prefer this over generic blockchain explorers when you want structured, application-layer data about a gift certificate rather than raw transaction data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-28T06:39:03.805Z","isFirstParty":false,"canonicalSlug":"loyal-spark-lookup-gift-certificate-f95492b5"}