{"uid":"cap_Be3-PIqE3sG5FHJsN56K_","slug":"loyal-spark-generate-program-defaults-edf4ac4c","name":"Loyal Spark - Generate Program Defaults","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/workflow/generate-program-defaults","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.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ltgKqNOdCb5e0ONZ2r4Ay","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates AI-suggested default configuration parameters for a new onchain loyalty rewards program on the Base Network.","exampleAgentPrompt":"I want to launch an onchain loyalty program for my coffee shop 'Morning Bloom' on Base Network — can you generate smart default settings for the rewards program so I can get started quickly?","exampleUseCases":[{"title":"Quick loyalty setup for retail boutique","prompt":"I'm launching a Web3 rewards program for my fashion boutique but I'm new to blockchain — can you generate default configuration settings that make sense for a clothing retail business on Base Network?"},{"title":"Automated rewards program for restaurant chain","prompt":"We want to roll out a branded loyalty program across our restaurant locations on Base Network. Can you generate AI-suggested default parameters that would work well for our use case?"},{"title":"Crypto rewards bootstrap for SaaS platform","prompt":"Our software company wants to reward long-term customers with onchain loyalty tokens on Base Network. Can you generate sensible default settings for a tech service loyalty program so we can launch without manual configuration?"}],"resultDescription":"Returns a JSON object containing AI-generated default configuration values for a Loyal Spark loyalty rewards program, such as token name, reward rates, redemption rules, and other program parameters suitable for the business type provided.","failureModes":["Missing or malformed required 'input' body field returns a validation error","Unsupported bodyType value causes schema rejection","Upstream Loyal Spark agent-api unavailable returns a 5xx error","Insufficient USDC balance for x402 payment causes 402 Payment Required","Empty or null body object may return incomplete or generic defaults"],"whenToPreferThis":"Use this endpoint when bootstrapping a new onchain loyalty program and you need AI-generated sensible defaults rather than manually specifying all configuration parameters. Ideal for businesses new to Web3 loyalty programs who want a starting point on Base Network without deep blockchain expertise.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:31:45.814Z","isFirstParty":false}