{"uid":"cap_nj5KqZkDM9SDWFPVL-OFI","slug":"loyal-spark-merchant-profile-setup-05d0e6dc","name":"Loyal Spark Merchant Profile Setup","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/merchant-profile","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":"settled","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_xKNc_L84Hft-Jio8hmNVL","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":"Creates or updates a merchant profile on the Loyal Spark onchain loyalty protocol running on Base L2","exampleAgentPrompt":"Set up a merchant profile for my coffee shop 'Morning Bloom' on Loyal Spark so I can start issuing onchain loyalty reward tokens to customers on Base L2.","exampleUseCases":null,"resultDescription":"A JSON object confirming the merchant profile was created or updated, with fields 'ok' (boolean true on success) and 'resource' (string 'merchant-profile' indicating the affected resource type).","failureModes":["Missing required body fields returns validation error","Invalid bodyType enum value causes request rejection","Payment of 0.001 USDC not provided or rejected by x402 gateway blocks request","Malformed JSON body causes 400-level error","Duplicate merchant registration may conflict depending on protocol logic","Network or Base L2 connectivity issues may cause timeout"],"whenToPreferThis":"Use this endpoint when you need to register or update a business identity on the Loyal Spark onchain loyalty protocol specifically, particularly when launching an ERC-20 loyalty rewards program on Base L2 that supports AI agent automation and P2P token trading. Prefer this over generic loyalty SaaS platforms when the use case involves blockchain-native rewards, crypto wallets, and Web3-compatible merchant management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:30:29.823Z","isFirstParty":false}