{"uid":"cap_i_4AZH1xok_SgVqxmWeWd","slug":"loyal-spark-resolve-recipient-d06b08c6","name":"Loyal Spark Resolve Recipient","description":"Loyalty rewards: Resolve a customer email, wallet, or @username to a Base wallet. Full wallet only for your own customers; otherwise masked. Onchain loyalty on Base: brands launch rewards in minutes, customers earn with every purchase, AI agents automate the rest via REST and MCP. Pay-only works: the paying wallet is the caller; API key optional. Scoped t...","url":"https://api.loyalspark.online/x402-gateway/resolve-recipient?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","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_4iWCl1cz0AT80nH_1SWjO","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":"Resolves a recipient identifier to a wallet address or onchain entity within the Loyal Spark loyalty protocol on Base L2.","exampleAgentPrompt":"I need to resolve a recipient in my Loyal Spark loyalty program on Base — can you look up who they are and confirm their wallet address before I send them any B20 reward tokens?","exampleUseCases":[{"title":"Pre-transfer recipient validation","prompt":"Before I send 500 B20 loyalty tokens to a customer in my coffee shop's Loyal Spark program, can you resolve and confirm their recipient wallet address so I don't send to the wrong place?"},{"title":"Onboarding new loyalty member lookup","prompt":"A new customer just joined my Loyal Spark loyalty program — can you resolve their recipient identity on Base so I can confirm their wallet is registered before assigning them a tier?"},{"title":"Agent-automated reward distribution","prompt":"My AI agent is about to distribute end-of-month B20 loyalty rewards on Base — have it resolve each recipient's wallet first using Loyal Spark's resolve-recipient endpoint so we only send to valid addresses."}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating success and a 'resource' field confirming 'resolve-recipient', along with the resolved recipient details such as wallet address or onchain identity for use in subsequent loyalty token operations.","failureModes":["Recipient not found — returns ok: false if the identifier doesn't map to any registered wallet","Invalid query parameters — malformed input may result in a 400-level error","Payment failure — missing or invalid x402 USDC payment header returns 402 Payment Required","Network or Base L2 connectivity issues causing delayed or failed resolution","Rate limiting if too many resolution requests are made in quick succession"],"whenToPreferThis":"Use this endpoint when you need to validate or resolve a recipient's onchain identity before sending B20 loyalty tokens, minting rewards, or executing any loyalty program action on Base L2. It is the correct pre-flight step before any token transfer or reward distribution in the Loyal Spark ecosystem, ensuring you have a valid wallet address. Prefer it over directly attempting a transfer when recipient identity is uncertain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T12:46:48.965Z","isFirstParty":false,"canonicalSlug":"loyal-spark-resolve-recipient-d06b08c6"}