{"uid":"cap_ABBAUD-3MZpnehjCQf5RJ","slug":"loyal-spark-redeem-my-reward-ade89e66","name":"Loyal Spark Redeem My Reward","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/recipient-mcp-tools/redeem_my_reward","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":"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_JDF_3HamUc3ZUoVdxgrRt","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":"Redeems a user's onchain ERC-20 loyalty reward tokens on the Base L2 network via the Loyal Spark protocol.","exampleAgentPrompt":"Redeem my accumulated Loyal Spark reward tokens on Base — go ahead and submit the redemption transaction for my wallet using my current reward balance.","exampleUseCases":[{"title":"Auto-redeem loyalty rewards at checkout","prompt":"I just completed a purchase and I want you to automatically redeem enough of my Loyal Spark reward tokens on Base to cover the discount — go ahead and submit the redemption transaction for my wallet right now."},{"title":"Claim merchant rewards before expiry","prompt":"My Loyal Spark reward tokens from that merchant campaign are about to expire — please redeem my full reward balance on Base L2 before they're gone and confirm the transaction went through."},{"title":"Burn tokens for VIP program perks","prompt":"I want to unlock the VIP tier perk by burning my accumulated ERC-20 loyalty tokens through Loyal Spark on Base — please submit the redemption transaction and let me know my remaining balance afterward."}],"resultDescription":"Returns a JSON object confirming the redemption, including the transaction hash on Base L2, the number of ERC-20 reward tokens redeemed, and the updated remaining reward balance for the user's wallet.","failureModes":["Insufficient reward token balance — user does not hold enough tokens to redeem","Invalid or missing wallet address — request rejected with 400 error","Smart contract revert — on-chain transaction fails due to contract state issues","Network congestion on Base L2 — delayed or failed transaction submission","Unauthorized caller — wallet not authorized to redeem for the specified account","Payment not received — x402 micropayment of $0.01 USDC not settled, request blocked"],"whenToPreferThis":"Use this endpoint when an AI agent needs to execute an actual onchain redemption of ERC-20 loyalty reward tokens on the Base L2 network via the Loyal Spark protocol. Prefer this over generic token transfer endpoints because it is specifically designed for loyalty reward redemption semantics including burn-and-claim logic. Ideal when automating loyalty workflows with MCP-compatible agents.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:47:25.647Z","isFirstParty":false}