{"uid":"cap_hhwn0fPamGAxFFl-KPh7Q","slug":"loyal-spark-prepare-reward-redemption-67693f53","name":"Loyal Spark - Prepare Reward Redemption","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.","url":"https://api.loyalspark.online/x402-gateway/recipient-api/workflow/prepare-reward-redemption","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","schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema"},"description":"JSON from Loyal Spark agent-api or recipient-api. See OpenAPI for response shape."},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CfjpuFmwMT7O8i4vh9DD5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Prepares and initiates an onchain loyalty reward redemption workflow for a customer on the Base Network via Loyal Spark's recipient API.","exampleAgentPrompt":"My customer at Morning Bloom Coffee just wants to redeem their Loyal Spark loyalty tokens — can you prepare the onchain redemption workflow for them using a POST request with their redemption details as JSON?","exampleUseCases":null,"resultDescription":"Returns a JSON response from the Loyal Spark recipient-api describing the prepared redemption workflow state, including any onchain transaction data or next steps required to complete the reward redemption on Base Network.","failureModes":["Missing or invalid required fields in the body result in a 400 validation error","Insufficient loyalty token balance causes redemption preparation to fail","Onchain Base Network congestion or RPC errors may cause timeouts","Invalid or expired session/auth headers return 401 or 403","Malformed bodyType or method enum values cause schema validation rejection","Payment of $0.005 USDC not received causes x402 gateway to block the request"],"whenToPreferThis":"Use this endpoint when an AI agent or application needs to initiate or prepare a loyalty reward redemption on behalf of a recipient within the Loyal Spark onchain loyalty ecosystem on Base Network. Prefer this over generic payment endpoints when the use case specifically involves ERC-20 branded loyalty token redemption through Loyal Spark's recipient workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:45:01.825Z","isFirstParty":false}