{"uid":"cap_ShNNwOOr4QeCixlYQoHtI","slug":"loyal-spark-redeem-reward-794dd626","name":"Loyal Spark Redeem Reward","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.","url":"https://api.loyalspark.online/x402-gateway/redeem-reward","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":{"ok":true,"resource":"redeem-reward"}},"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_2x3RVGx5rVTAIjhJUMoz7","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 loyalty reward tokens on the Loyal Spark onchain platform (Base Network) on behalf of a customer or AI agent","exampleAgentPrompt":"Redeem my accumulated Loyal Spark reward tokens for Morning Bloom Coffee Shop — submit a POST redemption request using my wallet address so the discount is applied to my current purchase.","exampleUseCases":null,"resultDescription":"A JSON response from the Loyal Spark agent-api or recipient-api confirming the redemption outcome, including transaction status, reward amount redeemed, and any onchain transaction reference. Shape varies — see OpenAPI spec for full details.","failureModes":["Insufficient loyalty token balance — redemption rejected","Invalid or missing required body fields — 400 validation error","Reward program not active or expired — redemption denied","Payment of $0.01 USDC not received — 402 Payment Required","Onchain transaction failure on Base Network — partial or failed state","Malformed request body type (must be json/form-data/text) — schema error"],"whenToPreferThis":"Use this endpoint when an AI agent or customer needs to actually spend/redeem accumulated loyalty tokens on the Loyal Spark platform running on Base L2. Prefer this over earn or query endpoints when the intent is to consume rewards for value. Ideal for agentic checkout flows where the agent automates the final redemption step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T12:42:03.794Z","isFirstParty":false}