{"uid":"cap_0O0jQk_eiaIWQVzWJ35Rz","slug":"loyal-spark-register-program-9e501d1e","name":"Loyal Spark Register 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/register-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_c2qI1zgAAGoxDyMWsulNI","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":"Registers a new onchain loyalty rewards program on the Base L2 network via the Loyal Spark protocol","exampleAgentPrompt":"Register a new loyalty rewards program for my coffee shop 'Morning Bloom' on Loyal Spark's onchain protocol — launch it as a branded ERC-20 rewards token on Base so my customers can earn and redeem points.","exampleUseCases":null,"resultDescription":"Returns a JSON object with an 'ok' boolean indicating success and a 'resource' field confirming the 'register-program' action was completed, signifying the loyalty program has been created onchain on Base L2.","failureModes":["Missing required body fields returns a validation error","Invalid body type (not json/form-data/text) causes a 400 error","Payment of $0.01 USDC not included results in 402 Payment Required","Duplicate program registration may return a conflict error","Malformed JSON body causes a parsing error","Network or Base L2 contract failure may result in a 500 error"],"whenToPreferThis":"Use this endpoint when you need to programmatically register a new onchain loyalty rewards program on Base L2 via the Loyal Spark protocol, especially when automating business onboarding workflows with AI agents or integrating loyalty program creation into a larger application pipeline. Prefer this over manual dashboard setup when speed, automation, and API-first integration are priorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:43:39.013Z","isFirstParty":false}