{"uid":"cap_GFhK89_ObWtwuElELLlxR","slug":"loyal-spark-revoke-gift-certificate-6bc18775","name":"Loyal Spark - Revoke Gift Certificate","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/revoke_gift_certificate","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":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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__dy-L0rSm9YHWI_O9jV2o","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":"Revokes an existing onchain gift certificate on the Loyal Spark loyalty protocol, invalidating it so it can no longer be redeemed.","exampleAgentPrompt":"On Loyal Spark, revoke the gift certificate with ID 'GC-4821' for my loyalty program — it was issued by mistake and I need it invalidated so it can't be redeemed.","exampleUseCases":null,"resultDescription":"Returns a JSON object confirming the revocation status of the gift certificate, including the certificate ID, revocation confirmation, and likely an onchain transaction hash reflecting the state change on Base L2.","failureModes":["Gift certificate ID not found or already revoked — returns error indicating invalid or non-existent certificate","Caller lacks authorization to revoke the certificate — returns permission or authentication error","Certificate already fully redeemed — may return error that revocation is no longer possible","Onchain transaction failure — Base L2 network issue causing the state change to fail","Invalid request body — missing required fields returns validation error"],"whenToPreferThis":"Use this endpoint when you need to cancel or invalidate a specific gift certificate that was issued on the Loyal Spark protocol, particularly when it was issued in error, when a customer relationship ends, or as part of loyalty program management workflows. Prefer this over general token-burning endpoints because it is specifically scoped to gift certificate lifecycle management within the Loyal Spark ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:53:27.898Z","isFirstParty":false}