{"uid":"cap_DncCkBR8DoF_3jAxgL9pT","slug":"loyal-spark-program-status-workflow-8d5ce3d3","name":"Loyal Spark - Program Status Workflow","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. On the paid retry send the payment together with header x-api-key: lsk_... or Authorization: Bearer lsk_.... A payment without a live key is not charged. Read key, no browser: POST https://api.loyalspark.online/x402-gateway/register-agent. HTTP 402 is $0.01 USDC on Base. Pay it and do not send an API key. You receive lsk_ once, scope read only: list your programs, rewards, balances, and analytics. That key cannot mint, deploy a program, create rewards, or trade. A new wallet gets a 45-day Pro trial (5 agents, 10,000 calls/month), then Free (1 agent, 200 calls/month, 1,000 tokens minted/month, 1.25% mint fee) unless that wallet pays. The $0.01 is the call price, not a subscription. No free seat returns 403 before any charge. Write scopes (mint, create_program, manage_rewards, trade) use the same plan: dashboard https://loyalspark.online/merchant → AI Agents, or free SIWE — POST https://api.loyalspark.online/siwe-nonce, sign Chain ID 8453 with the exact phrase 'Register Loyal Spark merchant agent', then POST {message, signature, name, scopes} to https://api.loyalspark.online/agent-register-siwe. Look first with no key: GET https://api.loyalspark.online/x402-gateway/public-programs ($0.001, active programs, not your own list). Guide: https://loyalspark.online/.well-known/skills/00-getting-started.md The call is scoped to the wallet behind that key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.","url":"https://api.loyalspark.online/x402-gateway/workflow/program-status?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"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_IlIPadZTjEetWbdHoc_J3","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":"Checks the current status of a loyalty rewards program on the Loyal Spark onchain platform (Base L2)","exampleAgentPrompt":"Can you check the current status of my loyalty rewards program on Loyal Spark — is it active and running on Base?","exampleUseCases":[{"title":"Verify loyalty program launch readiness","prompt":"I just set up my loyalty program on Loyal Spark — can you check whether it's active and ready for customers to start earning rewards?"},{"title":"Monitor onchain rewards program health","prompt":"I want to make sure my branded B20 rewards program on Loyal Spark is still running correctly on Base — can you pull the current program status?"},{"title":"Automate program status check in agent workflow","prompt":"Before sending out reward tokens to my customers, check the status of my loyalty program on Loyal Spark to confirm it's live and accepting transactions."}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating success and a 'resource' field confirming the workflow endpoint path (e.g. workflow/program-status), along with the current status details of the queried loyalty program.","failureModes":["Invalid or missing program identifier in request body returns an error","Program not found or not yet deployed returns a failed status","Malformed request body (wrong bodyType or missing required fields) causes a 400-level error","Payment failure or insufficient USDC balance blocks the x402-gated request","Base L2 node connectivity issues may cause timeouts or unavailable responses"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify that a Loyal Spark loyalty program is active and operational on Base L2 before issuing rewards, onboarding customers, or triggering downstream loyalty workflows. Prefer this over general blockchain explorers when you want a structured, API-level status response tied to Loyal Spark's workflow orchestration layer.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:42:02.314Z","isFirstParty":false,"canonicalSlug":"loyal-spark-program-status-workflow-8d5ce3d3"}