{"uid":"cap_Q-8cNbGwhD9-27Hf0jKk6","slug":"loyal-spark-activate-loyalty-program-9f485f23","name":"Loyal Spark – Activate Loyalty Program","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/activate-program","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.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_fxY7a9QArdB0m9cNniTDG","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":"Activates a new onchain ERC-20 loyalty rewards program on Base L2 for a business or brand.","exampleAgentPrompt":"Activate a new Loyal Spark onchain loyalty program for my coffee shop 'Morning Bloom' — set it up on Base L2 so customers can earn ERC-20 reward tokens, redeem them, and trade them peer-to-peer.","exampleUseCases":null,"resultDescription":"Returns a JSON object confirming activation with {ok: true, resource: 'activate-program'}, indicating the loyalty program has been successfully initialized on the Base L2 blockchain.","failureModes":["Missing required input fields returns a 400 validation error","Invalid body type or method enum value causes a schema rejection","Insufficient USDC balance to cover the $0.01 x402 payment fee causes a 402 payment required error","Malformed program configuration body may return a 422 unprocessable entity","Network or blockchain congestion may cause a timeout or 503 error"],"whenToPreferThis":"Choose this endpoint when you need to deploy a new branded onchain loyalty rewards program using ERC-20 tokens on Base L2, especially when you want AI agent automation support, peer-to-peer token trading, and REST/MCP integration. Prefer this over traditional Web2 loyalty SaaS when blockchain transparency, token portability, and crypto-native reward mechanics are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:55:16.321Z","isFirstParty":false}